Live data from Hacker News

Boardgame.io: State management and more for turn-based games

google.github.io

41–50 of 96 posts

Re: Boardgame.io: State management and more for turn-based games

#41

Earlier quoted context omitted.

Yeah, fifo and temporal updates generally tend to not mix well together.

Airmash uses two websockets and accepts updates from whichever arrives first. It's still fifo, but if one experiences fragmentation the other might be fine. It's an interesting design and I wonder how well it works.

Yeah, I noticed a fair bit of jitter when I was playing it.

It's a nice idea but UDP is really the right solution. Games like SubSpace were doing this back in '97 on 200-400ms connections in a seamless manner.

Re: Boardgame.io: State management and more for turn-based games

#42
post #14

Frame your problem as a game, let AlphaZero take a shot. Now we just need the AlphaZero part.

That kind of deep learning (MCTS) only works if it can play against itself.

Many things require a human in the loop -- judging whether a joke is funny, for instance, or clinical trials or educational apps.

What are some good AI learning things for that?

Re: Boardgame.io: State management and more for turn-based games

#43

Anyone knows why so many non-google product project (with a big disclaimer that this is not google) are hosted on google's github?

Guessing these were made in an employees 20% time or something similar, they felt it would be useful to publish them but not take flak when it has bugs or they don’t actually support it.

Re: Boardgame.io: State management and more for turn-based games

#46
Something similar I did back at uni: https://www.toothycat.net/wiki/wiki.pl?ToothyGDL

This was an exercise in a toy language that was deliberately not Turing complete, yet expressive enough for boardgame rules.

Interesting to see how things have moved on

Re: Boardgame.io: State management and more for turn-based games

#47
post #30

I'd love to explore how this framework can be applied to Nakama ( https://github.com/heroiclabs/nakama ). I'll see if I can find some time to experiment with it over Christmas.

This looks pretty interesting. Could Nakama be used to build a federated, decentralized application (let's say, game world) where each user self-hosts on his own Docker instance?

The way Nakama is designed right now would not lend itself well to a decentralized game world right now. There's another project of ours which will address what you have in mind but not until the new year.

Disclaimer: I work on Nakama. :)

Re: Boardgame.io: State management and more for turn-based games

#48
this is great, the docs/tutorial are pretty clear as well. shameless plug: I made a js library [0] for creating and playing board games a while ago. It allows you to focus on gameplay and logic without worrying about the user interface so much. It allows you to create games like chess [1] and simulations like game of life [2] pretty easily.

[0] https://github.com/danielborowski/jsboard

[1] https://danielborowski.github.io/site/jsboard/demo/demo8/

[2] https://danielborowski.github.io/site/jsboard/demo/demo9/

Re: Boardgame.io: State management and more for turn-based games

#49
This is really cool. I'm working on a mobile app [1] that lets you play social games with your friends over video chat. We built it in React Native and I was envisioning creating something like this to build our games.

We havn't gotten there but are exploring other services for the backend like Nakama [2] and Colyseus [3]. Right now we are just using Firebase for the multiplayer sync and building raw RN components with no library essentially and that's been working pretty good.

I'm gonna look into this library some more, looks promising :)

[1]: http://gameroom.co/ [2]: https://heroiclabs.com/ [3]: https://github.com/gamestdio/colyseus

Re: Boardgame.io: State management and more for turn-based games

#50
post #15

This looks quite similar to Vassal - http://www.vassalengine.org/

I see a Bugzilla tracker, but I can't find the official git repo for Vassal. Would you mind pointing me in the right direction?

Still a Sourceforge project AFAIK: https://sourceforge.net/p/vassalengine/svn/HEAD/tree/
Post reply on HN