A Chess AI bot using the gym-chess environment. Uses the minimax algorithm with Stockfish 16.1's evaluation function.
| 8 | ♜ | ♞ | ♝ | ♛ | ♚ | ♝ | ♞ | ♜ |
| 7 | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ |
| 6 | ||||||||
| 5 | ||||||||
| 4 | ||||||||
| 3 | ||||||||
| 2 | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ |
| 1 | ♖ | ♘ | ♗ | ♕ | ♔ | ♗ | ♘ | ♖ |
| a | b | c | d | e | f | g | h |
Install the module:
pip install -e .Install the required dependencies:
pip install -r requirements.txt
Run gambitAI/gambitAI.py
- Currently only supports bot vs bot
- Execute the aforementioned file to watch a thrilling game between white and black!
- Support will be added for player to choose their color and play against the bot soon