Crate Courier: A 3D Warehouse Crate-Pushing Puzzle
- Lab Skill
- v0.1.2
- Game creation
Walk a courier round a small 3D warehouse and push crates onto glowing delivery pads, in one offline HTML file: ten solvable levels from a one-crate tutorial to five-crate rooms, unlimited undo, restart, move and push counters, keyboard and swipe controls. Models, textures and sounds are all generated in code.
範例
Crate Courier 3D warehouse puzzle
此範例會在沙箱框架中執行,無法存取此頁面。
線上執行
在 SandBase sandbox 中執行,並在 Lab 中查看結果。
在 Lab 中開啟 ↗您可獲得什麼
Bring a setting, its crates and the courier, and optionally new levels, rules and sounds. The Skill returns a downloadable Skill (the reference puzzle project, a customize guide, a level solver, headless verification) and one playable example warehouse.
運作方式
- 01
Copy the warehouse puzzle
Crate Courier starts with node scripts/new-project.mjs --out my-dock, which copies the project without build products. Your coding agent reads references/customize.md, which maps the look, levels, numbers, text, sound and new tiles to files and symbols. A prompt names your setting, your crates and courier, and your levels, for example a snowy dock with ice blocks and a penguin courier.
- 02
Edit levels, look and rules
Levels are text maps in LEVELS in src/levels.js, the look is src/theme.js and src/textures.js, and rules are src/logic.js. Crates must equal pads in number, or parseLevel rejects the map. After a level change, run the breadth-first solver and paste its solution into par. Models, textures and sound are drawn in code, and the build calls no model.
- 03
Build and replay the solutions
npm ci and npm run build:single write dist-single/index.html, one offline file of about 0.6 MiB. npm run shoot needs local Chrome and checks the build in a sandboxed frame, writing shots/report.json with screenshots: a push, a wall, undo, restart, solving level 3 with the solver, the win panel, level change and a phone swipe. Every level's par must still replay.
常見問題
How do you play Crate Courier?
Crate Courier is a grid push-puzzle in a small three.js warehouse. The courier walks one cell at a time and pushes crates onto glowing delivery pads, and a level clears when every pad holds a crate. The ten levels run from a one-crate tutorial to five-crate rooms, with unlimited undo, restart, and move and push counters.
Can I add my own Crate Courier levels?
Yes. Crate Courier takes new levels appended to LEVELS in src/levels.js. Find a solution with the built-in solver and paste it into par, and the tests replay it. Keep custom levels compact, because a large open level with six or more crates can take minutes or make solve() return null; you can then write par by hand.
Can the Crate Courier courier pull crates?
No. Crate Courier's shipped rules only allow pushing. The move rule lives in tryMove() in src/logic.js, and adding a pull rule means changing undo as well.
Does Crate Courier need a key or a server?
No. Crate Courier calls no model and makes no network calls, so playing is free. It is not suited to multiplayer or online level sharing, because the build runs under a no-network sandbox. Any asset you add must be your own or clearly licensed and listed in assets/crate-courier/CREDITS.json.
What are the Crate Courier keyboard and touch controls?
Crate Courier moves with the arrow keys or WASD, undoes with Z or Backspace, restarts with R and changes level with N and P. On a phone you swipe on the warehouse, and buttons in a bottom dock cover undo, restart and level change. Restart acts at once because confirm dialogs are dropped in a sandboxed frame.
Why is Crate Courier slow on my machine?
Crate Courier's shoot check falls back to SwiftShader without a GPU, which slows start-up and frame rate, and the cover check can time out. The puzzle itself is small, but rendering still goes through three.js and WebGL.
更多 Skills
所有 Game creation Skills →
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.

