makeMove {rt3} | R Documentation |
Apply the move to the current game state an produce a new game state.
makeMove(gameState, move)
gameState |
The gameState to apply the move to. |
move |
The move to be applied to the game state. |
gameState The game state after applying the move to the game state.
gameState <- startGame() gameState <- makeMove(gameState,1)