SkillAgentSearch skills...

Sameshi

a ~1200 Elo chess engine that fits within 2KB

Install / Use

/learn @datavorous/Sameshi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

sameshi

Watch Demo Video

A minimal chess engine supporting a constrained subset of the game.

sameshi.h: 1.95 KB

The readable version of the code can be found here.

core

  1. 120 cell mailbox board
  2. negamax search
  3. alpha beta pruning
  4. material only eval
  5. capture first move ordering
  6. full legal move validation (check / mate / stalemate)

[!NOTE] not implemented: castling, en passant, promotion, repetition, 50-move rule.

strength

~1170 Elo (95% CI: 1110-1225)
240 games vs stockfish (1320-1600 levels)
fixed depth 5, constrained rules, max 60 plies.

Related Skills

View on GitHub
GitHub Stars180
CategoryDevelopment
Updated3d ago
Forks8

Languages

C

Security Score

85/100

Audited on Mar 26, 2026

No findings