summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-14use a python package instead of just modulesOlivier Gayot
The package is contained in the CAO/ folder. server.py is still at the root of the repository though. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09README: explain how to setup and startOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09mobile: handle the collection of the cards and the designationOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09ui: allow to get the played cards from the ifacesOlivier Gayot
the card descripts and their associated callbacks are saved in the page. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09mobile: allow a player to select a cardOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09ui: allow to get the event associated with a cardOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09ui: handle the changes of game state in a generic wayOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09ui: handle the number of played cards properlyOlivier Gayot
the number is stored in the cao object and can be retrieved by the mobile / desktop part. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09mobile: use .text instead of .html for numbersOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-09ui: allow to check if we are judgeOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08mobile: handle the scoreOlivier Gayot
updates in the score are reflected in the top bar of the mobile iface. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08desktop: handle the scoreOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08handle the notification for score updateOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08send a notification when the score is updatedOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08generate the callbacks for white cards in the common partOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08removed example contentOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08added the jquery filesOlivier Gayot
jquery.js is a symlink to the version in use Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08Add some animations.Jeremie Taboada
2015-06-08Fix header padding.Jeremie Taboada
2015-06-08Fix css!Jeremie Taboada
2015-06-08Add meta!!!!!Jeremie Taboada
2015-06-08Fix double trigger become_judge.Jeremie Taboada
2015-06-08Fix merge fail.Jeremie Taboada
2015-06-08Continue implementation.Jeremie Taboada
2015-06-08Continue UI integration.Jeremie Taboada
2015-06-08Add bower.jsonJeremie Taboada
2015-06-08Update gitignore.Jeremie Taboada
2015-06-08Add become judge page.Jeremie Taboada
2015-06-08Add UI and start integration.Jeremie Taboada
2015-06-08added .gitignoreOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08the server now handles the language properlyOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-08server: multilingual/french supportOlivier Gayot
moved the card files in a per-language directory as follows. * $LANG/cards/white * $LANG/cards/black Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05fix invalid field nameOlivier Gayot
renamed state in game_state Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05provide the state of the game to a newcomerOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05added the desktop content to the desktop fileOlivier Gayot
the content was removed from the common file but not rewrote in place Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05removed the promptOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05remove desktop things from the common fileOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05fixed invalid removal of cardOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05removed debug logsOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05handle the notifications on the clientOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05use a map to handle the response handlingOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05fix desktop code in the common partOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-05changed the structure of the notificationsOlivier Gayot
we now have the opcode and a 'content' section Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04transmit a new card to the player using a notificationOlivier Gayot
when it's time for another turn, we send a notification to the user plus its new card so he does not need to execute a query again. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04standardize the notificationsOlivier Gayot
use a proper syntax with opcode and no spaces in names Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04js: pay attention to the scope of the variablesOlivier Gayot
use the keyword var to avoid assigning them to the global object window. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04js: fixed invalid scope for thisOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04renamed the title pagesOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-06-04listen to the world instead of localhostOlivier Gayot
it is dangerous, but that's what is interesting ! 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>