summaryrefslogtreecommitdiff
path: root/CAO_Client.py
AgeCommit message (Collapse)Author
2015-06-08the server now handles the language properlyOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04handle the disconnection of the clientsOlivier Gayot
when a client disconnects, we must not try to send him a message since its socket is destroyed. However, a race condition can still probably occur if a client is disconnected during the handling of a request which leads to a notification. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04added a system of notificationOlivier Gayot
what the client will receive will look like: {'type': TYPE, 'content': CONTENT} TYPE will be either 'notification' or 'response' CONTENT will be the content of the notification or the response Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04fixed: client considered in game even when refusedOlivier Gayot
the bug happened when we tried to join a full game. the client had game field set to the actual game even though it is not supposed to participate. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04implement a way to view the black cardOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04generate proper json to send to the clientsOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04the version version which seems to work correctlyOlivier Gayot
the main file of the project is useless tho for now on Signed-off-by: Olivier Gayot <duskcoder@gmail.com>