My first completed-ish Python project.
It uses python3 (e.x: python3 tic-tac-toe.py
) to run.
It requires the terminaltables module (pip install terminaltables
) to display the pretty game board.
Things I'd still like to improve:
- GUI interface for the game
- Improve computer strategy (currently the computer selects a random space)
- Break code out into modules (constants, util functions, gameplay functions)
- Refactor larger functions into smaller ones (gamePlay, getHuman/ComputerMove especially)