Skip to content

ZNL17/ChessApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧠 PythonChess

A simple terminal-based chess game written in Python.

πŸ“ Project Structure

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

πŸš€ Features

  • Full chess rules implementation (moves, check, checkmate, stalemate)
  • ASCII terminal board display
  • Two-player (human vs. human) mode
  • Colored output for better clarity

βœ… Requirements

  • Python 3.8+
  • Virtual environment recommended

βš™οΈ Installation

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.txt

πŸ•ΉοΈ Running the Game

python src/game.py

πŸ§ͺ Running Tests

pytest tests/

πŸ“„ License

This project is licensed under the MIT License – see the LICENSE file for details.

πŸ™‹ Author

Ziyul
GitHub: @ZNL17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages