rules icon indicating copy to clipboard operation
rules copied to clipboard

Add PreUpdateBoard to the Map Interface

Open coreyja opened this issue 3 years ago • 1 comments

One of the issues that we've seen is that its harder to design maps since you only can make changes AFTER the normal game logic is applied.

Here we add a method to the interface (and a map to test it) that allows maps to hook into the editor before the moves are applied.

This is useful if you want to spawn a hazard or food, and want to see it take effect in the same turn

This PR is here mostly for discussion, not that we are tried to this specific implementation at all. I can also open a Discussion item if thats where we wanted to centralize convos

Co-authored-by: JonathanArns [email protected]

coreyja avatar Aug 07 '22 19:08 coreyja

I have opened a discussion on the topic here.

JonathanArns avatar Aug 11 '22 21:08 JonathanArns