Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Slalom Run: A 3D Downhill Ski Racer

Carve a downhill course between 20 gates, in one offline HTML file: a procedurally-authored track about 1.4 km long with two splits and a best-time delta, tuck for speed, brake to recover, respawn after a crash. Trees, snow, netting and the skier are all generated in code; runs are deterministic so verification is exact.

Exemplo

Slalom Run downhill course
Abrir em nova aba

Slalom Run downhill course

O exemplo é executado em um frame isolado, sem acesso a esta página.

Executar online

Execute em um sandbox do SandBase e veja seus resultados no Lab.

Abrir no Lab ↗

O que você recebe

Bring the course and its gates, and optionally the look, skier and numbers. The Skill returns a downloadable Skill (the reference race project, a customize guide, headless verification) and one playable example run.

Como funciona

  1. 01

    Create and customize the project

    node scripts/new-project.mjs --out <dir> copies the project without build products. Read references/customize.md first: it maps requests for the sky, snow, skier, course, gates, handling, camera, props, text and controls to files and symbols, and lists the traps. Numbers and colours are in src/config.js, rules in src/sim, visuals in src/world and the HUD in src/ui/hud.js.

  2. 02

    Build one file

    npm ci and npm run build:single write dist-single/index.html, at most 8 MiB, with no network, CDN, web font, remote image or storage. Physics runs in fixed steps of 1/120 second, so keep new motion on that clock. Any model, texture, sound or font you add must be yours or clearly licensed and listed in CREDITS.json. The Skill calls no model.

  3. 03

    Verify every check

    npm run shoot checks the build in a sandboxed frame and writes shots/report.json and screenshots. The shipped course passed every step, including a full autopilot run of about 50.6 seconds through 20 of 20 gates. After changing the course, gates or physics, re-time the verify.json steps the guide names, such as the 46 to 56 second finish window.

FAQ

How do you play Slalom Run?

In Slalom Run a skier carves down one generated alpine course of about 1.36 km and 450 m of drop through 20 gates, tucks for speed, brakes in a snowplough and flies over three knolls. A missed gate costs two seconds; leaving the piste or hitting a tree costs three and restarts at the last gate.

Does Slalom Run call a model or need a key?

No. Slalom Run's terrain, trees, skier, textures and sky are generated inside one offline file, so racing needs no API key, and your agent changes the project locally without any model calls. The game makes no network requests at all.

Can I change the Slalom Run course?

Yes. In Slalom Run the course is defined by COURSE.controlPoints, COURSE.segment and COURSE.pitch in src/config.js, and the guide lists the verify steps whose distances and times then move. Much tighter bends or lower grip can make the autopilot miss gates, so adjust the course or its bounds until the finish step passes.

Is a Slalom Run race the same every time?

Yes, for the same inputs. In Slalom Run the course comes from COURSE.seed and the physics steps at 1/120 second regardless of frame rate, so runs and the cover replay identically. The best time lives in memory only and resets on reload, and no sound ships with the game.

Does Slalom Run work on phones?

Yes. In Slalom Run you tap to start, hold a finger anywhere to tuck, slide it left or right of centre to steer and use the BRAKE button, and the results card has a Race again button. Without a GPU, shoot falls back to SwiftShader, which is slower and can fail the 30 fps check.

What happens when you miss a Slalom Run gate?

In Slalom Run a missed gate adds two seconds to your time, and leaving the piste or hitting a tree adds three and restarts you at the last gate. Two split times, a best time with deltas and a results card track each run, and the autopilot finish takes about 50.6 seconds through all 20 gates.

Skill de Lab · Games

Seagull Swoop

Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Skill de Lab · Games

Wedding Cake Wobble

Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Skill de Lab · Games

Hermit Tide

Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Skill de Lab · Games

Clover Circuit: Estate Cut

Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Skill de Lab · Games

Glide Gates: Lagoon Run

Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

Skill de Lab · Games

3D Interactive Garden Islands

Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.