Skip to content
S

Sameshi

a ~1200 Elo chess engine that fits within 2KB

by datavorousFree

#5691in Utilities
0In stores

Description

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 autho…

Highlights

  • Chess engine in a 2 KB header file
  • Negamax search with alpha-beta pruning
  • Full legal move validation
  • About 1170 Elo in the author's tests
  • Readable version of the code included

Ratings & Reviews

No ratings yet

Be the first to rate Sameshi.

People also visit

S

Stockfish.js

The strong open source chess engine Stockfish compiled to JavaScript

Developer Tools
Launch
S

Sunfish

A Python Chess Engine in 111 lines of code

AI
Launch
W

Wintrchess

WintrChess

Utilities
Launch
S

Stockfish

Beautiful, powerful chess application

Entertainment
Launch
S

Stockfish Mac

Beautiful, powerful chess app for the Mac

Utilities
Launch
B

blunderchess.net

Blunder for your opponent every five moves

Utilities
Launch

Sameshi FAQ

What is sameshi?

A minimal chess engine that supports a constrained subset of the game, packed into a header of about 1.95 KB.

What is left out?

The README lists castling, en passant, promotion, repetition and the 50-move rule as not implemented.

How strong is it?

The author reports about 1170 Elo, with a 95 percent confidence interval of 1110 to 1225, from 240 games against Stockfish.

How does the search work?

It uses negamax search with alpha-beta pruning, a material-only evaluation and capture-first move ordering.

Where is the source?

On GitHub at datavorous/sameshi.

What are the best Sameshi alternatives?

Popular alternatives to Sameshi include Wintrchess, Stockfish Mac and blunderchess.net. See all Sameshi alternatives

Developer Stuff

Badges