◀ VibeCruiser

ai2048

A free 2048 game — play it in your browser, no install. 2048 AI V11.8 · 单文件离线可玩,WASM + JS 双引擎自动求解,四档强度(含神级高分残局共识复核)+ 三态安全证明与风险复核 + Web Worker 调度

by @yyh-0428 · yyh-0428/ai2048 on GitHubLANG HTML★ 2HOSTED ON YYH-0428.GITHUB.IOUPDATED 6 Oct 2026

Vote and save it — continue with GitHub or sign in free

Made this, @yyh-0428? See how many people played it → or use email

Best with a keyboard.

▶ Play full screen ▲ Vote with GitHub ▲ Vote with email

GitHub asks to share your profile and email with us. We never post anything.

Open the live demo Source on GitHub

From the README

一个完全离线、本机计算的 2048 AI。单文件 HTML 打开即用,不需要账号、不需要联网、不上传任何数据。引擎用 bitboard Expectimax 主搜索,叠加三态安全证明、生存检查和独立 verifier 风险层;神级档在此之上还有高分残局共识复核与一组默认关闭的实验规划器。

本仓库是 V11.8 检查点版本:默认神级策略与 V11.6 完全一致,新增的反事实续命规划 / 学习型生存谱等候选默认关闭,尚未通过独立终局验收。详见 版本状态。

双击 启动 2048 AI.command,浏览器自动打开 停止本地服务.command`。

高分残局存活:以 8 个真实高分残局为起点(4 局约 17 万分 + 4 局约 23 万分),恢复棋盘、分数、累计步数与完整随机流,神级模式跑到终局:

单步耗时:230 个棋盘(开局 / 中局 / 高分残局)× 3 轮,预热后热缓存测量——平均 1.6 ms,中位 1.1 ms,p95 4.3 ms。

复测会另写带时间戳的文件;仅显式 RESUME=1 可恢复匹配策略/随机流的中断报告。基准时不要同时运行其他 CPU 密集任务。

从 C 源码重编译 WASM 需要带 WebAssembly 目标和链接器的 clang;编译器版本可能改变浮点与模块布局,重编译后必须再跑构建、测试和基准。

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 →