/space-is-flat
Open Player
prompt.txt
01Build a single file HTML space combat game. Use Three.js or anything else via CDN.  02No external assets everything is procedurally generated in code. The game should run at stable 30+ FPS on a mid range laptop. Budget your geometry accordingly a visually rich scene at 30fps beats a detailed one at 5fps. One other thing test your render loop mentally before writing it. If you are reasoning model leverage your reasoning chain for creative. Shader compilation errors and missing uniforms are almost always the reason why your shit doesn't work. To make it more interesting use a random seed (or Date.now()) to drive ALL generation. Also add unique plantes in size and shape but pay more detail to game logic I don't want shitty controls go with something smooth mouse controls ship rotation the movement simple W/A/S/D. Also add stuff like metallic scrap, broken hull fragments, spinning geometry etc. . And Asteroid clusters with varied scale and tumble rotation. But let your creative room you can do it differently just make the user feel like you did something out of the ordinary. The player's ship should have visible geometric detail hull segments, engine nacelles, glowing thruster ports. Build it from merged geometries or CSG like combinations, not a single fucking box. Also add Enemies that are distinct from each other different shapes, different behaviors. Finally, I want some projectiles, destruction, particles, dynamic point light flash, and screen shake. Salvage drops from the wreckage. Add upgrades as well the user gets the scrap from killed enemies and each upgrade has a visual impact on the ship as well as on the game play. And make like a little shop design the player can open with "f".