---
agent:
  instructions: "Use this search API to find apps, tools and games built with AI across this catalog with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justbuildapps.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://justbuildapps.com/for-agents"
---

# Monochess

> Hey HN, A while back I saw a video\[0\] of people playing chess but using action cards to modify the rules mid-game (skip turns, reverse…

Page: https://justbuildapps.com/app/11485 · Markdown: https://justbuildapps.com/app/11485.md

Hey HN, A while back I saw a video\[0\] of people playing chess but using action cards to modify the rules mid-game (skip turns, reverse, draw 2, etc.). It looked incredibly chaotic and really fun to play, so I decided to actually build it as a playable online game. A small difference in Monochess is there's no need to call out a phrase if you just have one piece. I noticed while testing with the mrs. it became really annoying to keep doing this every move. That also gave me a really good reason to build on Cloudflare using their entire stack, something I've been meaning to get my hands dirty with for quite some time. The app is built using SvelteKit and hosted on Pages, there's a Durable Object worker-backed game server, and D1 as the database layer for accounts/games. This project included: - A Custom Engine: Standard chess engines panic when forced into illegal board states. The engine wraps standard chess logic to allow for mid-turn state changes—handling concepts like rolling back a completed move, processing skip turns, etc. - Custom State Serialization: Standard PGN breaks the moment an action card is played. Monochess uses a custom JSON-based serialization schema that deterministically records both the chess moves and the card actions. This allows the game state to be completely reproducible for history, replays, and validation. - Durable Objects Game Server: Real-time multiplayer is handled entirely on the Edge via Cloudflare Durable Objects. The DO acts as the single source of truth, managing WebSocket connections, verifying actions against the ruleset, handling disconnects, and running the turn timers. - D1 Persistence & Matchmaking: Using Cloudflare D1 to store the serialized game records, manage player authentication, and track ELO via a custom Glicko-2 rating implementation. It's free to play here: https://monochess.pages.dev Would love to hear what you think, or if you manage to find any absolutely broken card/move combos.

## Facts

- Category: Games
- Pricing: not known (check the app's own site)
- Claimed: not yet. The builder hasn't claimed this listing (site: monochess.pages.dev).
- Listed via: https://news.ycombinator.com/item?id=48309054

## Links

- Live app: https://monochess.pages.dev
- On JustBuildApps: https://justbuildapps.com/app/11485

## Built this app?

This listing hasn't been claimed by its builder. Claim it to put it on your JustBuildApps profile with all its details: email automatejobhunt@gmail.com or message https://x.com/justbuildapps for your claim link.

## Alternatives

- [Linex](https://justbuildapps.com/app/8833): Hi HN, I wanted to share a web game I’ve been building in HTML, JavaScript, MySQL, and PHP called LINEX. It is primarily designed and…
- [Presidential Panic: Hormuz Havoc](https://justbuildapps.com/app/8936): I built a satirical browser game to share with friends (Hormuz Havoc: you play an American president managing a crisis in the Middle East…
- [CleoSelene](https://justbuildapps.com/app/8837): Hey folks — here’s a small experiment I hacked together over the weekend: https://cleoselene.com/ In short, it’s a way to build…
- [Pippo — Chess training in your pocket](https://justbuildapps.com/app/9449): I built this because I got tired of Stockfish giving me evaluations (+0.5) without explaining the actual plan. Most opening explorers…
- [Algorithmic Audio Synchronization & Rhythm Charting Desk \| Operational Research & Technical Documentation - Technical Re](https://justbuildapps.com/app/11087): I've been tinkering with a browser-based rhythm game creation tool. The pitch is simple: AI makes the music, Essentia.js figures out the…
