Add dist/ to .gitignore, and prevent new games from having a broken gameId

This commit is contained in:
sepia 2025-07-15 18:10:22 -05:00
parent e8e982c3d6
commit e984172918
4 changed files with 3 additions and 614 deletions

View file

@ -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));