Age | Commit message (Collapse) | Author |
|
the card descripts and their associated callbacks are saved in the page.
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 number is stored in the cao object and can be retrieved by the
mobile / desktop part.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
updates in the score are reflected in the top bar of the mobile
iface.
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>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
jquery.js is a symlink to the version in use
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
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>
|
|
renamed state in game_state
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
the content was removed from the common file but not rewrote in place
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>
|
|
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>
|
|
we now have the opcode and a 'content' section
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
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>
|
|
use a proper syntax with opcode and no spaces in names
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
use the keyword var to avoid assigning them to the global object window.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
it is dangerous, but that's what is interesting !
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
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>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
moved from cao-common.js to cao-desktop.js
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|