Chris Swithinbank

Results 237 comments of Chris Swithinbank

That sounds OK in principle 🙂 When you run into this problem, do all three players have the issue or just one of them? Can you access your server logs?...

I think this was a quick and pragmatic decision made to get the AI feature shipped, which we should definitely improve upon. The step method in the client was retired...

Great! Let me know if you have any questions.

@sparr posted this related feature request in #635: > I want to be able to annotate a move in some way, in my game definition, that will provide feedback to...

I think that approach you outlined in #636 is definitely one possibility. At the moment we probably need to address #592 first to establish a standard way for the game...

Seems like a thorough overview. Couple of additional thoughts: - Any API should account for moves that don’t require any parameters. I suppose returning `[[]]` from `possibleParameters` would work, but...

> some way of returning a reason for a move being not available That's true. I wonder then if it should *just* indicate what moves are available in the current...

I personally don’t mind overly the fact that `props.state` is similar to the React naming convention. It’s most confusing in class components where you could have `this.state` and `props.state`, but...

Another question around the interface for plugins on the client: Currently state is available at `plugins[name].data`, which mirrors the data/api distinction of plugins, but if we’re _not_ going to combine...

Do you mean that it is missing the Typescript type or do you get an error when accessing the custom plug-in? It is possible we only add plugins to `ctx`...