Tic-tac-toe on the command line