Update most references from 'tron' to 'liberty bikes'

This commit is contained in:
Andrew Guibert 2017-12-15 20:50:03 -06:00
parent f89a59e2b4
commit eb1d0cc9be
7 changed files with 19 additions and 22 deletions

View File

@ -28,7 +28,7 @@ ext {
liberty {
server {
name = 'tronServer'
name = 'libertybikes.game'
dropins = [war]
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
}
@ -36,19 +36,16 @@ liberty {
libertyStart.dependsOn 'libertyStop'
libertyRun.dependsOn 'libertyStop'
libertyStart.doLast {
println "Application available at: http://localhost:${httpPort}/"
}
task openBrowser {
description = 'Opens a web browser to http://localhost:${httpPort}/'
// Some convenience tasks
task run { dependsOn 'libertyRun' }
task start { dependsOn 'libertyStart' }
task stop { dependsOn 'libertyStop' }
task open {
doLast {
java.awt.Desktop.desktop.browse "http://localhost:${httpPort}/".toURI()
}
}
gradle.taskGraph.whenReady { graph ->
if (graph.hasTask(":libertyStart")) {
libertyStart.doLast {
println ("Application is running on http://localhost:${httpPort}/")
}
}
}

View File

@ -1,7 +1,7 @@
/**
*
*/
package coms319.group10.project4.whiteboard;
package org.libertybikes.game.core;
import java.util.Arrays;
import java.util.Collections;
@ -13,7 +13,7 @@ import javax.json.Json;
import javax.json.JsonArrayBuilder;
import javax.json.JsonObject;
import coms319.group10.project4.whiteboard.Player.STATUS;
import org.libertybikes.game.core.Player.STATUS;
/**
* @author Andrew

View File

@ -1,7 +1,7 @@
/**
*
*/
package coms319.group10.project4.whiteboard;
package org.libertybikes.game.core;
import java.io.IOException;

View File

@ -1,11 +1,11 @@
/**
*
*/
package coms319.group10.project4.whiteboard;
package org.libertybikes.game.core;
import javax.websocket.Session;
import coms319.group10.project4.whiteboard.Player.DIRECTION;
import org.libertybikes.game.core.Player.DIRECTION;
/**
* @author Andrew

View File

@ -1,4 +1,4 @@
package coms319.group10.project4.whiteboard;
package org.libertybikes.game.core;
import java.io.IOException;
import java.io.StringReader;

View File

@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Web Based Tron</title>
<title>Liberty Bikes</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
</head>
@ -11,7 +11,7 @@
<br><br><br>
<div class="col-md-offset-2 col-md-7">
<div class="panel panel-primary">
<div class="panel-heading"><h1>Web Based Tron</h1></div>
<div class="panel-heading"><h1>Liberty Bikes</h1></div>
<div class="panel-body">
<div class="col-md-8" style="display:inline-block">
<canvas id="myCanvas" width="600" height="600" style="border:1px solid #000000; background:url('images/tron_floor.jpg')"></canvas><br><br>

View File

@ -4,12 +4,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tron</title>
<title>Liberty Bikes</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
</head>
<body>
<h1>Tron Login</h1>
<h1>Liberty Bikes</h1>
<div class="col-md-offset-1">
Enter Username:
<input type="text" id="username" name="username"></input>