<commit_before>//set width and height variables for game
var width = 780;
var height = 450;
//create game object and initialize the canvas
var game = new Phaser.Game(width, height, Phaser.AUTO, null, {preload: preload, create: create, update: update});

//initialize some variables
var cursors;
var speed = 175;
var square = 30;
var home;
var away;
var playersMap = new Map();
var ball;

// WS
// var wsUri = "ws://mafateg.no-ip.biz:8888/bbarena/match/m/c";
var wsUri = "ws://localhost:8080/bbarena-server/match/m/c";
var websocket;

function onOpen(evt)
{
    doSend('Start');
        writeToScreen("CONNECTED");
}<commit_msg>ws host fix<commit_after>//set width and height variables for game
/*eslint-env browser*/
/*globals Phaser */
var width = 780;
var height = 450;
//create game object and initialize the canvas
var game = new Phaser.Game(width, height, Phaser.AUTO, null, {preload: preload, create: create, update: update});

//initialize some variables
var cursors;
var speed = 175;
var square = 30;
var home;
var away;
var playersMap = new Map();
var ball;
var output;

// WS
// var wsUri = "ws://mafateg.no-ip.biz:8888/bbarena/match/m/c";
var wsUri = "ws://" + location.host + "/bbarena-server/match/m/c";
var websocket;

function onOpen(evt)
{
    doSend('Start');
        writeToScreen("CONNECTED");
}
{'fraction_non_alphanumeric': 0.1461187214611872, 'fraction_numerical': 0.0258751902587519, 'mean_word_length': 4.019083969465649, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3854044', 'n_tokens_mistral': 482, 'n_tokens_neox': 447, 'n_words': 144}