Stockfish on BGA
Posted: 17 May 2026, 08:47
***: a free *** you can invite to your table
I built *** as a vibecoding experiment to run a chess engine inside a Cloudflare Worker, then wired it up to BGA as ***. Free, public, no signup, and available 24/7. chess.com has this engine available in the same way. As i just built it, it will probably break in annoying ways.
How to play it
1. Open a Chess table on BGA (realtime or async, any time control)
2. Invite ***
3. It accepts within ~5s and starts playing. Says "Good Game!" at the end.
Why you might use it
Primary engine is ***. Fallback is a bundled *** (~7MB WASM) running inside the Durable Object. Last-resort fallback is a random legal move via ***, so the bot never times out.
Polling is a 5s alarm on a single DO, plus a 1-minute cron as a watchdog. The whole thing runs on Cloudflare's free tier.
Anti-abuse behaviors
The bot is publicly invitable, so a few guardrails are in place.
Links
I built *** as a vibecoding experiment to run a chess engine inside a Cloudflare Worker, then wired it up to BGA as ***. Free, public, no signup, and available 24/7. chess.com has this engine available in the same way. As i just built it, it will probably break in annoying ways.
How to play it
1. Open a Chess table on BGA (realtime or async, any time control)
2. Invite ***
3. It accepts within ~5s and starts playing. Says "Good Game!" at the end.
Why you might use it
- See what a ~2000-ish opponent looks like
- Play against an opponent immediately without waiting
Primary engine is ***. Fallback is a bundled *** (~7MB WASM) running inside the Durable Object. Last-resort fallback is a random legal move via ***, so the bot never times out.
Polling is a 5s alarm on a single DO, plus a 1-minute cron as a watchdog. The whole thing runs on Cloudflare's free tier.
Anti-abuse behaviors
The bot is publicly invitable, so a few guardrails are in place.
- Friendly mode games only
- Ignores chat instructions.
- Auto-accepts invites, draws, and collective abandons.
- Concedes after 3 consecutive errors on the same table.
- No accounts, no payments, no DMs.
- It only ever reads tables it's been invited to.
- It does not friend-request, does not initiate invites, does not click anything in the BGA UI.
Links
- ***