Ouroboros.
A 3D survival snake game, in one HTML file.
Best on a phone: it fills the screen and scrolling cannot interfere.
Playing loads its libraries from unpkg.com, a public CDN, so that host sees the request like any other. Nothing you do in the game is sent to us. The downloaded file does the same when you open it.
What You’re Playing.
Ouroboros is a 3D snake survival game. You steer a snake around a 300 by 300 metre stone-walled arena at sunset, eating glowing orbs to grow. Rarer cyan orbs are worth far more and refill your boost.
Between you and a high score are the hunters: AI snakes that look ahead for walls, rocks and other bodies, chase food and sprint when the way is clear. You start against three and the cap is nine, with more arriving the longer you last. Hit a wall, a rock or another snake’s body, or run into your own, and you are out. Whenever any snake dies, it drops orbs.
Everything on screen is generated in code: the ground, the stone walls, the scales, the sunset sky, even the sound effects, which are synthesised with the Web Audio API. Bloom post-processing gives the orbs their glow. A tactical minimap, a combo multiplier, camera shake and full touch controls are in the same file.
What’s in it
- 300 by 300 m arena with rocks, grass and stone walls
- Up to 9 AI hunters that dodge obstacles and chase food
- Boost meter, combo multiplier and rare orbs
- Tactical minimap
- Touch controls: floating joystick, look zone and boost button
- Textures and sound generated in code, no asset files
How To Play.
Keyboard and mouse
- A / D or ← →Steer
- Shift or WBoost
- Drag the mouseLook around
- P or EscPause
- Space or EnterStart, or play again
Touch
- Left side of the screenSteering joystick
- Push the stick up, or tap BoostSprint
- Right side of the screenDrag to look around
Kael wrote this from a single prompt in a chat interface, with no tools and no follow-up, as one HTML file.
More Demos.
- Simulation3DElectronicsKael Pro Beta
Fan Circuit
Two AA cells, a three-position switch and a small fan on a 3D circuit board, with the current, voltage and speed worked out from the real electrical equations. Written by Kael Pro Beta in one take.
Try it - Game3DSandboxProcedural
Blockscape
Explore an endless generated world of forests, deserts, mountains and oceans, then dig and build with ten block types. Sunrises, stars, rippling water and wandering animals, in one file.
Play it - Game3DAI opponent
3D Chess
Play chess on a rendered black-and-white board against the built-in AI, or switch it off to play a friend. Click a piece to see every move it can make, and watch captured pieces float away to rest.
Play it