Repo: https://github.com/Azzla/chess-engine
Download Release Build: https://github.com/Azzla/chess-engine/r ... hazzla.zip
This was really a fun and interesting challenge. Here are some of the features included at the moment in the engine:
- Alpha/Beta Negamax Search
- Quiescence Search
- Iterative Deepening + Principal Variation
- Move-Ordering
- Piece-Square + Mop-Up Eval Bonus
- Perft Testing Suite
- Multi-Threading
- Zobrist Hashing
- Transposition Table
- Search Extensions
- Bitboard Move Generation (possible in LuaJIT with FFI+BitOp maybe?)
The code is a huge mess and needs desperately to be cleaned up, but well, I was just excited to finally have a working and bug-free version of the engine. Move generation was extensively tested via this perft testing suite up to a depth of 6; there shouldn't be any illegal moves possible, nor edge-case positions where the game breaks.
My ultimate goal was to have the engine defeat me most of the time. At the moment it can beat me something like 80-90% of the time!