Skip to content

Commit

Permalink
don't log state in client
Browse files Browse the repository at this point in the history
  • Loading branch information
Loomie committed Jul 29, 2023
1 parent 2b580a6 commit cb838c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Bugs
====

- don't log state in (client) console
- first round should not be guessable for other team
- reset code on round start (empty ui dropdowns)
- end game for both encryption games/teams
Expand All @@ -17,7 +16,6 @@ Features
========

- display name of team instead of "enemy team"
- Version number
- limit rounds, "sudden death"
- display numbers 1 to 4 for the keywords
- free text input for key words of other team to collect own hints
Expand Down
2 changes: 1 addition & 1 deletion logic.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ createApp({
data.visibleTeamId = data.myTeamId
})
socket.on('initGame', (gameData) => {
console.info(`received game data ${JSON.stringify(gameData)}`)
//console.info(`received game data ${JSON.stringify(gameData)}`)
data.updateState(gameData)
})
socket.on('guess changed', (forTeamId, team1Guess, team2Guess) => {
Expand Down

0 comments on commit cb838c9

Please sign in to comment.