pyBegin / projects / tictactoe-tylerpear

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…

181 linesRunnable

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().