idk
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
a
|
||||
à
|
||||
abaissa
|
||||
abaissable
|
||||
abaissables
|
||||
|
||||
3
scripts/fixDictionaries.js
Normal file
3
scripts/fixDictionaries.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// fixes dictionary files, removes short words and capitalises them all
|
||||
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
const Logger = require('./logger.js');
|
||||
|
||||
//https://en.wikipedia.org/wiki/Scrabble_letter_distributions
|
||||
|
||||
/*
|
||||
DISTRIBUTIONS OBJECT
|
||||
|
||||
Reference in New Issue
Block a user