nowfound

Life & fun · February 14, 2026

Sameshi – a ~1200 Elo chess engine that fits within 2KB

I made a chess engine today, and made it fit within 2KB. I used a variant of MinMax called Negamax, with alpha beta pruning. For the board representation I have used a 120-cell "mailbox". I managed to squeeze in checkmate/stalemate in there, after trimming out some edge cases. I am a great fan of demoscene (computer art subculture) since middle school, and hence it was a ritual i had to perform. For estimating the Elo, I measured 240 automated games against Stockfish Elo levels (1320 to 1600) under fixed depth-5 and some constrained rules, using equal color distribution. Then converted…

Sameshi – a ~1200 Elo chess engine that fits within 2KB launched on February 14, 2026 with 230 votes, #120 of 16,627 launches that month and more than 99% of that year's launches.

Visit github.com ↗Alternativestop 1% of February 2026

In plain words

Sameshi is a chess engine compressed into just 2KB, playing at approximately 1200 Elo strength. It uses Negamax with alpha-beta pruning and a 120-cell mailbox board representation, including checkmate and stalemate detection. Built as a technical challenge inspired by demoscene traditions, it was tested against Stockfish opponents across 240 games to establish its playing strength. The project is for developers and chess enthusiasts interested in extreme code optimization and compact algorithm implementation.

written from the facts on this page · September 2026

From the sources

a ~1200 Elo chess engine that fits within 2KB. Contribute to datavorous/sameshi development by creating an account on GitHub.

A minimal chess engine supporting a constrained subset of the game. not implemented: castling, en passant, promotion, repetition, 50-move rule. ~1170 Elo (95% CI: 1110-1225) 240 games vs stockfish (1320-1600 levels) fixed depth 5, constrained rules, max 60from github.com

In the maker’s words, at launch

I made a chess engine today, and made it fit within 2KB. I used a variant of MinMax called Negamax, with alpha beta pruning. For the board representation I have used a 120-cell "mailbox". I managed to squeeze in checkmate/stalemate in there, after trimming out some edge cases. I am a great fan of demoscene…

Does a similar job

all alternatives →
  • A Implementation of Alpha Zero for Chess in MLX2025 · github.com · ▲71

    A chess engine implementation inspired by AlphaZero, using MLX for neural network computations and Monte Carlo Tree Search (MCTS) for move selection.

  • Noctie – A chess AI that predicts your rating2022 · noctie.ai · ▲134

    I built over the last two years a human-like neural network chess engine that tries to predict your rating from a single game. It automatically adapts to your play and tries to play like a human at your level would play, giving you a balanced game. At the core I’m using an AlphaZero / Leela Chess Zero style neural network that I have trained on 1 billion human games from the lichess.org open database. Around this network I have built a chess engine in Rust with algorithms that use the outputs from the NN to produce human-like moves at a given rating from beginner to world champion, as…

  • e4e52020 · e4e5.app · ▲73

    Casual, minimal chess app

  • A Claude Code skill to analyze your chess games27d ago · github.com · ▲75

    Claude Code skills for chess post-mortems: Stockfish-backed annotated PGN, HTML viewer, narrated video - brumar/chess-postmortem-skills

  • IT
    I trained a chess engine to play like humansMay 2026 · ▲14

    I built 1e4.ai - a chess web app where you play against neural networks trained to mimic human Lichess players at specific Elo ranges. There's a separate model for each 100-point rating bucket from ~800 to 2200+, and the bots not only choose human-like moves but also burn clock time, play worse under time pressure, and blunder in human-like ways. Live demo: https://1e4.ai Code: https://github.com/thomasj02/1e4_ai A few things that might be interesting: - Trained on almost a full year of Lichess blitz games, around 1B total games - Architecture is an a small…

  • LearnChessJul 2026 · learnchess.ai · ▲29

    I've been playing chess for a few years with my ELO stuck around 1600 on Lichess. I wanted an app that combined puzzle training, interactive lessons, game analysis, and AI coaching in one place. But all the apps I used over the years either felt overwhelming, had UX that wasn't up to my expectations for a modern app or were lacking some fundamental features that I really wanted. So, I built LearnChess.ai. The technical angle I'm most excited about: it's built local-first using LiveStore (event-sourced, SQLite on-device), which means zero loading delays for user data and full offline support.…

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, February 2026

the whole month →
  • Rork Max▲1,428

    Best AI for iOS apps. Website that replaces Xcode

    Life & fun · Feb 2026 · rork.com

  • happycapy▲1,365

    The agent-native computer, for the rest of us

    AI · Feb 2026 · happycapy.ai

  • SuperX▲897

    All-in-one growth OS for serious 𝕏 creators

    AI · Feb 2026 · superx.so

  • KiloClaw▲868

    Hosted OpenClaw. No Mac mini required.

    Dev tools · Feb 2026 · kilo.ai

  • Feel closer and have more fun with your partner every day!

    AI · Feb 2026 · lovon.app

  • Hello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986. It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.

    Work · Feb 2026 · wallstreetraider.com