Skip to main content
cli-gamesGames

Hairpin

Drive a kart around six circuits with manual throttle and six gears

Best on desktopArcadesportsarcademultiplayer

What you will see

Hold the accelerator, shift up through the gears, and brake before the bendreplay
Hairpin in play

[Up] - accelerate · [Down] - brake · [Left / Right] - steer · [1–6] - shift

Pick Practice for solo laps or Race for two laps against three rivals, and finish first to win. You steer, brake and shift yourself, and sand and puddles cost you grip.

Practice is solo and saves your fastest lap on each track.

The kart does not follow the road, so steer through every bend and brake before tight turns. Hold ↑ to accelerate and ↓ to brake, steer with ← and →, shift gears with 1 to 6, and press Space for a one-time boost.

Multiplayer: type challenge NAME to race a friend, or find to race whoever is waiting.

Scripts: type script to open helpers that work the pedals and gears.

[:q] - quit

Live driving helpers

Drive one live kart with the keyboard and background Bash helpers for throttle, steering or gears. Type benchmark to open a separate scripting workshop with repeatable laps.

Durable workspace

~/hairpin

Read LIVE-AUTOMATION.txt; start with cruise.sh. Your files remain yours between runs.

Sensors

  • scan
  • state
  • status
  • tracks
  • hazards
  • obstacles
  • report
  • records

Actions

  • throttle
  • steer
  • brake
  • gear
  • hold
  • release
  • boost
  • delay

Practice evidence

gif · replay · run receipt · local practice

Ruleset: hairpin-driving-v7

Practices: Bash loops · state observation

Run $ hairpin --script

How this command behaves

  • Supports two players
  • Play online against other players
  • Build and keep real Bash files in ~/hairpin
  • Automation records include gif and replay and run receipt
  • Runs in the browser; nothing to install
  • Playable entirely from the keyboard

Start it from the prompt

Usage

hairpin | hairpin --script

Aliases

None

Guides from the wiki

Opens the terminal in Hairpin.

Run $ hairpin