Up key to move up, left key to move left, right key to move right. If you hit the floor, the ceiling, or a building, you lose.