This project is a single page application with a Pong game and a chat.
You need the appropriate .env file at the root of your project.
To launch the app you can use the command :
docker-compose up --build
You can use the mock login to access the game. A prompt is displayed if this is the first time you login.
![Trans_login](https://user-images.githubusercontent.com/46645713/203286845-2551b495-5852-4728-9a12-e0ce60276d8f.png)
The game can be played locally, against an AI or on separate computers. There are three maps with different themes.
![Trans_game](https://user-images.githubusercontent.com/46645713/203290415-320b41f7-84a2-477b-82d6-a3ad8d66df48.png)
User's stats are collected and can be viewed in the profile page. The user can view other players stats too.
![Trans_profile](https://user-images.githubusercontent.com/46645713/203285424-83a0d7fc-2f6c-4e9a-a6ff-b26069551520.png)
You can change your name, avatar and activate the Two Factor Authentication - using google authenticator - in the setting page.
![Trans_settings](https://user-images.githubusercontent.com/46645713/203291148-bedc4db4-390a-4bb5-8bf7-d75e6ef5b218.png)
When login with TFA you'll be asked to enter the pin displayed in the google auth app.
![Trans_TFA](https://user-images.githubusercontent.com/46645713/203292008-d218dcfa-692e-473b-bae2-983e3634bfb5.png)