Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Pin Alley: A 3D Ten-Pin Bowling Game

Line up and flick a bowling ball down a real alley, in one offline HTML file: ten rigid-body pins, full ten-frame scoring with strikes, spares and a 10th-frame bonus, a hook shot that bends on the lane, and a game-over scorecard. Lanes, pins, ball and sounds are all generated in code; the physics runs deterministic per throw.

예시

Pin Alley bowling lane
새 탭에서 열기

Pin Alley bowling lane

이 예시는 이 페이지에 접근할 수 없는 샌드박스 프레임에서 실행됩니다.

온라인에서 실행

SandBase sandbox에서 실행하고 결과를 Lab에서 확인하세요.

Lab에서 열기 ↗

얻을 수 있는 것

Bring the alley look, ball and pins, and optionally the numbers, scoring and feel. The Skill returns a downloadable Skill (the reference game project, a customize guide, headless verification) and one playable example match.

작동 방식

  1. 01

    Choose the alley look

    Pin Alley takes a prompt such as 'Use pin-alley to make a ten-pin bowling game with a neon night alley and a heavier ball.' node scripts/new-project.mjs --out <dir> copies the game, which needs Node 22.4 or later. The lane, gutters, pins, ball, masking panel and two neighbour lanes are modelled and painted in code with three.js.

  2. 02

    Tune physics and scoring

    Your coding agent edits src/config.js for numbers and src/game/ and src/physics/ for rules. Ten rigid-body pins run on cannon-es at a fixed 1/240 s step, and the world is rebuilt per ball so a throw always repeats. PHYS.hookAccel sets how much a curved flick hooks. src/game/scoring.js is a pure function covering strikes, spares and tenth-frame bonus balls.

  3. 03

    Build and shoot the frames

    npm ci && npm run build:single writes one dist-single/index.html under 8 MiB with no fetch, storage or external URLs. npm run shoot needs Chrome, or CHROME_PATH, and writes shots/report.json. Release 0.1.1 passed ten checks: lane, aim, roll, strike, spare, gutter, tenth frame, game over, scorecard and new game. After a physics change, the strike and spare throws may need replacing.

FAQ

How do I bowl in Pin Alley?

Pin Alley has you drag the ball sideways to line up, then flick toward the pins: the flick sets direction, its speed sets power and a curved flick adds hook. On the keyboard, left and right move, Q and E aim, Z and X spin, W and S set power, Space bowls and N starts a new game.

Does Pin Alley score like real bowling?

Yes. Pin Alley scores a full ten-frame game by the usual ten-pin rules, with strikes, spares, misses, tenth-frame bonus balls, running totals and a game-over card. The scoring function was tested on games of 300, 0 and 150 and on a real game.

Is Pin Alley a realistic lane simulation?

No. Pin Alley shortens the lane to about a fifth of real length so the whole run fits on screen, and the hook is a side-force rule tuned for feel, not measured lane oil. The pin action is a genuine rigid-body simulation.

Does Pin Alley use paid APIs or asset files?

No. Pin Alley makes no network calls and ships no image, model, sound or font file; rolling and pin sounds are synthesised in the browser. Nothing in a game reaches SandBase billing. Without a GPU, SwiftShader may drop it below the 30 fps check.

Does Pin Alley work on phones?

Yes. Pin Alley lines up the ball with a sideways drag and bowls with a flick on touch screens. That was checked under touch emulation. The game text is English only, with no second language.

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.