KnightMare is a command-line C++ chess engine that lets you play against an AI opponent of adjustable difficulty.
All gameplay happens in the terminal using standard chess notation, making it lightweight and less crowded.
- Command-line chess engine (CLI)
- Standard chess rules: moves, turn-taking, check/checkmate detection
- Input moves using algebraic notation (e.g.,
e2e4,g1f3) - Adjustable AI difficulty levels:
- Low โ 400 ELO (random/legal moves)
- Mid-Low โ 600 ELO
- High โ 800 ELO
- Extreme โ 1000 ELO
- Modular design for easy expansion (AI improvements, move history)
- A C++17-compatible compiler (e.g.
g++) - Your platform's build tool:
- Windows: Git Bash +
build.bat - Linux/macOS:
make
- Windows: Git Bash +