Lurker News
Show HN: Boardzilla, a framework for making web-based board games

Tldr: We’ve made a framework for web-based board games. You can try out some games over at https://boardzilla.io, or you can take a look at https://docs.boardzilla.io to learn more about how to develop your own game. Source is available at https://github.com/boardzilla
Hey y’all. My brother and I have made a framework for board games. During the pandemic we started to look at BGA but got discouraged by how old-fashioned the tools were and how cumbersome the development process was. We set out to make our own framework where you could use the same code for both the client and server. Our hope is anyone familiar with Typescript and CSS could code up a game without worrying about state management, persistence or networking.
It’s still very much a wip, and we're rapidly adding features and games. But we’ve got our first draft of developer docs done, and we've put up a few games we've developed to showcase and test out the platform. Source for the games and framework is available on Github, and we’re excited to code more games and hopefully encourage other people to try it out. Happy for any feedback.

Comments (105) 22 threads

Earlier comments
iamevn#
Really cool looking! Excited to mess around with this.

Happy to see the everyPlayer[1] flow command to allow for simultaneous actions. This is something that's missing from the other boardgame frameworks I've tried.
[1]: https://docs.boardzilla.io/game/flow#everyplayer

eps2 replies#
All sample games show an error:

  Object.hasOwn is not a function. (In 'Object.hasOwn(e,A.from)', 'Object.hasOwn' is undefined)

  The stack trace is:

  su@https://www.boardzilla.io/build/_shared/chunk-ZEYFFM3P.js:16:114536
  Fs@https://www.boardzilla.io/build/_shared/chunk-QNN53S6I.js:9:128279
  Ch@https://www.boardzilla.io/build/_shared/chunk-QNN53S6I.js:11:180657
  ...
Perhaps put some polyfill in place?
joshbuddy#
Thank you, polyfill incoming!
joshbuddy1 reply#
Polyfill is in place, please let me know if its fixed and thanks
eps#
Yep, seems resolved. Excellent.
lencastre1 reply#
A couple questions: did you get permission from Friese for Funkenschlag? Why Typescript? Any plans to control for players who rage quit, anti-play (in all forms), cheat (two connections from same IP)?

I tried but couldn’t test right away, is this more like BGA or TTS?

andrewghull#
Yes it's like BGA, not TTS.

No, we haven't done much to secure the online playing experience for strangers other than simply enforcing the rules of the game. We've been so far more focused on the API side of building game than the service side of having customers, but these are all on our radar as table stakes to make this an nice experience for random players.

doublerabbit2 replies#
joshbuddy#
Hey Doublerabbit. Thank you for the bug report and stack trace, super helpful.

I'm taking a look at it now. I've got to go to bed soon, but I'll try to fix this as soon as I can.

joshbuddy1 reply#
I think I have a fix deployed now. Please try it again if you have a moment.

Load more comments