A simple terminal-based Tic-Tac-Toe game where two players can play together. The game is designed to be played in a terminal.
- Two-player gameplay
- Real-time input handling
- Visual representation of the game board
- Color-coded turns (Green for active player, Red for inactive player)
- Simple and intuitive controls
- Player 1 (P1) uses the
WASD
keys to move and theG
key to place their symbol (X
). - Player 2 (P2) uses the arrow keys to move and the
.
(period) key to place their symbol (O
).
-
P1 Controls:
w
- Move Upa
- Move Lefts
- Move Downd
- Move Rightg
- Place Symbol
-
P2 Controls:
↑
- Move Up←
- Move Left↓
- Move Down→
- Move Right.
- Place Symbol
-
General:
Q
- Quit the game
- Clone it:
git clone https://github.com/Abishevs/TicTacToa.git
cd TicTacToa/
- Compile And Run
make
./build/tictactoa
Into ~/.local/bin
make install
tictactoa
make uninstall
Designed by Eduards Abisevs