Man pages for rt3
Tic-Tac-Toe Package for R

EMPTYConstant for the empty square. It's value is the character...
firstAvailableMovePlayerPlayer that always takes the first move in the list of valid...
gameStateThe game state is represented by a list of 8 values.
getMovesGet the list of valid move from the game state.
makeMoveApply the move to the current game state an produce a new...
NONEConstant for no winner. It's value is the character "_".
OConstant for the O player.
playGamePlay a game of Tic-Tac-Toe using the two provided stragies.
randomMovePlayerPlayer that picks a random move
rt3rt3: A Package for Playing Tic-Tac-Toe in R.
startGameStart a new game
XConstant for the X player.
rt3 documentation built on May 29, 2017, 8 p.m.