Chess, but hexagonal! I picked HexChess back up and turned it into Chex Club, finally putting the chex.club domain I registered for it in 2024 to use. It completes what the original was missing, with the remaining draw rules and two more rulesets (McCooey's and Shafran's next to Gliński's), and adds what I had wanted to build next: a computer opponent at five difficulty levels, and post-game analysis that flags inaccuracies, mistakes and blunders and shows the best move.
Playing a friend still works by sending them a link, and anyone else with the link can watch.
Under the hood, a single chess engine written in Rust is compiled to WebAssembly and runs both in the browser, where it plays as the computer opponent, and on the server. The backend runs on Cloudflare Workers, with Durable Objects keeping both players in sync over WebSockets.
- Rust
- WebAssembly
- Vue
- Cloudflare Workers
- Durable Objects
- WebSockets