- Messaging between Client and Server is like that:
- connectToServer(username) - Client
- newUserOnline(tables,user) - Server
- connectToTable(tableID) - Client
- userConnectedToTable(tables,user) - Server
- gameStarted(tables) - Server
- numberChosen(table,number) - Server
- gameFinished(table,winner) - Server
- gameRestarted(tables) - Server
- userLeaveFromTable(user) - Client
- userDisconnectedFromTable(tables,players) - Server
- userDisconnectedFromGame(tables,players) - Server
- sendChatMessage(message) - Client
- userSendChatMessage(user.message) - Server
- sendChatMessageToUser(message,user) - Client
- userSentChatMessageToUser(message,user) - Server
- Messages should be implemented
- Client design should be completed
- Client implementation should be started