Add dist/ to .gitignore, and prevent new games from having a broken gameId
This commit is contained in:
parent
e8e982c3d6
commit
e984172918
4 changed files with 3 additions and 614 deletions
|
|
@ -109,7 +109,6 @@ wsClient.onOpen(() => {
|
|||
const playerId = `player-${Math.random().toString(36).substring(2, 9)}`;
|
||||
const joinMessage = {
|
||||
type: 'join_game',
|
||||
gameId: 'some-game-id',
|
||||
playerId: playerId,
|
||||
};
|
||||
wsClient.send(JSON.stringify(joinMessage));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue