NewsWorld
PredictionsDigestsScorecardTimelinesArticles
NewsWorld
HomePredictionsDigestsScorecardTimelinesArticlesWorldTechnologyPoliticsBusiness
AI-powered predictive news aggregation© 2026 NewsWorld. All rights reserved.
Trending
AlsFebruaryTrumpIranNuclearMajorDane'sResearchElectionCandidateCampaignPartyNewsDigestSundayTimelinePressureOneMilitaryPrivateStrikesGlobalTariffsNation
AlsFebruaryTrumpIranNuclearMajorDane'sResearchElectionCandidateCampaignPartyNewsDigestSundayTimelinePressureOneMilitaryPrivateStrikesGlobalTariffsNation
All Articles
Hacker News
Published 8 days ago

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

Hacker News · Feb 14, 2026 · Collected from RSS

Summary

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 pooled win/draw/loss scores to Elo through some standard logistic formula with binomial 95% confidence interval. Comments URL: https://news.ycombinator.com/item?id=47014500 Points: 143 # Comments: 40

Full Article

Skip to content Navigation Menu AI CODE CREATIONGitHub CopilotWrite better code with AIGitHub SparkBuild and deploy intelligent appsGitHub ModelsManage and compare promptsMCP RegistryNewIntegrate external toolsView all featuresPricing Provide feedback Saved searches Use saved searches to filter your results more quickly Sign up Appearance settings Notifications You must be signed in to change notification settings Fork 2 Star 76 Folders and filesNameNameLast commit messageLast commit dateLatest commitHistory14 Commits.gitignore.gitignoreMakefileMakefileREADME.mdREADME.mdmain.cmain.csameshi.hsameshi.hREADMEsameshi Watch Demo Video A minimal chess engine supporting a constrained subset of the game. sameshi.h: 1.95 KB core 120 cell mailbox board negamax search alpha beta pruning material only eval capture first move ordering full legal move validation (check / mate / stalemate) Notenot 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.


Share this story

Read Original at Hacker News

Related Articles

Hacker Newsabout 3 hours ago
U.S. Cannot Legally Impose Tariffs Using Section 122 of the Trade Act of 1974

Article URL: https://ielp.worldtradelaw.net/2026/01/guest-post-president-trump-cannot-legally-impose-tariffs-using-section-122-of-the-trade-act-of-1974/ Comments URL: https://news.ycombinator.com/item?id=47108538 Points: 48 # Comments: 12

Hacker Newsabout 4 hours ago
Iranian Students Protest as Anger Grows

Article URL: https://www.wsj.com/world/middle-east/iranian-students-protest-as-anger-grows-89a6a44e Comments URL: https://news.ycombinator.com/item?id=47108256 Points: 17 # Comments: 1

Hacker Newsabout 5 hours ago
Japanese Woodblock Print Search

Article URL: https://ukiyo-e.org/ Comments URL: https://news.ycombinator.com/item?id=47107781 Points: 14 # Comments: 3

Hacker Newsabout 6 hours ago
Palantir's secret weapon isn't AI – it's Ontology. An open-source deep dive

Article URL: https://github.com/Leading-AI-IO/palantir-ontology-strategy Comments URL: https://news.ycombinator.com/item?id=47107512 Points: 37 # Comments: 21

Hacker Newsabout 8 hours ago
A Botnet Accidentally Destroyed I2P

Article URL: https://www.sambent.com/a-botnet-accidentally-destroyed-i2p-the-full-story/ Comments URL: https://news.ycombinator.com/item?id=47106985 Points: 32 # Comments: 12

Hacker Newsabout 8 hours ago
How I use Claude Code: Separation of planning and execution

Article URL: https://boristane.com/blog/how-i-use-claude-code/ Comments URL: https://news.ycombinator.com/item?id=47106686 Points: 82 # Comments: 35