Creating a complete HTML5 game from scratch using Phaser and TypeScript Part One