β β TCHESS β β
A beautiful, lightweight chess game that runs entirely in your terminal.
- Beautiful Unicode pieces - Full chess piece symbols (ββββββ)
- Colored board - Alternating light and dark squares
- Full chess rules - Valid move validation for all pieces
- Captured pieces tracker - See all captured pieces at the bottom
- Responsive design - Auto-adjusts to terminal size
- Lightweight - No external dependencies, pure C++
Play chess directly in your terminal with a clean, intuitive interface. The game features:
- Turn-based gameplay (White/Black)
- Move validation for all chess pieces
- Captured piece tracking
- Real-time status messages
# Clone the repository
git clone https://github.com/yourusername/tchess.git
cd tchess
# Compile and run
make rung++ -std=c++11 -o tchess main.cpp board.cpp pieces.cpp display.cpp
./tchess./tchessMoves are entered in algebraic notation format: [from][to]
Examples:
e2e4- Move piece from e2 to e4g1f3- Move knight from g1 to f3e7e5- Move pawn from e7 to e5
- β Pawns: Forward movement (1 or 2 squares from start), diagonal capture
- β Rooks: Horizontal and vertical movement
- β Knights: L-shaped movement (can jump over pieces)
- β Bishops: Diagonal movement
- β Queen: Combination of rook and bishop movement
- β King: One square in any direction
- Color-coded pieces (White: bright, Black: dark)
- Alternating board squares (light gray / brown)
- Turn indicator showing current player
- Status messages for move feedback
- Captured pieces display at the bottom
make # Compile the project
make run # Compile and run
make clean # Remove compiled filesNotSoupCarry
- GitHub: @NotSoupCarry
Enjoy your game of chess! βοΈ
Made with β€οΈ and C++

