Skip to content
Sunfish

Open source alternatives to Sunfish

200 open source apps like Sunfish, closest match first.

Top picks

  1. C

    Command Line Chess

    Launch

    A python program to play chess against an AI in the terminal.

  2. S

    Stockfish.js

    Launch

    stockfish.js is the Stockfish chess engine compiled to JavaScript and WebAssembly with Emscripten, so it can run in a web browser. It is maintained by the lichess.org team, which uses it for local computer analysis on the site. The build ru

  3. S

    Stockfish

    Launch

    Beautiful, powerful chess application. [![Open-Source Software][OSS Icon]](https://github.com/daylen/stockfish-mac) ![Freeware][Freeware Icon]

  4. S

    Sameshi

    Launch

    sameshi is a small chess engine that supports a constrained subset of the game, packed into a single header file of about 1.95 KB. The author describes it as minimal. It uses a 120-cell mailbox board, a negamax search with alpha-beta prunin

  5. P

    Pychess

    Launch

    PyChess - desktop chess client for Linux/Windows/macOS

  6. C

    CLI Chess

    Launch

    A highly customizable way to play chess in your terminal. Play online (via Lichess.org) and offline against the Fairy-Stockfish engine. All Lichess variants are supported.

More like Sunfish

7
R

Reckless

Competitive chess engine written in Rust

Launch
8
V

Viridithas

A superhuman chess engine

Launch
9
W

Wintrchess

WintrChess

Launch
10
C

Chess AI

Play against a powerful opponent

Launch
11
S

Stockfish Mac

Beautiful, powerful chess app for the Mac

Launch
12
P

Pawn Appetit

The Ultimate Chess Toolkit – a modern, open-source, cross-platform GUI to…

Launch
13
L

Lichess Bot

A bridge between Lichess bots and chess engines

Launch
14
C

chesskit.org

Chess website to review games, play

Launch
15
C

Chess Tui

Play chess in any terminal. Rust TUI, Stockfish, Lichess

Launch
16
L

Lila Tablebase

Tablebase server

Launch
17
N

Nibbler

Chess analysis GUI for UCI engines, with extra features for Leela

Launch
18
S

Sanmill

Sanmill is an open-source, UCI-like Mill/Morris/Merrills/Mühle/Malom

Launch
19
F

Fairy-Stockfish

chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess

Launch
20
C

chessmd

ChessMD is a chess game analysis, review and opening explorer tool

Launch
21
L

Lc0

Open source neural network chess engine

Launch
22
P

Patricia

Super aggressive chess engine

Launch
23
B

ButtFish

Effortlessly transmitting Morse Code of chess moves to your butthole

Launch
24
F

Freechess

WintrCat's Game Report

Launch
25
M

Marcizhu

An interactive chess game in a README file!

Launch
26
R

Rustic

Rustic is a chess engine

Launch
27
P

Play-online-chess-with-real-chess-board

Program that enables you to play online chess using real chess boards

Launch
28
C

Coronate

A Swiss-style chess tournament management app

Launch
29
C

CoreCoder

Minimal AI coding agent (~1,000 lines of Python) inspired by Claude Code

Launch
30
C

CameraChessWeb

Record a chess game live and upload the PGN to Lichess

Launch
31
C

Chessencryption

Chess Encryption

Launch
32
L

Listudy

Chess training server

Launch
33
E

En Croissant

The Ultimate Chess Toolkit

Launch
34
K

Kaya

Play, study, and analyze Go — free & open-source app with AI analysis and…

Launch
35
C

Chess Openings

An aggregated data set of chess opening names

Launch
36
A

Android Chess

Chess game for Android

Launch
37
P

Pychess Variants

Chess variants server

Launch
38
M

Mage

XMage - Magic Another Game Engine

Launch
39
S

Snake

Playing the game of snake with AI

Launch
40
M

Maia Chess

Maia is a human-like neural network chess engine trained on millions of human

Launch
41
M

Mantic.sh

A structural code search engine for Al agents

Launch
42
N

Nnue Pytorch

Stockfish NNUE (Chess evaluation) trainer in Pytorch

Launch
43
U

Unofficial Codex App Offline

Unofficial offline / portable repackaging of the OpenAI Codex Windows app

Launch
44
O

OpeningTree

Consolidated view of all your chess games from chess.com, lichess

Launch
45
N

Neural Network Chess

Free Book about Deep-Learning approaches for Chess

Launch
46
C

CM Chessboard

A JavaScript chessboard without dependencies

Launch
47
T

Tetris Game

A Tetris Game with AI

Launch
48
A

AI Gallery

Some interesting AI-generated showcase pages

Launch
49
M

Mobile

Lichess mobile app

Launch
50
S

Snake Game

Terminal-based Snake game

Launch

About Sunfish

S

Sunfish

A Python Chess Engine in 111 lines of code

Sunfish is a simple open-source chess engine written in Python by Thomas Dybdahl Ahle, for teaching purposes. It is released under the GPL. Without the piece-square table data and its simple command-line interface, the engine takes up about 111 lines of code. The engine uses MTD-bi, a binary-search form of MTD(f), inside an iterative deepening search. The evaluation counts piece values and piece-square tables, and the score is updated incrementally when a move is made. It has a command-line interface with a Unicode board, and it speaks the Chess Engine Communication Protocol, so it can play through graphical front ends such as XBoard or PyChess. The name follows the pygmy sunfish, one of the few fish whose name starts with Py. The Chess Programming Wiki page lists its publications, forum postings and the source repository on GitHub. Sunfish is a good starting point for someone who wants to read a small, complete chess engine.

Price
Free
Made by
thomasahle
Category
AI
Website
chessprogramming.org