basic chess game implementation using coffee script and Phaser