This Project is an AI made using native Javascript. The AI uses the minimax alogrithm with alpha beta pruning to quickly and accurately predict the best moves
- How to create a fast and performant AI from scratch
- Initializing a board by using a FEN string
- How to include moves such as en passant and castling
- Store moves as bits
- Struggled finding a performant, but also accurate method of determing moves
You will play as white, the AI will play as black. Select a piece and select the position you want to move it to.
- Red squares are pieces you can capture
- Grey circles are place that piece can move to