rules
rules copied to clipboard
Add PreUpdateBoard to the Map Interface
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]
I have opened a discussion on the topic here.