Rdocumentation
powered by
Learn R Programming
rt3 (version 0.1.2)
startGame: Start a new game
Description
This function starts a new game. It randomly assigns a starting player and returns a new game state object.
Usage
startGame()
Arguments
Value
gameState A new
gameState
.
Examples
Run this code
gameState <- startGame()
Run the code above in your browser using
DataLab