-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Che bato/private lobbies #39
Conversation
CheBato
commented
Jan 3, 2025
•
edited
Loading
edited
- Added ability to create private lobbies.
- Added link support for joining game.
- Refactored FetchDeckData since we are using it in three locations I made it as a utility function.
- homestretch
- added copy invite link.
- Fixed bug with usernames and ids for the game.
- Adjusted FE to work with changes to the BE.
- Adjusted FE to work with changes to the BE.
- Cleaned console.logs
I hit an error when trying to pick first player while I was player 2. Seems like the player name was not being set for the game. CardClicked should probably be switched to use the players id instead of their name, but it would probably be good to have it working either way. |
Absolutely seems like I missed this during my initial testing. I'll have a look and fix it up asap. My mistake |
- Fixed bug with privateLobbies and username. in the Game.context.tsx we had to add username to the JSON user when setting the newSocket since once we set the socket it cannot be changed.
- Added X functionality to the gameboard so that we can return to the homepage when clicking X.