golang v1.13.12
download golang code from https://golang.org/dl/
$ go version
go version go1.13.12 darwin/amd64
activate the game sever. default running port is 8080
go run main.go
connecting from clients, at least four players required to start a match.
netcat localhost 8080
this is game screen. the player having >>
marker is the turn player and can discard a tile by typing tile's name
┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐
│ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ │
└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘
┌──┐
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘ ┌──┐
│ │ │ │
└──┘ └──┘
│ │ │ │
└──┘ └──┘
│ │ │ │
└──┘ └──┘
│ │ │ │
└──┘ └──┘
│ │ │ │
└──┘ └──┘
│ │ │ │
└──┘ └──┘
└──┘ │ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
│ │
└──┘
└──┘
┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐
│m1││m3││m4││m8││m8││m9││p3││p5││p6││p8││p9││s1││西│ │s3│
└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘ └──┘
>>
you can take huro actions (chii, pon, kan) in other player's turn.
chooing huro action can be done by typing action name (chii, pon, kan, ron riichi, tsumo), and index.
in the below example, you would do riichi by discarding p1
.
riichi>> 0: (m9) 1: (m9) 2: (p1) 3: (p1)
>>riichi 3