by addcn on 11/13/24, 2:49 PM with 5 comments
A friend and I got hooked and spent the last week and half building out a playable online version of the game. It supports pass n'play, multiplayer, and a primitive bot (named kurt) that you can play against. We're also chess nerds so had to ship with an Elo system.
Huge kudos to nicolodavis[1] and the maintainers of Boardgame.io [2] - it's the only reason we could build something this good, this fast. The library separates concerns and authority across the server / client seamlessly without requiring you to rewrite the logic in multiple places. The abstractions felt right immediately. If you want to build a browser based board game, start here.
Hope this is fun and brings GHQ to more people. We opened source the code if you want to contribute or remix it :)
[0] https://news.ycombinator.com/item?id=41896636
by promichael on 11/13/24, 3:10 PM
by boxed on 11/16/24, 12:12 PM
by boullion on 11/13/24, 3:13 PM
by econometrician on 11/13/24, 3:16 PM