Home Projects sunfish
sunfish
Python

sunfish

Sunfish: a Python Chess Engine in 111 lines of code

by thomasahle · GitHub
Stars
Forks
Created
Last commit
Category
Language
aichesschess-aiPython
View on GitHub
In plain words

Play chess against a simple yet strong chess engine written in Python.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
sunfish — GitHub preview card
📈 Star history
3 2613 258
2026-07-072026-08-31
📈 Track sunfish

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Sunfish: a Python Chess Engine in 111 lines of code

sunfish has 3.3k stars on GitHub. It has been forked 582 times. sunfish is written mainly in Python. It has been in active development since 2014. Its main topics are ai, chess, chess-ai, chess-engine.

Frequently asked questions

What is sunfish?

Sunfish: a Python Chess Engine in 111 lines of code

Is sunfish open source?

sunfish is an open-source project.

Is sunfish free?

Yes. sunfish is free and open source — you can use, modify and self-host it.

What language is sunfish written in?

sunfish is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — sunfish

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=thomasahle-sunfish)](https://olud.ai/project/thomasahle-sunfish.html)
More badge options →
🧬 Shares DNA with

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.