Age | Commit message (Collapse) | Author |
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
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>
|
|
we return the list of played cards to the judge when he collects them.
this avoids a query to view_played_cards().
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
the problem with the list is that when we take a card in the middle, the
following indexes are shifted. It is inconvenient to shift them on the
end user side's so we use a map with incremented indexes.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
when the queries are successful, we try to give more usable information
to the user so that no more queries are needed.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
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>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
The server is ready to deal with requests from web browsers.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
the judge tends to know with card belong to who if he can see the order
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
the main file of the project is useless tho for now on
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|