Skip to content

Commit

Permalink
More small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Jan 12, 2024
1 parent 8873264 commit c6099e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat/contracts/TicTacToe.sol
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ contract TicTacToe {
// Determine the current Player symbol
// 1 is player1, 2 is player2
uint8 playerSymbol = games[_gameId].moves % 2 == 0 ? 1 : 2;
// Add the corresponding mark in the position of the board
// Add the corresponding mark in the position of the game board
games[_gameId].board[position] = playerSymbol;
// And add 1 to the number of moves made in the game
games[_gameId].moves++;
Expand Down

0 comments on commit c6099e5

Please sign in to comment.