Releases: omar0ali/tictactoe-game-cli
Releases · omar0ali/tictactoe-game-cli
TicTacToe-Game v1.0.1
feat: Change the color of boxes when a win pattern triggers
Full Changelog: v1.0.0...v1.0.1
TicTacToe-Game
TicTacToe CLI Game
A simple terminal-based implementation of the classic TicTacToe game written in Go, using the tcell library for handling terminal graphics and input.
- Implement a window Object (tcell screen), ready to be drawn on the screen.
- Uses
tickerUpdate() iterate over frames. Currently shows FPS top left the screen.
- Uses
- Single Box Object that can be clicked via the mouse button to draw on
XorO. - Set 9 boxes in the middle of the screen.
- Ensure all boxes are centered.
- GridView created and can draw list of boxes.
- The game show who wins the game
XorOat the end of every match.
- Show logs and current Turn. Status (Should be shown on the bottom of screen).
- Need to limit height of the Logs window. Only 5 lines shown.
- After each end of the game, should should a dialog, showing the winner
- Ask player to restart the game or exit.
- Dialog Box added
- Disable dialog windows with
hkey. - Single-player with MiniMax algorithm (will try to implement)
- To use AI, ensure that its player 2 turn and press
akey to start the AI move.
- To use AI, ensure that its player 2 turn and press
