⭕
Tic-Tac-Toe (TylerPear)
Python181 lines· A two-player console Tic-Tac-Toe game. Players enter moves using position codes (TL, TM, TR, ML, MM, MR, BL, BM, BR) and the board is redrawn after…
Original project by @tylerapear — view source on GitHubReady when you are
Tic-Tac-Toe (TylerPear)
A two-player console Tic-Tac-Toe game. Players enter moves using position codes (TL, TM, TR, ML, MM, MR, BL, BM, BR) and the board is redrawn after every turn until someone wins or the game ends in a cat's game.
How to run
python main.py
Dependencies
Standard library only.
Pyodide-runnable
Yes — it is a pure-stdlib console program using input()/print().
tictactoe-tylerpear.py· Python 3.x
193 linesConsole· terminal