Phaser.js tutorial

Step 18: Add player health and display it