I'm learning javascript, and as usual I try to make a simple game.