thomasahle/sunfish
A minimal Python chess engine implemented in about 130 lines using traditional search algorithms.

Velocity · 7d
+0.7
★ / day
Trend
→steady
star history
Sunfish is a compact yet competitive chess engine written in Python, implementing minimax search with alpha-beta pruning and a simple UCI interface. It is designed to be small and readable rather than optimized, serving as an educational platform for experimenting with parallel search algorithms, evaluation functions, and as a foundation for developing deep learning chess programs. The project includes a terminal interface for playing against the engine directly.