"Растущий лабиринт" — ты убегаешь от чего-то, а лабиринт генерируется процедурно позади…
- User
"Растущий лабиринт" — ты убегаешь от чего-то, а лабиринт генерируется процедурно позади тебя, отрезая путь назад. Чем дальше — тем сложнее генерация (более узкие проходы). Хорошо ложится на твой опыт с процедурной генерацией. Чтоби роботало на всех устройствах.
Assistant
I'll build "Растущий лабиринт" — a procedurally-generated maze escape game on HTML canvas that works on desktop and mobile. Let me first check the project structure.
Now let me update the HTML title/viewport and create the game. Let me start with the index.html and the main game component.
Now the core game component with procedural maze generation, canvas rendering, and cross-device controls.
Now the App entry point:
Let me verify the build succeeds.
Build succeeds. Here's what I built:
Растущий лабиринт 🌀
A procedural maze-escape game rendered on HTML canvas that runs on any device (desktop + mobile).
How it plays
- You climb upward through a cave/maze that is generated on the fly, row by row.
- Below you, "the thing that chases you" — a rising, wavy flood of crimson with drifting embers — consumes the path you've already crossed, cutting off any retreat.
- The higher you get, the narrower the passages and the faster the flood rises — so it keeps escalating.
Procedural generation
- Each new row is randomly carved with a wall probability that grows with altitude (
0.27 → 0.62), making corridors tighter over distance. - A reachability pass guarantees the maze is always solvable: every kept cell connects upward from the base, and at least one opening is forced when a row would otherwise seal off.
- Rows generate lazily ahead of the camera as you advance.
Cross-device controls
- Keyboard: Arrow keys / WASD, Space/Enter to start.
- Touch: swipe in any direction, plus an on-screen D-pad (hold to move continuously).
- Responsive full-height canvas with device-pixel-ratio scaling,
100dvhlayout, disabled pinch-zoom, and a translucent HUD showing current height and best record (saved tolocalStorage).
Feel
- Neon glowing walls that tint hotter with depth, a golden player orb with a glow trail, smoothed camera follow, a danger flash + screen shake when the flood closes in, and animated ember particles rising from the surface.
Press Бежать ▲ and climb as high as you can before it swallows you.
Files built:
index.html,src/MazeGame.tsx,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.