*********** Tic-Tac-Toe *********** .. tags:: short, boardgame, game, twoplayer Tic-tac-toe is a classic pencil-and-paper game played on a 3 × 3 grid. Players take turns placing their X or O marks, trying to get three in a row. Most games of tic-tac-toe end in a tie, but it is possible to outsmart your opponent if they’re not careful. .. collapse:: tic-tac-toe.py .. literalinclude:: tic-tac-toe.py :language: python :linenos: https://inventwithpython.com/bigbookpython/project76.html