A free browser game — play it in your browser, no install. 双人坦克大战 · 纯前端双人坦克对战(电脑同屏 / 手机双摇杆 / 房间号联机),单文件 HTML 即开即玩
Made this, @nm9763? See how many people played it → or use email
Best with a keyboard.
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一个纯前端(零依赖、零安装)的双人坦克对战小游戏,单文件 HTML 即开即玩。 支持 电脑双人同屏、手机双摇杆,以及 房间号联机对战。
所有版本都是独立的单 HTML 文件,双击即玩,不需要 Node、不需要构建、不联网(联机版除外)。
也可以直接把文件拖进浏览器,或用任意静态服务器托管(见下方「本地运行」)。
单人模式下玩家 2 由 AI 接管。 支持选图、回合制、比分统计,先到 5 分获胜。 模式选择界面按 1 / 2 或 ← → 选模式,Enter 进入选地图。
左右双摇杆,左侧移动、右侧瞄准/开火,布雷按钮独立。 自动强制横屏(整页旋转 90°,不依赖系统旋转锁)。 适配刘海屏/安全区,禁用手势缩放与长按菜单。
一台点「创建房间」拿到 6 位房间号,另一台输入房间号加入。 房主做权威模拟,成员不跑本地物理,画面由房主 25Hz 快照驱动,保证双方一致。 成员本机的方向按键被采集为方向布尔量上报,由房主映射为玩家 2 键位。
四张地图:经典对称、回廊纵横、环形要塞、四分战场,四张地图共用紧贴活动区外侧的边界墙。 道具系统(9 种):补血 +、快速射击 »、三连发 ≡、加速 ^、护盾 🛡、反弹弹 🔄、穿甲弹 💥、冻结 ❄、地雷包 💣。 散射会削弱单发伤害(15),避免三连过于无解。 地雷:贴身缠斗时可布雷逼走位,AI 也会躲雷。
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.