train state
using new version of phaser from cdn due to module error