A very basic two player c++ TUI chess game implementation.
- Use numpad for directions with 5 as enter or select square
7 8 9 ↖ ↑ ↗ 4 5 6 ← ⏎ → 1 2 3 ↙ ↓ ↘
- Alternatively for player 2, t for toggle two control mode
q w e ↖ ↑ ↗ a s d f ← ↓ → ⏎ z c ↙ ↘
- u and i to undo and redo the moves
- h for help
- r for redraw or reload
- supports all the basic rules like castling, en-passant etc properly.
- move log implementation with the ability to undo and redo and prune move tree
- two player keyboard support
- PVE support with different difficulty level
- save and load games on standard file format
- local leaderboard
- Train AI chess-bots with recursive move searches
Visual Studio 2022 community version with g++ and MSVC compiler.
Please use! Windows Terminal for proper Text rendering. Then, You can Download the Latest Release and test it.
Not supported yet :(
ik this project is kinda mess ngl. I wrote it on whim for college side project within 2-3 days. I will probably rewrite this in more cross-platform friendly environment. I might try rust idk. Anyway I did had blast coming up with the strategies for generating possible moves for given piece at any given scenario and realizing a hilarious bug.