A game about asymetric cryptography
Cryptris is a game designed to help people in getting a grasp about how cryptography works, by playing an arguably tetris-like game.
The whole application is designed to be a serverless application, hence the installation is pretty straightforward: simply clone this repository or download it as an archive.
Launching the game
To launch the game, simply open the
index.html file in a compatible web browser.
Configuring the game for using on a custom domain / url
Changin the app's url is just a matter of changing the url that social networks will use to fetch data about Cryptris (title, descriptions, picture previews…). Unfortunately, due to the serverless nature of this project, a few occurences of this url had to be hard-coded in the html files' meta tags. A global configuration variable is used everywhere else where the app's url is needed, this variable can be found in the
Before publishing the game, make sure that you proceed to the following:
- open up
- look for the line where
appUrl's actual value (e.g. http://inriamecsci.github.io/cryptris)
- search and replace this url in the game's
cryptrisSettings.appUrlto whatever your new url is.
- upload to your new url and carefully test that every sharing function still works as expected.
Be sure to update the app settings for facebook (facebook apps) and google+ (google API console), as of may 2014, twitter doesn't ask for this.
Hosting the game on github
To publish on github the only thing you need to do is to make sure that your
gh-pages branch is up-to-date and push it to your github account. You should be able to access it via http://[username].github.io/cryptris where [username] should be replaced by your actual github username.
Basé sur une idée originale de Léo Ducas
Mathieu Jouhet & Nicolas Pelletier
- Coordination : Service communication du centre de recherche Inria Paris - Rocquencourt
- Référents médiation : Thierry Vieville et Laurent Viennot
- Référent scientifique : Léo Ducas
- Directeur Artistique : Mathieu Jouhet (@daformat)
- Graphiste : Nicolas Pelletier
- Game engine : Vincent Mézino
- Test : Olivier Lance, Pierre-Jean Quilleré