Single-file WebGL2 voxel survival sandbox with crafting and mobs

Claude Opus 5.5 wrote a full blocky survival game in one HTML file: infinite biomes, crafting, tools and day-night cycles, with no libraries.

Claude Code + Three.js (chỉ code)Wandy 2
Mô hình thật · 360°Cả hai đều từ cùng một ảnh: bên trái — một lần chạy Claude Code (Opus 5.5) không chỉnh sửa, dựng vật thể bằng code Three.js; bên phải — Wandy 2.

Tạo mô hình 3D chi tiết

Chỉ dùng code thì chỉ được các hình khối đơn giản. Wandy 2 biến một tấm ảnh thành mô hình 3D có texture để bạn dùng ngay trong cùng cảnh đó.

Prompt cho Claude Opus 5.5

Build a browser sandbox game in the spirit of Minecraft that feels as close to the original as possible. All in-game text in English. Controls: keyboard and mouse (desktop).  TECH - A single HTML file, plain WebGL2, no third-party libraries. - All 16×16 textures generated in code as pixel art (stone, dirt, grass, planks, leaves, ores, glass, water, lava, etc.). - Sounds synthesized with WebAudio: digging, footsteps, placing blocks, damage, mobs, explosions, calm background music.  WORLD - Infinite world made of 16×16×128 chunks, with a seed. - Biomes: plains, forest, birch forest, taiga, snowy tundra, desert, mountains, oceans, beaches. - Caves (winding tunnels and large caverns), lava at the lower levels, ores by depth: coal, iron, gold, diamonds. - Three tree types, tall grass, flowers, cacti, sugar cane, pumpkins. - Minecraft-style lighting: sky light and block light (torches, glowstone, lava) that spreads cell by cell, with smooth lighting and ambient occlusion. - Day/night cycle: sun, moon, stars, sunsets, 3D clouds, distance fog, rain. - Water and lava flow by levels; two sources make infinite water; water + lava make obsidian or cobblestone. Sand and gravel fall.  PLAYER - First person, collisions, jumping, sprinting, sneaking (doesn't fall off edges), swimming, ladders, fall damage. - Block breaking with crack stages and particles; break time depends on the tool. - Visible hand and held item with a swing animation. Third-person view on F5.  SURVIVAL - Health, hunger, saturation, air underwater. - Tools in 5 materials with durability, armor in 4 materials. - Inventory with 2×2 crafting, 3×3 crafting table, furnace with fuel, chests, bed (skip the night and set spawn). - Item drops, death and respawn. - Mobs: pigs, cows, sheep, chickens (breeding, shearing); at night zombies, skeletons with bows, spiders. Zombies and skeletons burn in sunlight. - Farming: hoe, seeds, wheat growth, bread. Doors, fences, fence gates, TNT.  CREATIVE - Flying on double-tap Space, instant block breaking, a catalog of all blocks with tabs and search.  UI - Title screen with a world panorama, world list (create / delete / play), options (FOV, render distance, sensitivity, sound, brightness, GUI scale). - Pause menu, death screen, HUD (hotbar, hearts, hunger, armor, air bubbles), F3 debug screen. - Chat with commands: /gamemode, /time, /give, /tp, /summon, /weather. - Worlds saved in localStorage.  RESTRICTIONS - Do not use Minecraft's name, logo, textures or characters (Steve, Creeper, etc.): give the game its own name and design your own mobs.  TESTING - Run the game in a headless browser, check every system and fix bugs before delivering.

Cách dùng prompt này

  1. Paste the prompt into Claude Opus 5.5 in a coding agent that can run a headless browser to test.

  2. Rename the game, trim or add systems (mobs, biomes, commands) to fit the scope you want.

  3. Open the HTML file and play; ask for fixes system by system, since a build this big takes over an hour.

Từ Wandy3D

Cần một mô hình 3D thật trong cảnh của bạn?

Agent của bạn dựng cảnh bằng các khối cơ bản. API Wandy3D biến ảnh hoặc prompt thành tệp GLB có texture chỉ trong vài phút — trả từ số dư nạp trước, không cần đăng ký gói.

  • Wandy 20,18 US$ mỗi mô hình
  • Wandy 10,09 US$ mỗi mô hình

Số dư không bao giờ hết hạn · tác vụ lỗi được hoàn tiền · mô hình tạo qua API thuộc về bạn và tải xuống được ở mọi định dạng.

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

Bài đăng gốcBạn là tác giả? Yêu cầu chúng tôi sửa hoặc gỡ trang này