8000 GitHub - gamelife2025/gomoku: online
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gamelife2025/gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

五子棋

在线五子棋

前言

该游戏是基于Websocket开发的,采用Go + Bootstrap5
你可以了解到:

  • 五子棋盘的实现 --> internal/chessboard
  • 简单的断线重连

特性

  • 创建房间、加入房间、离开房间
  • 随机先手
  • 游戏重开(仅房主)
  • 自动转移房主(对方退出房间)
  • 断线重连
  • 多人观战
  • 悔棋

开始

go run main.go
  • UI image

参考资料

About

online

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0