A simple terminal-based chess game written in Python.
ChessApp/
β
βββ env_ChessApp/ # Virtual environment (excluded from Git)
βββ src/ # Source code
β βββ game.py # Main game logic
β βββ board.py # Board rendering and rules
βββ tests/ # Unit tests
βββ .gitignore
βββ README.md
βββ requirements.txt # Dependencies
- Full chess rules implementation (moves, check, checkmate, stalemate)
- ASCII terminal board display
- Two-player (human vs. human) mode
- Colored output for better clarity
- Python 3.8+
- Virtual environment recommended
git clone https://github.com/your-username/TerminalChess.git
cd TerminalChess
python -m venv env_ChessApp
.\env_ChessApp\Scripts\Activate.ps1 # For PowerShell
pip install -r requirements.txtpython src/game.pypytest tests/This project is licensed under the MIT License β see the LICENSE file for details.
Ziyul
GitHub: @ZNL17