Categorygithub.com/blackkite0206233/golang-mahjong-server
repository
0.0.0-20190211072545-fc2bb652f77f
Repository: https://github.com/blackkite0206233/golang-mahjong-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Mahjong server

A Mahjong server written with Golang

Files

File NameDescription
mahjong / Action.goAction made by player
mahjong / Broadcast.goBroadcast message to player in same room
mahjong / GameLogic.goMain Mahjong logic
mahjong / GameManager.goRoom management , player matching, login/logout, etc.
mahjong / InputChecker.goCheck player's input
mahjong / Player.goStruct of player
mahjong / PlayerManager.goManage player list
mahjong / Room.goStruct of room
mahjong / RoomInfo.goRecover game state
mahjong / SocketEvent.goHandle socket event
mahjong / SSJ.goCheck Hu
mahjong / Suit.goStruct of Mahjong suit
mahjong / SuitSet.goA set of Mahjong suit
mahjong / Tile.goStruct of Mahjong tile
mahjong / Util.goUseful function
server.gomain program

TODO

  • Account System
  • Game log storing
  • AI