A free idle game — play it in your browser, no install. 单文件修仙宗门经营模拟器:零 DOM 纯逻辑内核 + Canvas/SVG 渲染,一份内核驱动小程序与网页两端
Made this, @Zyy-dev55? See how many people played it → or use email
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一个纯前端、零依赖、单文件的修仙宗门经营模拟器:开一间山门,招弟子、盖房子、派差事、路上撞见三选一事件,靠挂机涨修为,最后收山看结局。
内核是一份零 DOM 依赖的纯逻辑层(状态机 + 数值系统 + 事件池 + 存档序列化). 外面套两层壳:一层是微信小程序页面,一层是单文件 HTML(本仓库)。 所以同一个存档、同一套数值、同一批事件,在两端表现完全一致。
界面架构参考了同类产品(竖屏挂机主界面、事件金卡、弟子属性雷达与八格装备、修行日志、七日签到、排行榜)的信息布局,但人物、事件、台词、数值、头像与山水全部为自绘自写,未使用任何既有作品的美术资源与专有名词。
本仓库收录网页版(可直接运行的单文件构建)。完整工程另含小程序端与回归测试套件,未在此仓库展开;网页版的逻辑内核与小程序端同源。
1. 逻辑与渲染彻底分离 内核不碰 document、不碰 wx,只暴露「输入意图 → 输出状态快照」。网页壳订阅快照做差异渲染,小程序壳 setData。换端只换壳,不动内核。
2. 单文件分发 整个游戏打包成一个 HTML(约 220 KB),CSS 与 JS 内联,图形用 SVG/Canvas 现画。好处是分发成本为零:一个文件发给任何人、丢进任何静态托管都能跑,适合网吧/公用电脑这种「不能装东西」的场景。
导入时校验存档魔数与版本号,不匹配明确报错而不是静默损坏。
4.
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.