From c6099e501a089482f983cf258e67be408e0fcc97 Mon Sep 17 00:00:00 2001 From: Lulox Date: Fri, 12 Jan 2024 11:12:15 -0300 Subject: [PATCH] More small fixes --- packages/hardhat/contracts/TicTacToe.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat/contracts/TicTacToe.sol b/packages/hardhat/contracts/TicTacToe.sol index b5748b9..56f4e2a 100644 --- a/packages/hardhat/contracts/TicTacToe.sol +++ b/packages/hardhat/contracts/TicTacToe.sol @@ -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++;