This is code for a playable in-terminal Tic Tac Toe game in R. It comes with two modes: two human players and a versus a computer mode. It is possible to have the computer play either of the roles. The AI is programmed with the famous minimax algorithm which chooses the next move by evaluating the current game state and exploring the possible actions.