Crane Stack: A One-Button Tower Stacking Game
- Lab Skill
- v0.1.1
- Game creation
Drop swinging blocks from a tower crane to build the tallest tower, in one small offline HTML file: Perfect landings in a row pay more, three misses end the run, and the sky turns from day to night as the tower grows. All drawing is Canvas 2D and every sound is synthesised.
ตัวอย่าง
Crane Stack tower stacking game
ตัวอย่างนี้ทำงานในเฟรมแบบ sandbox ที่ไม่มีสิทธิ์เข้าถึงหน้านี้
รันออนไลน์
รันใน SandBase sandbox และดูผลลัพธ์ของคุณใน Lab
เปิดใน Lab ↗สิ่งที่คุณจะได้รับ
Bring the blocks, the site and the sky, and optionally the rules, scoring and feel. The Skill returns a downloadable Skill (the reference game project, a customize guide, headless verification) and one playable example run.
วิธีการทำงาน
- 01
Create and customize the project
node scripts/new-project.mjs --out my-tower copies the finished game, then npm ci installs the build tools. Read references/customize.md, which maps each kind of request, such as sky and time of day, block look, crane and site, text, rules, feel or sound, to its files and symbols. Most changes start in src/config.js. The Skill calls no model and needs no API key.
- 02
Build one file
npm run dev gives a live preview, and npm run build:single writes dist-single/index.html, one file of at most 8 MiB that opens with a double-click. It must make no network requests of any kind and use no external fonts, images, scripts, storage or workers. Any image, sound or font you add is bundled and listed with its source and licence in CREDITS.json.
- 03
Verify every check
npm run shoot runs the checks in verify.json with a local Chrome and writes shots/report.json and screenshots. Every check must pass, and you should look at the screenshots too: a check proves the game runs, the picture proves the change took effect. If you changed scores, lives or thresholds, update the expected values in verify.json.
คำถามที่พบบ่อย
How do you play Crane Stack?
In Crane Stack a tower crane's hook swings a one-floor block back and forth; click, tap or press Space to drop it onto the tower. Dead centre is a Perfect worth 50 points, with 25 more for each further Perfect in a row. Close enough is a Success worth 25, and a miss costs one of three hearts.
Does Crane Stack call a model or need a key?
No. Crane Stack gives your agent a reference game, a customize guide and verification, and the game itself makes no network calls and calls no model. It is one HTML file that runs under a sandbox policy with no network, storage or workers. npm ci installs the build tools once.
Can I change the scoring in Crane Stack?
Yes. In Crane Stack lives, scores, the Perfect window and the swing are numbers in src/config.js, and the customize guide names each one. To make it easier, raise the Perfect and Success windows, slow the swing or add lives, then update the matching numbers in verify.json so the checks still pass.
Is the Crane Stack game in English only?
Yes. The Crane Stack page is available in two languages, but the game's own text is in English. It uses the system font stack only, so text in writing systems the viewer's fonts do not cover falls back to a default font. No third-party brands, logos or game titles appear in it.
Does Crane Stack work on phones?
Yes. Crane Stack is one tap, in portrait or landscape, and the world extends to the sides on wide screens. It was verified under touch emulation, not on real devices. On very small windows, under about 300 pixels wide, the score display overlaps the tower.
Does Crane Stack save the best score?
No. Crane Stack keeps the best score for the current visit only, because the sandbox has no storage; reloading the page starts fresh. There are no levels or menus beyond start, play and game over, and no server-side leaderboard, since the game must run with no network access.
Skills เพิ่มเติม
Skills ทั้งหมดสำหรับ Game creation →
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.

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.

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.

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.

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.

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.

