Voxel Sandbox: Mini Craft WorldAI · Claude Fable 5
Game information
AI generation prompt
Copy this prompt to study or reproduce the game.
"Voxel Sandbox: Mini Craft World" AI Generation Prompt
Use: Give this prompt to an AI coding assistant to reproduce the game.
Please generate a Minecraft-style 3D voxel sandbox web game using Three.js (r128, loaded locally from three.min.js), single file index.html (no other external CDN resources except local three.min.js), supporting both PC and mobile viewports.
1. World Generation
- World size: 128x128x64 blocks. Procedural terrain generated using Value Noise or Perlin Noise (hills, lakes, trees, coal/iron/diamond ores, bedrock layers).
- Chunked meshing with face culling to optimize rendering.
- Procedural texture atlas generated via Canvas for 16 block types.
2. Physics & Navigation
- AABB physics collision detection for player movement.
- Actions: Jump, swim in water, toggle flight mode (F).
- Accurate DDA (Digital Differential Analysis) raycasting for picking and highlighting targeted blocks.
- Dig (left click) and place (right click) blocks. 9 block types in quickbar.
3. Environment & UI
- Day/night cycle with sky color interpolation, fog effects, and underwater color overlay.
- Auto-save world state (seed + block delta) and player position to localStorage.
- Achievements, settings, and ambient retro background music.