makeMove {rt3} | R Documentation |
Apply the move to the current game state an produce a new game state.
Description
Apply the move to the current game state an produce a new game state.
Usage
makeMove(gameState, move)
Arguments
gameState |
The gameState to apply the move to. |
move |
The move to be applied to the game state. |
Value
gameState The game state after applying the move to the game state.
Examples
gameState <- startGame()
gameState <- makeMove(gameState,1)
[Package rt3 version 0.1.2 Index]