1. Test and evaluate the core gameplay loop. Show it to other users and gather early feedback.
2. (If this was a compo game) Have something that can be submitted at any time, in case I can't finish the game for any reason.
Destructible terrain!
It's a one-line change in the code, and I love how it illustrates the power of ECS and the idea of composing smalls bits of functionality.
In the next session, I'll work on storing the number of items collected so far and displaying it in the UI.
github.com/stasm/innerself
window.$ = dispatch.bind(null, game);
It allows the HTML produced by sys_ui to dispatch actions in order to mutate the state of the game. There's no encapsulation here; $ can be called by the user if they really want to.