Build instructions are simple. Just clone this repo and open the index.html page in your browser (only tested on Google Chrome).
There are 4 algorithms ->
- random: Picks a random move using chess.js library
- look-one-ahead: Adds board evaluation, can pick the current best move.
- minimax: Adds the minimax algorithm, you can find more about it by googling.
- alpha-beta: Improves the minimax algo by pruning the search space.
- chessboard.js library for board generation
- chess.js library for move generation
- Guide by Lauri Hartikka
- Deploy online.
- Improve board evaluation to take into account not just piece value, but also its position.