Skip to content
Quancis
Demos
Made in chat with KaelGame3DAI opponents

Ouroboros.

A 3D survival snake game, in one HTML file.

Open full screen in a new tabBest on a phone: use the full-screen tab.

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.

About

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
Controls

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
Made in chat with Kael

Kael wrote this in a chat conversation, with no building tools, as a single HTML file.

How these were made →
More

More Demos.