Avoid obstacles. Use left and right arrow keys + space. If you die, you might have to hold down the right arrow key before the block will reappear.