A free snake game — play it in your browser, no install. 环卫小卫士:纯 Canvas 实现的环卫小游戏(鼠标/键盘操作、三档难度、46 条无头+浏览器测试)
Vote and save it — free account with email or sign in with GitHub
Made this, @guranguranguran? See how many people played it → or use email
📅 Three new games every day, no account needed · Play today’s three →
Controls: Arrow keys · WASD · Mouse · Tap
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.
No account needed to save ♥ or react 🔥: they’re under the game. Or vote with email.
Open the live demo Source on GitHub直接双击 index.html(推荐 Chrome / Edge,无需安装任何东西,也不用起服务器)。 或者克隆下来再打开:
装满 5 件送一趟正好 5 分。
失败:地图上的垃圾累积到本难度的上限(休闲 50 / 标准 45 / 困难 40 件,脏乱度爆表)。
难度全部集中在 js/game.js 顶部的 DIFFS 表里,改数字就行:
其他全局参数:CAP 背包容量 5、PLAYER_SPEED 小人速度 240、 MOUSE_SPEED_MULT 鼠标跟随速度倍率、NPC_FLEE 灰人是否会逃跑、START_GARBAGE 开局垃圾数 8。
核心规则 + 操作方式 + 鼠标控制 + 难度 + 渲染健康度共 46 条用例,可在 Node 无头和真实浏览器里各跑一遍:
test/ 目录说明:shim.js 是 Node 用的最小 DOM/Canvas 桩件,cases.js 是用例本体(两边共用), headless-test.js 是 Node 入口,browser-check.html 是浏览器入口。
Built something like this? Submit your vibe — free account, takes a minute. How listing works.
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.