Garfield1002 / giffres_lettres

A small web game for the 2021 CentraleSupélec BDE campaigns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Des Giffres et des Lettres

A website for the 2021 CentraleSupélec BDE campaigns.

Screenshot.png

📖 Rules

The game is based on the french tv show Des chiffres et des lettres.

The point is to find a French word with 10 random letters. If the word exists, the player scores points based on the length of the word. Players points are then added in a global leaderboard.

⚙ Behind the scenes

I wanted to make a truly stateless server (for no particular reason) so I had to come up with an interesting solution.

Instead of using a cache, I used a system inspired by JWTs.

To stop the players from cheating I had to make sure that the letters where indeed randomly chosen by the server. To do that I signed the random letters using Fernet.

🐳 Tech stack

This website is built on my standard Dockerised Django setup.

⚖ Liscence

This code is provided under the MIT liscence

About

A small web game for the 2021 CentraleSupélec BDE campaigns


Languages

Language:Python 32.5%Language:HTML 30.9%Language:JavaScript 22.7%Language:CSS 6.9%Language:Dockerfile 5.9%Language:Shell 1.1%