Dim-state Game 1

Example 1: Start setting State Variables.
We do not update the page programmatically when we click the button. We only update the state variables "enemies" and "friends" in our JavaScript code. The page numbers are updated automatically everywhere.


You have {{{enemies}}} enemies left to kill

You have {{{friends}}} friends left to love

Summary of state:
You have {{{enemies}}} enemies left to kill and {{{friends}}} friends left to love!