-
Notifications
You must be signed in to change notification settings - Fork 2
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
Log-In for Users #14
Comments
Investigate Google Authentication to solve this feature. |
Added the google sign-in button for the app and tested locally that after sign in, the game is able to retrieve my google acct profile. After sign-in, the button changes to display "signed-in" and clicking it again or close the page automatically logs the user out. |
@yzd1998111 can you deploy this update to GCP, so we can see how it behaves? |
@yzd1998111 Also, show result of logged-in user by renaming Player 1's name and profile to the logged-in user. |
The loading screen now uses google acct profile image and name as the player's name/profile. If the user does not sign in, the default profile img/name is used. The old way of creating those players had some anti-patterns against React. (Players array is passed from parent to children and modified without making a deep copy, causing many weird bugs when I tried to add this new feature.) |
Info Needed to Track: introduce log-in for tracking the same user data from multiple games
The text was updated successfully, but these errors were encountered: