A free snake game — play it in your browser, no install. C++/EasyX 贪吃蛇移植到网页,带 AI 自动玩(BFS)和思路可视化. 一个从 C++ / EasyX 桌面游戏起步、后来移植到网页的贪吃蛇。粉色像素风,吃食物时有粒子爆开和屏幕抖动,越吃越快,还可以按 T 让 AI 接手自动玩。 原始代码保留在 original/,v2 的 C++ 版在 cpp-easyx/,网页版就是根目录的 index.html。 在网页版里按 V 可以直接看到这个过程:淡蓝色格子是 BFS 搜过的范围,蓝线是安全的去食物路线,红色虚线是被否决的路线(吃了会困死),黄线是改去追尾巴的路线。 测试中,空棋盘上跑了 3 局,AI 有 2 局把 726 格全部吃满。…
Vote and save it — free account with email or sign in with GitHub
Made this, @Yiyishirley? See how many people played it → or use email
📅 Three new games every day, no account needed · Play today’s three →
Controls: Mouse
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一个从 C++ / EasyX 桌面游戏起步、后来移植到网页的贪吃蛇。粉色像素风,吃食物时有粒子爆开和屏幕抖动,越吃越快,还可以按 T 让 AI 接手自动玩。
原始代码保留在 original/,v2 的 C++ 版在 cpp-easyx/,网页版就是根目录的 index.html。
在网页版里按 V 可以直接看到这个过程:淡蓝色格子是 BFS 搜过的范围,蓝线是安全的去食物路线,红色虚线是被否决的路线(吃了会困死),黄线是改去追尾巴的路线。
测试中,空棋盘上跑了 3 局,AI 有 2 局把 726 格全部吃满。
网页版:直接用浏览器打开 index.html。部署到 GitHub Pages:仓库 Settings → Pages → Source 选 main 分支根目录。
C++ 版(Windows + Visual Studio + EasyX):
v1 由我独立用 C++ 完成。v2 的移植和重构使用了 AI 辅助编程(Claude)。我负责需求、测试、找 bug 和确定方案,AI 协助写代码。
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.