Pyngine
Chess engine written from scratch in Python. Python, Tkinter, UCI. By Ayaan Afridi.
A complete chess program in pure Python with no dependencies: rules, search, a desktop app and a UCI interface for standard chess GUIs.
- Bitboard move generation, iterative-deepening search, a transposition table and quiescence search with pruning.
- Every optimisation is benchmarked against a baseline before it is kept.
- In a 20-game match against Stockfish limited to 1320 Elo, it scored 9 wins, 3 draws and 8 losses.
- Covered by 161 automated tests.
Read the full Pyngine write-up: design, results and benchmarks.
More
Ayaan Afridi's portfolio · Veyra · VFOB · AHL API SDK · Koma