The –game-timeout option was added to specify that a game left unattended during more than 24h should either be canceled or proceed to the next state. At present the author of the game is required to act to go from the invitation state to the vote state and then to the complete state. The same functions used for the timeout could be used to automate these steps.
Continue reading “cardstories part 14: cancel and autoplay”
cardstories part 13: long polling client
The JavaScript client has been adapted to give immediate feedback when an event occurs using the long polling notification service. The game is refreshed as soon as an action is required from the player or when (s)he is invited to a new game.
Continue reading “cardstories part 13: long polling client”
cardstories part 12: long polling server
The poll method has been added server side to implement a notification mechanism inspired by long polling.
Continue reading “cardstories part 12: long polling server”
cardstories part 11: artwork task list
The list of completed games has been integrated and implemented. A skin gallery was completed to conveniently displayed all the integrated pages without a need to actually play the game. A summary of all the requests was produce for Xavier Antoviaque and tartarugafeliz to work on.
Continue reading “cardstories part 11: artwork task list”
cardstories part 10: packaging and testing
A python package, a Debian GNU/Linux package and a twistd plugin were bundled together. The server side tests and client side tests can be run with a single command.
Continue reading “cardstories part 10: packaging and testing”
cardstories part 9 : lobby
The list of games in progress and finished were integrated. The lobby function was added to the webservice server. The list of games in progress is now the first step when entering the client.
Continue reading “cardstories part 9 : lobby”
cardstories part 8 : invitations
The invitations were implemented, server and client side. They can be sent immediately after the author of the game defined it. A skin gallery was introduced to facilitate further integration works.
Continue reading “cardstories part 8 : invitations”
cardstories part 7: CSS Integration
The complete state and the vote state were integrated. It revealed missing features from jqDock. A few problems in the workflow of the game and the user interaction were found and discussed with Xavier Antoviaque.
Continue reading “cardstories part 7: CSS Integration”
cardstories part 6: CSS integration
The game creation pages ( pick a card and write a sentence ) and the author view of the invitation state were integrated.
Continue reading “cardstories part 6: CSS integration”
cardstories part 5: authentication
The auth.py module and its client counterpart were added to allow for string player identifiers instead of numbers. The display is clarified by showing only the HTML related to the current state of the game, using the cardstories_active CSS selector.
Continue reading “cardstories part 5: authentication”