Tic-Tac-Toe Package for R
Constant for the empty square. It's value is the character "_".
Player that always takes the first move in the list of valid moves.
The game state is represented by a list of 8 values.
Get the list of valid move from the game state.
Apply the move to the current game state an produce a new game state.
Constant for no winner. It's value is the character "_".
Constant for the O player.
Play a game of Tic-Tac-Toe using the two provided stragies.
Player that picks a random move
rt3: A Package for Playing Tic-Tac-Toe in R.
Start a new game
Constant for the X player.
Play the classic game of tic-tac-toe (naughts and crosses).