playGame {rt3} | R Documentation |
Play a game of Tic-Tac-Toe using the two provided stragies.
playGame(px, po)
px |
The X player strategy. |
po |
The O player strategy. |
gameState The final gameState after playing a full game.
px <- firstAvailableMovePlayer
py <- randomMovePlayer
finalGameState <- playGame(px,py)