◀ VibeCruiser

dormitory snake game

A free snake game — play it in your browser, no install. 纯 H5 移动端贪吃蛇竞技 — 环形世界 × 异步幽灵 × 魂系互动。零依赖零构建,原生 Canvas 2D + ES Modules。

by @inmemostr · inmemostr/dormitory-snake-game on GitHubLANG JavaScript★ 1HOSTED ON INMEMOSTR.GITHUB.IOUPDATED 2 Sep 2026

Vote and save it — free account with email or sign in with GitHub

Made this, @inmemostr? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

纯 H5 移动端时尚竞技 — 五幕式局内导演 × 风格连锁 × 动态契约 × 悬赏追猎 × 异步幽灵

进入游戏先选阵营:你是 🐱 猫 还是 🐶 狗。在一个无边界的环形世界里,与 10 条 AI 猫狗搏斗;其他玩家的历史对局以半透明「幽灵」在你身边实时重放——你能撞死它,它也能撞死你。仿佛随时有人在线上和你一起玩。

离线生成:tools/gen_ghosts.js 用 Node headless 跑 AI 对局,产出真实回放数据。 运行时注入:每局最多 6 条幽灵蛇并发重放,来自预置池 + 玩家自己历史对局。 幽灵头撞到你的身体 → 幽灵「死」,化食物 + 立墓碑。 渐进在线感:幽灵池循环使用,玩家自己的对局会进入下一局的幽灵池——「遇到昨天的自己」.

世界大小、蛇的初始参数、速度、半径、成长饱和常数 growthK. 食物种类与权重、道具数量与效果。 五幕式导演、终幕无限超频、风格连锁、循环契约和悬赏奖励。 相机缩放与平滑系数(含屏幕速度恒定补偿 expectedZoomFor).

js/config.js 环境无关,Node 可直接 import,调参只需改这一处。

视觉从暖色可爱风升级为深色霓虹时装竞技场:动态幕次光场、玻璃 HUD、晶体道具、悬赏准星和风格评级结算。 新增五幕式局内导演;终幕后仍按 30 秒持续超频,避免后期节奏封顶。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More snake games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →