Wiki › Project

XO

Article
From Chaipat's knowledge graph

XO is tic-tac-toe in the terminal, written in Python. The human plays X and picks squares by number, 0 to 8, and a computer player plays O. Unit tests cover the game logic, and a shell script simulates whole games automatically.

See also