HTML5 RPG Chess Game