Nicolo John Davis

Results 99 comments of Nicolo John Davis

Have you considered exporting an ES module in addition to the minified version in the npm? Quite separately, I recently switched to Rollup from Webpack in https://github.com/nicolodavis/boardgame.io/blob/master/rollup.npm.js and saw some...

fly.io might be a suitable alternative. If we can get everything to work on a serverless stack then render.com, Vercel and Netlify become options as well.

Hey! If all you need is a simple thing that activates the AI player in a non networked game, you can just call step() from your client automatically. I believe...

Sorry about not getting back to this thread sooner. Sounds like we have a couple of things that we could do here: #### Singleplayer This is where you have the...

Hi @pardahlman, try using `onMove` instead of a plugin for this. Documentation: https://boardgame.io/documentation/#/api/Game I actually removed support for `afterMove` in the latest plugin rewrite (available in the next release). Is...

@pardahlman @Korla Could you describe in a bit more detail what sort of logic you're trying to decouple and run after the fact?

Yes, at the moment it is feasible to store: 1. The initial game state. 2. The actions taken so far. 3. The latest state (redundant, but still good to have)....

> I assume that this mode will cycle through the players in the play order, with the first player being whoever is next of the current player Yes, that's the...

@will-hart Sorry, I missed this. Will take some time to digest this and get back to you.

[onMove](https://github.com/google/boardgame.io/blob/master/src/core/flow.js#L171) is already calculated on the server side. Does this solve your use-case?