A game in javascript HTML 5 Canvas