username is now correct

This commit is contained in:
ericrius1 2015-11-16 16:13:13 -08:00
parent 0ef37e4996
commit 3e7934767a
2 changed files with 2 additions and 8 deletions

File diff suppressed because one or more lines are too long

View file

@ -17,12 +17,11 @@ Script.include("../libraries/utils.js");
Script.include("../libraries/constants.js");
var gameName = "Kill All The Rats!"
var HOST = "localhost:5000"
// var HOST = "localhost:5000"
var HOST = "desolate-bastion-1742.herokuapp.com";
var socketClient = new WebSocket("ws://" + HOST);
var username = GlobalServices.username;
var username = "rand " + Math.floor(Math.random() * 100);
var currentScore = 0;
// var HOST = "desolate-bastion-1742.herokuapp.com";
function score() {
currentScore++;