Tic Tac Toe
Text-based tic-tac-toe game.
if (!require(devtools)) install.packages("devtools") devtools::install_github("pegeler/tic-tac-toe/R")
From the R console:
or from the command line:
Rscript -e "ttt::tic_tac_toe()"
If you enter
computer as a player name, you can play against a bot. Or have
two bots play against each other.