Hackthon project.
Classic https://www.ultraboardgames.com/avalon/game-rules.php
New Rules? Todo
Install expo: https://expo.io/learn
make launch // will launch mobile & server
- Install the Expo app on your Android or iOS device.
- On iOS, press 'e' in the terminal to send the app link to your email address or phone number. This link can be used to run your project from the Expo app.
- Scan the QR code in your terminal from the Expo app to run the project on your phone.
- User provides a username (✅)
- User is flagged as master or slave (✅)
- User get an error if the socket is not opened (✅)
- Master creates a room (✅)
- Slave is denied if the room number does not exist (✅)
- Slave can join a room (✅)
- Slave gets a loading state (✅)
- Master receives the infos of the new players (✅, but to check...)
- Master can validate the room to go to the game (✅)
- Master receives the infos of the disconnected players
- Get a list of the roles to add
- Setup the config of the game
- Gather the sockets in modules for more clarity
- Proper logs every calls to the socket for a better debug