Press the right arrow key to go right and the left arrow key to go left. The amount of blocks you have stacked is how many points you have. Once the blocks touch the top however, you lose!
This game is pretty broken. I made it in coding camp who knows how long ago. Most smaller blocks don't work properly, and just clip through other blocks, making them basically just free points.