Helicopter Game

Hold to climb and release to drop as a helicopter flies through a scrolling cave full of blocks. Four difficulty levels, distance scoring and a best score.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Helicopter Game?

A one-button game: hold the mouse button, the Space bar, the Up arrow or your finger to make the helicopter climb, and let go to let gravity pull it down. The cave scrolls from right to left with a ceiling and a floor that wander up and down, and square blocks float in the middle. Touch any of them and the flight is over.

Your score is the distance flown. The cave speeds up gradually, by up to 80% over a long run, and blocks appear more often as time passes. Easy, Normal, Hard and Insane change the cave width, how fast the walls move and the size and frequency of the blocks. The first second of each flight is a straight run so you have time to put your finger on the button.

The game draws on a canvas in your browser and stores only your best distance and settings locally. Nothing is sent anywhere.

  • One-button controls: mouse, touch, Space or Up arrow
  • Easy, Normal, Hard and Insane difficulty levels
  • Distance score that does not depend on your screen's refresh rate
  • Classic monochrome and modern themes, fullscreen and a PNG scorecard
  • Runs in your browser; best score saved locally
Read the guide: Classic Browser Games: Rules and Strategies That Actually Work

Updated

How to use the Helicopter Game

  1. Pick a Difficulty and, if you like, a Max Time (no limit, 1, 3 or 5 minutes) in the Settings card.
  2. Click Start. The helicopter flies level for the first second.
  3. Hold the mouse button, Space, the Up arrow or your finger to climb; release to descend.
  4. Press P or the Pause button to pause. Press Enter twice to restart quickly.
  5. After a crash, click Restart or Download Scorecard to save a PNG of your distance and best.

Background and insight

Cave-flying games go back to SFCave, a small game for Palm handhelds, and became a fixture of Flash game sites in the 2000s, where "the helicopter game" was the version most office workers knew. The appeal is that the whole control scheme is one button, yet the skill ceiling is high.

The physics here is simple and worth understanding. Gravity adds a little downward speed every frame, holding the button adds a larger upward push, and the thrust ramps in smoothly instead of switching on instantly. Speed is capped in both directions and a little drag is applied, so the helicopter never rockets off. Movement is scaled by the time between frames and each step is capped at 50 ms, so a 120 Hz screen plays at the same speed as a 60 Hz one and a paused game does not jump forward when you resume.

Common use cases

  • One-handed play

    It needs a single button, so it works with a mouse, a trackpad, a touchscreen or one key.

  • Short timed rounds

    A 1 minute limit gives a fixed-length round, handy for taking turns with someone.

  • Reaction practice

    Hard and Insane narrow the cave and add bigger blocks, which rewards small, early corrections.

  • Comparing scores

    The scorecard image records distance, best, theme and time for sharing.

Tips and limitations

  • Tap rather than hold. Short pulses keep the helicopter nearly level; long holds build speed you then have to cancel.
  • Fly through the middle of the cave. Most crashes come from riding close to the ceiling when it suddenly dips.
  • React to blocks early. You can only change vertical speed gradually, so a late swerve is usually too late.
  • Clicking anywhere on the page counts as a press while you play, including on buttons, so use P to pause.
  • Your best score only updates when a flight ends, and it is kept in this browser only.

Sources and further reading

  1. Anatomy of a video game, MDN Web Docs. Frame-rate independent game loops
  2. Window: requestAnimationFrame() method, MDN Web Docs. Timestamps for scaling movement by elapsed time

Frequently asked questions

How do you control the helicopter?

Hold the mouse button, Space, the Up arrow or a finger on the screen to climb, and release to fall. There is no other control. The upward push builds up over a fraction of a second instead of switching on instantly, so short taps give fine corrections.

What changes between Easy, Normal, Hard and Insane?

Harder levels give a narrower cave, walls that drift more steeply, a faster scroll speed and larger blocks that appear more often. Easy scrolls at 85% of Normal speed, Hard at 112% and Insane at 125%. On every level the speed also rises slowly the longer you survive.

How is distance scored in the helicopter game?

Distance grows with the scroll speed for every moment you stay airborne, so later parts of a run, which scroll faster, earn points more quickly. The count is based on elapsed time rather than frames, so the same flight scores the same on a 60 Hz laptop and a 120 Hz monitor.

Why does pressing Space not scroll the page during the game?

While a flight is in progress, Space and the Up arrow are the climb controls, so the game stops the browser from also scrolling. When no game is running, both keys scroll the page as usual.

Can I play the helicopter game on a phone?

Yes. Touching and holding anywhere on the screen counts as a press and lifting your finger counts as a release. The canvas scales to the width of the screen, and the fullscreen button removes the rest of the page for a larger view.

Is there an in-depth guide to the Helicopter Game?

Yes. “Classic Browser Games: Rules and Strategies That Actually Work” covers the background, how it works, common pitfalls and worked examples. Read the full guide.