Waiting the 80 seconds on a new game every time I test is slightly irritating, so now let's get serialization, and thus the ability to save and load built.
Transformers of Resources are the things that can be enabled or disabled and then either consume, generate, or both a set of resources atomically. Time to write them.
Today I'm going to make this actually do something now, thus actions and buttons!
It is now time to design the application itself and this will be done by following a type-driven design, where we design the types first before writing the code that transforms the data between the types.
In this part let's come up with a simple format of how the game should look and act while writing out the start of the view.
I've been meaning to make a more comprehensive bucklescript-tea tutorial / example project for a while, and I had an older one partially done but it is a bit out of date now so I've decide to make one anew instead, and to facilitate this I've decided to make a game. Right now most of the 'reference information' about bucklescript-tea is identical to Elm's documentation, so seeing the real-world use of it would be more generically useful.