All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Sameshi: A 2KB Chess Engine Achieving ~1200 Elo Rating

By

datavorous_

3mo ago· 1 min readenCode

Summary

Sameshi is a minimal chess engine that fits within 2KB of code, achieving approximately 1200 Elo rating despite its small size. The engine implements core chess functionality including negamax search, alpha-beta pruning, and material-only evaluation, but omits advanced features like castling, en passant, and promotion. It was tested against Stockfish at various levels, playing 240 games with fixed depth 5 search and constrained rules.

Key quotes

· 4 pulled
A minimal chess engine supporting a constrained subset of the game.
sameshi.h: 1.95 KB
~1170 Elo (95% CI: 1110-1225)
Notenot implemented: castling, en passant, promotion, repetition, 50-move rule.
Snippet from the RSS feed
a ~1200 Elo chess engine that fits within 2KB. Contribute to datavorous/sameshi development by creating an account on GitHub.

You might also wanna read