JordyMoos / elm-pixel-boulder-game

Pixel Boulder Game in Elm
https://jordymoos.github.io/elm-pixel-boulder-game/?startLevel=official%2F001&hideDebug=1
MIT License
41 stars 6 forks source link

Be able to stop/start game of life #128

Open JordyMoos opened 6 years ago

JordyMoos commented 6 years ago

Would be cool if a third entity, controlled by the player can start and stop the activeness of game of life. And also be able to spawn new alive cells (to change the world).

Need to do something with events here. And also the player needs to be in a "prioritized" update list so he can control the toggle before half of the cells already did their tick.

Or maybe better. He just spawns an event, that gets handled after the normal update. And will setup stuff for the next update loop.