GitHub - thomasahle/sunfish: Sunfish: a Python Chess Engine in 111 lines of code
"Sunfish is a simple, but strong chess engine, written in Python, mostly for teaching purposes. Without tables and its simple interface, it takes up just 111 lines of code! (see compressed.py) Yet it plays at ratings above 2000 at Lichess.Because Sunfish is small and strives to be simple, the code provides a great platform for experimenting. People have used it for testing parallel search algorithms, experimenting with evaluation functions, and developing deep learning chess programs."
My move: g8f6
8 ♖ ♘ ♗ ♕ ♔ ♗ · ♖
7 ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
6 · · · · · ♘ · ·
5 · · · · · · · ·
4 · · · · ♟ · · ·
3 · · · · · · · ·
2 ♟ ♟ ♟ ♟ · ♟ ♟ ♟
1 ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
a b c d e f g h
Your move:
Python: Sunfish chess engine (PDF)
Sunfish - Chessprogramming wiki
Author: Thomas Dybdahl Ahle | LinkedIn
"Thomas Dybdahl Ahle is a Post Doctoral Researcher at the Basic Algorithms Research group (BARC) in Copenhagen. He is an expert in the analysis of very large datasets and related optimization and infrastructural problems. Thomas has a PhD in Computer Science from Copenhagen and a Bachelor of Arts from the University of Oxford."chess-engine · GitHub Topics · GitHub
Building My Own Chess Engine — Andrew Healey
To build healeycodes/andoma, I used the following resources (and recommend all of them).
- Chess Programming Wiki — an incredible wealth of knowledge exists here. I spent hours reading through intermediate and advanced concepts just for fun
- Algorithms Explained – minimax and alpha-beta pruning — Sebastian Lague’s breakdowns of algorithms are very approachable and this one is no different
- A step-by-step guide to building a simple chess AI — this JavaScript-based tutorial introduces concepts with explicit code snippets. The source code of the final solution is quite readable too
- thomasahle/sunfish — a simple, feature complete engine to learn from
- zserge/carnatus — a clone of sunfish in Go