module
Version:
v0.0.0-...-fc2bb65
Opens a new window with list of versions in this module.
Published: Feb 11, 2019
License: MIT
Opens a new window with license information.
README
¶
Mahjong server
A Mahjong server written with Golang
Files
File Name |
Description |
mahjong / Action.go |
Action made by player |
mahjong / Broadcast.go |
Broadcast message to player in same room |
mahjong / GameLogic.go |
Main Mahjong logic |
mahjong / GameManager.go |
Room management , player matching, login/logout, etc. |
mahjong / InputChecker.go |
Check player's input |
mahjong / Player.go |
Struct of player |
mahjong / PlayerManager.go |
Manage player list |
mahjong / Room.go |
Struct of room |
mahjong / RoomInfo.go |
Recover game state |
mahjong / SocketEvent.go |
Handle socket event |
mahjong / SSJ.go |
Check Hu |
mahjong / Suit.go |
Struct of Mahjong suit |
mahjong / SuitSet.go |
A set of Mahjong suit |
mahjong / Tile.go |
Struct of Mahjong tile |
mahjong / Util.go |
Useful function |
server.go |
main program |
TODO
- Account System
- Game log storing
- AI
Directories
¶
Click to show internal directories.
Click to hide internal directories.