Four AI models, one prompt.
Each model got the same brief and 90 minutes: build a flying game set in an archipelago of floating islands above a sea of clouds. No assets, no templates. Every island, shader and sound is code the model wrote. Guess which is which, then play them.
How it ran
All four ran at the same time on one machine, at the same effort setting, with the same copy of Three.js and the same screenshot tool for checking their own work. Nobody fixed or edited anything afterwards: the games here are the files the models left when they stopped. The looping videos are each game’s own autopilot mode, a 30-second flight the model directed itself.
The games are built for a desktop browser and a keyboard. Sound starts after your first key press.
The prompt
Read the full prompt
Build a small flying game that runs in the browser, using Three.js.
**The world: an archipelago of floating islands above a sea of clouds.** Style, mood, time of day, architecture, creatures, weather and everything else are yours. Invent a place people would want to fly around in, and make it as beautiful and awe-inspiring as you can.
**The game:** the player glides through this world. Give them something simple and satisfying to do there (rings to fly through, lights to collect, a race, your call), with a clear goal and on-screen feedback. Keyboard controls (mouse optional), shown on screen. It should feel good to fly.
**Autopilot mode:** opening `index.html?autopilot=1` must start immediately, with no menu, start screen or HUD, and play a 30-second cinematic flight through the best of your world with no input. This is your trailer: direct it. A video of exactly those 30 seconds will be recorded and shown next to other entries built from this same brief.
## Deliverable
`index.html` in the current directory, which is the whole game: all code inline in that one file. The only other files it may load are from `./vendor/`, which holds Three.js r186 (`vendor/three.module.js`) and its official addons (`vendor/addons/`, the `examples/jsm` folder). Use this import map:
```html
<script type="importmap">{"imports":{"three":"./vendor/three.module.js","three/addons/":"./vendor/addons/"}}</script>
```
The game will be published and played exactly as you leave it. Nobody will fix, tweak or re-run anything for you, and there are no follow-up instructions.
## Rules
- Everything is made by your code: geometry, textures, shaders, effects. No external assets (models, images, fonts, audio files), no CDNs, no network requests. Do not modify `vendor/`.
- Use `WebGLRenderer` (WebGL2). It must hold 60 fps at 1920x1080 on a desktop GPU (the test machine has a Radeon RX 9070 XT), and should stay playable on an ordinary laptop.
- The video is recorded frame by frame with a virtual clock, at 60 fps. Drive all animation from `requestAnimationFrame` timestamps or `performance.now()` (Three.js `Timer`/`Clock` are fine). Anything driven by `setTimeout`/`setInterval`, or by real elapsed time measured another way, will not show correctly in the video. The autopilot flight must look the same every time it runs (no unseeded randomness that changes what is on screen).
- Sound is welcome in the playable game if you synthesise it with Web Audio (no samples), and it must only start after the player's first input. The recorded video is silent.
- Time limit: 90 minutes of wall-clock time for this session. At 90 minutes the session is stopped and whatever `index.html` contains is used, so keep it in a working state at all times. Finishing early earns nothing: use the remaining time to polish.
## Testing your work
Your shell has no GPU and no browser. Use the provided tool, which loads your `index.html` in the same headless Chromium (GPU on, network off, 1920x1080) that records the final video:
- `./shot 0 5 12.5 29` - autopilot mode: screenshots at those seconds into the flight, saved to `shots/`, which you can open and look at.
- `./shot --play 3 8 --keys KeyW,Space` - play mode: loads `index.html`, clicks once in the middle of the page, holds the listed keys (`KeyboardEvent.code` names) the whole time, and screenshots at those seconds. Pointer lock is not available in this browser.
- Add `--full` for 1920x1080 screenshots instead of 960x540.
Each call takes up to 8 times, reports console errors and warnings, the frame time (16.7 ms means it is holding 60 fps) and how much of the 90 minutes has elapsed, and is cut off after 3 minutes. Frame times can be somewhat pessimistic because other jobs share the machine.Questions or a different verdict? Tell me on X: @PawelJLisowski