Nicolo John Davis

Results 99 comments of Nicolo John Davis

@Stefan-Hanke In the last paragraph, I wanted to highlight that enumerating valid moves is relevant to both UI and AI, and if we do any work in this direction, it...

One thing that could be confusing about this is that `state` means something in React, so `props.state` is confusing. We'd have to rename it to something like `gameState`, which could...

Just collecting the ideas we have so far: #### Default stats that we export if no configuration is passed ```js const stats = Simulate(game); ``` 1. Minimum, maximum and average...

> I think the return object from Simulate should include the final game state {G, ctx} along with the stats object. Yep, I agree that we should return an object...

Hey @joepinion, that's great! Do note that we're planning to rewrite the lobby frontend from scratch using Svelte (so that it isn't tied to React), so try not to make...

Yes, a simple timeout would also work (probably not necessary to record anything in `ctx`).

@akaguny Yes, let's start simple with something similar to `movesPerTurn` and expand it later. Will take a look at your PR. Thanks for working on this!

@akaguny is busy right now, so feel free to take it.

My thoughts on how this should be implemented: - At the beginning of the turn, call a `setTimeout` that results in the server sending an `endTurn` event to itself. This...

I'm open to having a: ``` flow: { tickDelay: 1, onTick(G, ctx) { ... } } ``` that's called at a configured frequency. We can launch it as an experimental...