◀ VibeCruiser

Nai2048

A free puzzle game — play it in your browser, no install. 奶蛙2048:纯 HTML+CSS+JS 的合成小游戏,往哪边滑重力就朝哪边(正方形棋盘 / 一次三只 / 在线排行榜,零依赖零构建)

by @YHSome · YHSome/Nai2048 on GitHubLANG JavaScriptHOSTED ON YHSOME.GITHUB.IOUPDATED 1 Oct 2026

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

Made this, @YHSome? 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

纯 HTML + CSS + JavaScript 的静态网页小游戏,零依赖、零构建、离线可玩, 玩法基于 BigNaiWa(合成大奶娃)的样例改出来的:

一群奶蛙漂在池塘里,它们不受重力影响。 你往哪个方向滑,重力就变成哪个方向 —— 奶蛙哗啦啦往那边掉过去, 两只同级的奶蛙撞到一起就合成下一级:2 → 4 → 8 → … → 2048。

棋盘是正方形(560×560):四个方向的重力完全等价。 长方形的话「上下」有 680 高、「左右」只有 400 宽,往左右甩会明显更难 —— 方形之后往哪边甩都一样宽。奶蛙的整体尺寸另外放大了 30%(SIZE_SCALE),节奏明显快了不少: 一局大约 70 秒 / 35~50 次滑动(随机乱甩的机器人实测,会玩的人更久)。

想按就按,输入不会被丢掉。 以前的规则是「一轮没走完,再滑不算」—— 得干等 1~2 秒,手感很糟。 现在改成:**按下方向键的那一刻,棋盘先瞬间快进到「整池完全静止 + 这一批新奶蛙已经出现」, 再执行这次输入**。所以手感是「按了立刻算完」,节奏完全由你决定,连按就是连打几个回合。 只有一种极端情况会提示等待:池子卡住、快进 4 秒都没静下来(那时欠账也到顶了), 才短暂地把方向键变淡一下(本来也快判负了)。 棋盘下面那条状态栏平时写着「可以滑了 → 选个方向」,结算期间是 「结算中…(按下即刻算完)」。

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 →