Hacker News

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

\u003ch2\u003eShow HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB\u003c/h2\u003e \u003cp\u003eThis Hacker News "Show HN" post presents an innovative project or tool created by developers for the community. The submission represents technical innovation and problem-solving in action.\...

4 min read Via github.com

Mewayz Team

Editorial Team

Hacker News
\u003ch2\u003eShow HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB\u003c/h2\u003e \u003cp\u003eThis Hacker News "Show HN" post presents an innovative project or tool created by developers for the community. The submission represents technical innovation and problem-solving in action.\u003c/p\u003e \u003ch3\u003eProject Highlights\u003c/h3\u003e \u003cp\u003eKey aspects that make this project noteworthy:\u003c/p\u003e \u003cul\u003e \u003cli\u003eOpen-source approach promoting collaboration\u003c/li\u003e \u003cli\u003ePractical solution to real-world problems\u003c/li\u003e \u003cli\u003eTechnical innovation in software development\u003c/li\u003e \u003cli\u003eCommunity engagement and feedback-driven improvement\u003c/li\u003e \u003c/ul\u003e \u003ch3\u003eTechnical Significance\u003c/h3\u003e \u003cp\u003eThis type of project demonstrates the power of community-driven development and the continuous evolution of technical solutions through collaborative efforts.\u003c/p\u003e

Frequently Asked Questions

What is Sameshi and how does it work?

Sameshi is a minimalist chess engine that achieves approximately 1200 Elo rating while fitting entirely within 2KB of code. It demonstrates that clever algorithms and efficient coding techniques can produce a competent chess opponent without requiring massive computational resources. The project showcases how constraint-driven development can lead to remarkably elegant solutions in game AI.

How strong is a 1200 Elo chess engine?

A 1200 Elo rating places Sameshi at a solid beginner-to-intermediate level, roughly equivalent to a casual club player. It can handle fundamental tactics, basic openings, and simple endgames. This makes it an ideal sparring partner for newer players looking to improve. For developers exploring AI projects like this, Mewayz offers 207 ready-made modules at $19/mo to accelerate your own builds.

Why is fitting a chess engine in 2KB impressive?

Modern chess engines like Stockfish use hundreds of megabytes for evaluation tables alone. Compressing a functional engine into 2KB means every single byte must serve a purpose — no wasted space for libraries, verbose logic, or lookup tables. The developer had to employ extreme code golf techniques, bitwise operations, and minimal evaluation functions to achieve playable chess within such a tight constraint.

Can I build my own AI-powered project inspired by Sameshi?

Absolutely. Sameshi proves that ambitious technical projects are achievable with the right approach. If you're inspired to build your own AI tools, games, or web applications, platforms like Mewayz can dramatically speed up development. With 207 pre-built modules covering everything from UI components to backend logic — all available for $19/mo — you can focus on your core innovation rather than reinventing the wheel.

All Your Business Tools in One Place

Stop juggling multiple apps. Mewayz combines 207 tools for just $19/month — from inventory to HR, booking to analytics. No credit card required to start.

Try Mewayz Free →

Try Mewayz Free

All-in-one platform for CRM, invoicing, projects, HR & more. No credit card required.

Start managing your business smarter today

Join 30,000+ businesses. Free forever plan · No credit card required.

Ready to put this into practice?

Join 30,000+ businesses using Mewayz. Free forever plan — no credit card required.

Start Free Trial →

Ready to take action?

Start your free Mewayz trial today

All-in-one business platform. No credit card required.

Start Free →

14-day free trial · No credit card · Cancel anytime