A free visualization — play it in your browser, no install. 把 BFS、DFS、Dijkstra、A*、泛洪填充等 8 种算法放进同一张迷宫,实时抢地盘并按占领面积排名。
Made this, @MYY114? See how many people played it → or use email
Controls: Space
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把 泛洪填充、BFS、DFS、Dijkstra、A\*、贪心、双向 BFS、双向 A\* 放进同一张迷宫,让它们同时向外扩张、互相抢格,最后按占领面积排名。
一张 2D 迷宫,所有格子天然连通,墙只存在于格子之间。 2–8 个算法从不同出生点出发,每轮从自己的 frontier 取格子占领。 已被别人占领的格子不能重复占领,抢空会记入 wasted。 地图被占满、所有算法都卡住,或连续多轮无人扩张时结束。 结束后按 cells(占领格数)降序排名,wasted 少者优先,再按名称排序。 纯静态前端,Canvas 2D 渲染,无构建步骤、无第三方依赖。
要求:现代 Chromium / Firefox / Safari,支持 Canvas 2D、Path2D、ResizeObserver。
递归回溯生成完美迷宫,再按 开阔度 随机打通一部分墙,并挖出 5 个小广场,制造环路和可争夺的开阔地。 墙位掩码:N=1, E=2, S=4, W=8,墙位于格子边缘,不占格。 出生点:四角 + 四边中点,共 8 个锚点;按参赛数量选择布局,2 个用对角,4 个用四角,8 个全开。 每轮行动顺序由 seeded RNG 打乱;同一个种子和阵容会得到同一局过程与结果。
断言覆盖:地图总格数、房间数量、终局覆盖率、冠军、排名、占领格数总和、同种子重跑一致性。
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.