This commit is contained in:
Ben Kyd
2021-04-14 00:10:50 +01:00
parent 7b24fb32c6
commit 0282337c4c
5 changed files with 11 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ function initMultiplayer()
socket.on('identify', (...args) => {
ConnectionState.innerHTML = 'Identify recived'
if (!sessionStorage.user)
if (!sessionStorage.user)
{
socket.disconnect();
ConnectionState.innerHTML = 'Identify cannot proceed, no user';

View File

@@ -1,5 +1,3 @@
a
à
abaissa
abaissable
abaissables

View File

@@ -0,0 +1,3 @@
// fixes dictionary files, removes short words and capitalises them all

View File

@@ -10,7 +10,12 @@ GAME OBJECT
// reference UID
lobbyuid: uid,
locale: en,
players: [{uid, name, activetiles, score}],
players: [{
uid: uid,
name: username,
activetiles: [],
score: int
}],
// index of players
turn: int,
tilebag: []
@@ -51,7 +56,6 @@ function StartGame(lobby)
tilebag: tilebag
};
return ActiveGames[lobby.uid];
}

View File

@@ -1,6 +1,7 @@
const Logger = require('./logger.js');
//https://en.wikipedia.org/wiki/Scrabble_letter_distributions
/*
DISTRIBUTIONS OBJECT