Skip to content
/ gomoku Public

A multi-player real-time console Gomoku game in Go

Notifications You must be signed in to change notification settings

y1hao/gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gomoku

Gomoku is a console Gomoku game (connect-5) written in Go. It uses Websocket to support real-time multi-client gaming and also supports chatting.

How to play

Download code

$ git clone https://github.com/CoderYihaoWang/gomoku.git

Start the server

# from the project folder
$ go run cmd/server/main.go

The server starts without output.

Start clients

Open another command line:

# from the project folder
$ go run cmd/client/main.go

This will display a board like the following (Notice the Your invitation code: xxxx line at the bottom):

Open another terminal, start a client with the invitation code:

$ go run cmd/client/main.go --code=xxxx # xxxx is the invitation code

Enjoy your game!

About

A multi-player real-time console Gomoku game in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages