Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Planet Putt: Nine Holes of Gravity Mini-Golf

Putt a ball across small planets whose gravity bends every shot, in one small offline HTML file: nine holes with two to ten planets, par 35, hold-aim-release with a curved preview of the flight, restart hole and a scorecard. All drawing is Canvas 2D and every sound is synthesised.

Пример

Planet Putt gravity mini-golf game
Открыть в новой вкладке

Planet Putt gravity mini-golf game

Пример работает в sandbox-рамке без доступа к этой странице.

Запустить онлайн

Запустите в SandBase sandbox и смотрите результаты в Lab.

Открыть в Lab ↗

Что вы получите

Bring the planets and the sky, the holes, and optionally the gravity, power and controls. The Skill returns a downloadable Skill (the reference game project, a customize guide, a route finder, headless verification) and one playable example course.

Как это работает

  1. 01

    Describe planets and holes

    Planet Putt takes a prompt such as 'Use planet-putt to make a gravity mini-golf game with ice moons under a green aurora, seven holes and stronger gravity.' node scripts/new-project.mjs --out <dir> copies the game, which needs Node 22.4 or later. The example course, nine-worlds, has nine holes with 2 to 10 planets each, six planet kinds and a total par of 35.

  2. 02

    Edit holes and physics

    Your coding agent follows references/customize.md. Game logic lives in src/game/ and numbers in src/config.js, including PHYSICS, SHOT and CUP. Every planet's gravity bends the flight, and the ball bounces, rolls and settles where it lands. Each hole stores a route the tests replay, and a route finder re-finds one after a change. Par comes from a simulated player.

  3. 03

    Build and play the round

    npm ci && npm run build:single writes one dist-single/index.html under 8 MiB with no fetch, storage or external URLs; the published build is about 34 KB. npm run shoot needs Chrome and writes shots/report.json. Release 0.1.2 passed 11 interactions: tee off, aim, a real drag putt, landing, restart, a sunk hole, the next hole, the scorecard, hole 9, the finish and a phone putt.

FAQ

How do I putt in Planet Putt?

Planet Putt has you press, pull the pointer away from the ball and release. The ball flies toward the pointer with power from the pull distance, and a dotted preview draws the curved flight using the same simulation. Sink it in the flagged cup in as few strokes as possible; restart-hole puts it back on the tee.

Is Planet Putt real orbital physics?

No. Planet Putt gravity is a game rule tuned for feel: each planet pulls with a fixed strength at its surface that falls off with distance. A flight that would orbit forever is capped and counts as lost.

Why does a Planet Putt hole fail after I change gravity?

Planet Putt stores each hole's route with the old PHYSICS, SHOT and CUP values, so a change can make it miss and the hole and finish steps then time out. Find a new route with the route finder the guide describes.

Can I add a tenth hole to Planet Putt?

Yes. Planet Putt adds a hole by copying a HOLES entry, giving it a route and updating the step values the guide lists. The guide's Controls entry also lists three places to flip for a slingshot pull-back.

Does Planet Putt need a key or any media files?

No. Planet Putt draws everything on Canvas 2D and synthesises its sound in Web Audio, with no images, fonts or sound files and no network calls, so a round needs no SandBase account. SwiftShader is fine for it on machines without a GPU.

Does Planet Putt work on a phone?

Yes. Planet Putt accepts a touch drag and release as a putt, and on portrait phones the course turns a quarter so the planets stay large. A 390 by 844 phone putt passed the checks. The game text is English only.

Навык 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.

Навык 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.

Навык 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.

Навык 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.

Навык 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.

Навык 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.