BSEngine
- 6 Devlogs
- 11 Total hours
Chess board and engine in kotlin
Chess board and engine in kotlin
Long time no see
I added a transposition table and zobrist hashing, which makes the engine way faster
Added evaluation tables. Refactored board and move logic. Fixed a ton of bugs. Made the evaluation better. I have to fix performance next
Implemented a very basic engine using negamax with alpha beta pruning, it loses to stockfish in 29 moves
I made a function to load positions from FEN notation, i improved my tests using some engine test positions and fixed a bug where if you captured a piece and promoted your pawn at the same time you would be forced to a queen
Did legal move finding(thanks to Sebastian Lague’s video), it calculates the number of possible positions correctly to depth 6. Video is a bot playing random moves
I created a basic board and made moving, right now there is no checks for legal moves