激斗红潮代码架构

时间:2021-04-08 11:01:25
【文件属性】:

文件名称:激斗红潮代码架构

文件大小:882B

文件格式:MD

更新时间:2021-04-08 11:01:25

代码架构

关于代码架构 抽象+细节 Package game class GodActor /* *control the game (统领子系统) *receive & send & loop control *1.All kinds of rule systems : Checker *2.hold all the states *God disappears after a game ends */ object UsersDB /* *long-lasting static database *hold players' information *1.auth *2.stats *3. */ object MatcherActor /* *match players *1.get info from SessionsManager *2.get info from PlayersDB *3.awakened by SessionManager */ object SessionsManagerActor /* *1.interact with systems out of package game *2.send msg to other game system *contact with player */ object SkillsChecker object MapChecker object GambleChecker object PlayerChecker XXXX /* *define route */ object HttpRoute


网友评论