◀ VibeCruiser

gomoku duel

A free board game — play it in your browser, no install. 浏览器五子棋 / 围棋:WebRTC 点对点联机、本地 AI 辅助与人机对战(纯静态,零构建)

by @Alexander-cloud123 · Alexander-cloud123/gomoku-duel on GitHubLANG JavaScriptHOSTED ON GOMOKU-DUEL.PAGES.DEVUPDATED 8 Nov 2026

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

▶ 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

浏览器端五子棋 / 围棋,支持 WebRTC 点对点联机、人机对战 与 本地 AI 辅助。纯静态、零构建、无后端,打开网页即可对局。

一个完全在浏览器中运行的双人棋类应用:房主生成 6 位房间号,对手输入即可通过 WebRTC 直连,对局数据不经过任何服务器;也可以直接与本地 AI 对战。

它不是一个在线游戏平台——没有账号、匹配、排行、观战,也没有服务端存储。全部逻辑(规则、状态机、渲染、AI)都在客户端,站点只是静态文件。

6 位房间号创建 / 加入,支持深链邀请 ?room=CODE&mode=... 握手校验棋种、棋盘尺寸、贴目与协议版本;模式不匹配时明确拒绝并自动切换。 落子经双端规则校验;消息带版本与序号,重复丢弃、缺口自动重同步。 心跳检测 + 60 秒断线重连窗口,重连后按房主快照恢复盘面。 房间满员、房间不存在、创建冲突等错误均有中文提示。

三档难度:入门 / 进阶 / 高手,五子棋与围棋共用入口。 AI 在 Web Worker 中思考,主线程不卡顿;Worker 不可用时自动降级并缩短预算。 围棋 AI 会判断虚手,规避自杀与打劫禁着。

提子、自杀禁着、打劫、位置超级劫。 双虚手进入点目:可点击棋组标记死子,双方确认后按中国规则数子结算。 悔棋截断历史后完整回放,提子数与劫状态不会丢失。

局面评估(棋型启发式,非概率真值).

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 →