Ridgetop
Ride a motorbike to the end of six trails without falling, scoring points for wheelies, flips and airtime.

How to play
Ride to the finish of each of six trails without falling. Wheelies, airtime and flips score points, and the trails repeat when you finish the sixth, with your score carried forward.
Hitting your helmet on the ground or falling off the course is a fault, and you restart from the last checkpoint flag.
Reversing lets you back up for a longer run at a gap. A longer wheelie raises the multiplier, and a landed jump banks 200 points per second in the air plus 500 for every backflip or frontflip. Only new ground scores. Gold needs one fault or fewer within the trail's par time, silver three faults or fewer in 50% more time.
Lean in the air to rotate, and land on both wheels; the suspension forgives tilted landings.
| Control | Action |
|---|---|
| ↑ / W | throttle |
| ↓ / S | brake; keep holding it to reverse once you have slowed |
| ← / A | lean back and lift the front wheel; in the air, rotate backward |
| → / D | lean forward; in the air, rotate forward |
| Space / Enter | begin, retry from the last checkpoint flag, or go on to the next trail |
Scoring detail
Wheelies earn 25 points per metre, rising to three times that for a sustained lift. Only jumps of at least 0.3 seconds count. Each finish adds max(100, 10000 - elapsed ticks / 5 rounded down - 400 per fault).
Write a helper
Start ridgetop and edit helper.sh with nano. Run ./helper.sh & in the
Ridgetop terminal to keep manual controls available. Use jobs to list helpers
and stop to stop them. Use delay 200 to wait 200 milliseconds of riding
time and wait to join background jobs. Type script or read
~/ridgetop/LIVE-HELP.txt for the commands.
To try the published example in its original workspace, use
scripts try ridgetop-starter. To adapt a copy for live play, clone the repository
in the CLI-Games terminal:
git clone https://forge.cli-games.com/cli-games/game-starters.git ~/scripts/game-starters
ridgetop
cd ~/scripts/game-starters/ridgetop-starter
cp policy.sh helper-local.sh
chmod +x helper-local.sh
nano helper-local.sh
Replace each wait N from the trial with delay and a duration in
milliseconds. Multiply the old tick count by 20. Then run ./helper-local.sh &.
Use hold and release for directions the helper should let go of automatically when it stops.
If you already have a clone, use it in place of a new one. After leaving the game, return to the example directory to record edits:
cd ~/scripts/game-starters/ridgetop-starter
git add helper-local.sh
git diff --cached
git commit -m "Adapt helper for live play"
Keep LICENSE.txt and attribution when sharing. Cloning never runs a program or replaces edits.
Use terrain, speed and angle to choose throttle and lean. Build an approach that lands a backflip or frontflip and banks its airtime bonus.
Use man ridgetop for the reference, or play Ridgetop.