add/remove comments

This commit is contained in:
Thorsten Rausch 2021-06-18 13:27:53 +02:00
parent 0e4fd19933
commit 81782cdd25
2 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,6 @@ class Player {
move_by(amount) {
this.position += amount;
//todo: move by 1 only on the last 3 fields
}
}

View File

@ -145,6 +145,7 @@ io.on('connection', socket => {
switch (game[socket.room].currentStatus) {
case Game.STATUS.IS_WON:
//TODO show clients the winner
//game[socket.room].winnerIndex
break;
case Game.STATUS.IS_DRAW:
//TODO show clients that nobody wins