style="color:#00f">let</span> game = <span style="color:#00f">new</span> Game(config);

<span style="color:#008000">// Create is called once, at startup. Use this function to
</span><span style="color:#008000">// initialise variables etc
</span><span style="color:#008000"></span><span style="color:#00f">function</span> create(game: Game) {}

<span style="color:#008000">// Update is called on each iteration of the game
</span><span style="color:#008000"></span><span style="color:#00f">function</span> update(