Model battle
A tower defence game that plays itself, voxel
One prompt, two AI models. Pick a model to see what it built.
The prompt
Build a single self-contained HTML file: an original 3D tower defence game, made in Three.js (you may load Three.js from a CDN), in a voxel style. It plays itself. Nobody touches it. What has to be in it: - A battle already under way from the first frame: a winding path across a voxel landscape, with waves of enemies marching along it towards a castle. At least four kinds of enemy that look and move differently (small fast ones, big slow ones, flying ones, a boss). - At least five kinds of tower already built along the path and firing: arrows, cannonballs that arc and explode, a freezing tower, a lightning or laser tower, a flame tower. Shots visibly fly, hit and do damage. Enemies have health bars, flash when hit and burst into voxel pieces when they die. - The game plays itself like a good player would: new towers get placed and upgraded as gold comes in, waves get bigger, and the castle takes damage when enemies get through. - A world worth looking at: trees, rocks, a river with a bridge, a village or camp, clouds drifting, day turning to dusk, smoke, sparks and coins popping out of defeated enemies. - A camera that moves: slow orbits of the whole map, then swooping down to follow the thick of the fighting, cutting every few seconds. - A small game HUD in the top left corner only: wave number, gold, castle health, enemies defeated. - When the castle falls or the last wave is beaten, it restarts on its own, forever. Rules: - No interaction, no start screen, no menu, no buttons. It runs the moment the page opens. - The scene fills the whole browser window and looks right at any window shape, from square to wide. - Everything is built in code. No external images, models, textures or sound files. - Make the calls yourself. Pack in as much as you can while keeping it smooth.
Paste it into any model and see what you get.
See every battle prompt →Want to learn AI?
Automators is the free community for people learning to build with AI.
Join the community
Automators