Sameshi
github.com · Open source · Maintained
Chess engine in C that fits within 2KB
- Games & fun
- Open source
- C
- Day-7 check
- Day-30 check
- Stars
- 202
- Forks
- 9
- Open issues
- 0
- Last commit
- Found
- 9 months ago
GitHub figures as of . They are context, not a ranking.
Sameshi is a chess engine written in C that fits within 2KB, using negamax with alpha-beta pruning and a 120-cell mailbox board. The maker estimates about 1200 Elo from 240 automated games against Stockfish levels, and it suits programmers interested in very small programs.
Repository description on GitHub: “a ~1200 Elo chess engine that fits within 2KB”
What it does
- Full legal move validation including check, mate and stalemate
- Negamax search with alpha-beta pruning
- 120-cell mailbox board representation
- Source fits in under 2 KB
Good for
- Study how a minimal chess engine fits in 2 KB
- Learn negamax and alpha-beta pruning from working C code
Suits: Programmers interested in very small programs and demoscene-style code.
Worth knowing: Lacks castling, en passant, promotion, repetition and 50-move rules.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw Sameshi on , when datavorous_ posted it to Show HN. GitHub listed no published releases for datavorous/sameshi when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 230 points, 69 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 230 points, 69 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: datavorous/sameshi
- Found: datavorous_ posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was Sameshi released?
- No dated release record is available. Kip found it on Show HN on 14 Feb 2026.
- Is Sameshi open source?
- Its source is public on GitHub at datavorous/sameshi; check the repository for licence terms.
- Is Sameshi free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is Sameshi still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | datavorous/sameshi REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47014500. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.