Build a CLI tic-tac-toe game in Python with an unbeatable...
A public project built with the Lightcap AI agent by anon-1c24 — open to read, run, fork, and export. Updated .
Prompt
Build a CLI tic-tac-toe game in Python with an unbeatable AI, then run it.
Lightcap
The Python CLI tic‑tac‑toe game with an unbeatable minimax AI has been written to tic_tac_toe.py and executed, showing correct gameplay and AI victory when appropriate.
The game runs in the terminal, prompts the human player for moves, and the AI always selects optimal moves.