- use
python -m pydoc -w tic_tac_toe
to generate documentation if required
- easy level - maximum score - just compare score and give answer - implementation done
- smart level - winner if 3 in a row - game needs to be early over - Implementation done
- Rename to Ultimate Tic tac toe
- Add a 3x3 prototype
- Document the prototype
- Refer books, gain more pygame knowledge
- Define rules for new extended version
- Define data structure
- Start coding
- Implement User
- Graphics prototype
- small box win
- winning Line graphics
- Big win implementation
-
Big win lineBig Win color - Tie Detection
- difficulty - easy and smart
- Handle Key Presses
- Press
Esc
to quit the application - Press
ctrl + N
to restart the game
- Press
- modify score card
- Player 1 ( X )
- Player 2 ( O )
- Tie
- Winner is Player 1 ( X )
- Winner is Player 2 ( O )
- Font change maybe
- space out a little
- Implement computer move
- random
- AI
- Refactor 'O' to Omark & 'X' to Xmark at all places
- Setup Proper color scheme
- Make more screens
- Welcome screen
- Choose Single Player (against AI) or Two Player
- single game
vs tournament (keeping track of multiple games) - win streak
- Exit bye bye screeen
- Document code ( check out sphinx ) & clean up comments & Brush up code PEP8 style
- Document complete game loop
- Bundle up for release
- Upload to pygame store
- In scoreboard, with each win,
tie = 0
becomestie = 0))
. IDK why, gotta inspect
- ALso a possible data structure,, but will need to redefine my entire logic of finding coordinates,
theBoard = {'top-L': 'O', 'top-M': 'O', 'top-R': 'O',
'mid-L': 'X', 'mid-M': 'X', 'mid-R': ' ',
'low-L': ' ', 'low-M': ' ', 'low-R': 'X'}