# Task: build a voxel sandbox game Build a first-person voxel sandbox game that runs in a desktop browser: a world made of blocks that the player walks through, mines and builds in. Write `index.html` in this folder. You may add more `.js` and `.css` files here. The page will be opened from a local web server (for example `http://localhost:8000/index.html`). ## The game must have 1. A generated world of blocks, at least 64 × 64 blocks across, with hills, trees, sand, water and at least one cave or overhang. Each block type has its own look (make the textures in code). 2. First-person movement with gravity and collision: W A S D to walk, the mouse to look (pointer lock after a click), Space to jump. The player cannot walk through blocks. 3. Mining and building: left click removes the block the player looks at, right click places the selected block against it. A highlight shows the targeted block. 4. A hotbar at the bottom with at least 5 block types; keys 1–5 and the mouse wheel select one. 5. A day–night cycle of about 2 minutes: the sky, the light and the fog change with the time of day. 6. An attract mode: before the first click, the camera flies slowly over the world on its own, and a short line on screen says how to start. After the first click the player plays. 7. A crosshair, and the page fills the window. 8. Smooth play, aiming for 60 frames per second on a laptop. ## Rules - Use only the Three.js copy in `vendor/three/` (version 0.187.0), through this import map. No CDN, no other libraries, no network requests of any kind, no external fonts, image or audio files. ```html ``` - Drive all animation from `requestAnimationFrame`, with time taken from its timestamp, `performance.now()` or `THREE.Clock`. - Do not change anything in `vendor/`. - You can read and write files in this folder only. You cannot open a browser or run commands, so you cannot preview the page: check your code carefully. - Work on your own until it is done; nobody will answer questions. When you finish, reply with a short summary of what you built.