◀ VibeCruiser

LeaferJS game

A free browser game — play it in your browser, no install. 打开就能玩的 2D 小游戏:LeaferJS 单文件 HTML,键盘 + 触屏双输入

by @liuwenjin · liuwenjin/LeaferJS-game on GitHubLANG VueHOSTED ON TRANSWEB.CNUPDATED 23 Nov 2026

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

Controls: Space

▶ 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

可独立运行的网页版 2D 游戏生成器

纯前端 + AIGC:输入一句玩法描述,生成一个打开就能玩、手机也能玩的 2D 小游戏。 仓库包含 AIGC 结构化提示词、前端结果渲染组件与本地网页入口;AI 推理由 transweb.cn 的 serverless 服务提供。

LeaferJS Game 是一个可独立运行的网页版 2D 游戏生成器,也是一个纯前端项目。

仓库内没有自建后端、没有数据库、没有构建配置,也不需要在本地安装依赖。打开 appPage.html,输入一句玩法描述,前端会把用户输入与当前应用标识提交给 transweb.cn 的 serverless 服务;服务按 AIGC 结构化提示词调用大模型,流式返回 JSON,前端组件解析后渲染成可完整游玩的小游戏,并支持版本管理、编辑与导出。

appPrompt.md 是本项目的 AIGC 结构化提示词,也是模型输出必须遵守的契约。 在线应用按 documentId 绑定平台侧的提示词配置;前端提交的是用户输入(context)与应用标识,而不是每次都上传整份提示词。 修改仓库里的 appPrompt.md 不会自动改变线上应用;需要在平台更新提示词配置,或把提示词接入你自建的 serverless 服务。

Read the full README on GitHub →

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

More like this

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 →