Skip to content
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

Make a userprofile model to interface with the server. #55

Open
FaisalAlwazir opened this issue Sep 6, 2020 · 2 comments
Open

Make a userprofile model to interface with the server. #55

FaisalAlwazir opened this issue Sep 6, 2020 · 2 comments

Comments

@FaisalAlwazir
Copy link
Collaborator

This class will include everything that the player would need stored in the server. This class deals with the info that'll be needed by the widgits to render everything other than the gameplay (home screen, lobby, friends list, settings and maybe even a history or a stats page). This class will have properties that are automatically populated from the firestore database after login. These properties will then be the info source for the widgets.

Below is some of the info i can think off the top of my head. Please add anything that comes to mind.

ID (Auto generated by fireauth)
Username
DOB
Display Photo (url)
Gender?
Game Record
Friends List
Blocked List

@alnah005
Copy link
Owner

alnah005 commented Sep 6, 2020

I'm afraid this class has some similarities with what you have implemented.
Also this reminds me of the T class in GameState and RoundState.

@FaisalAlwazir
Copy link
Collaborator Author

FaisalAlwazir commented Sep 6, 2020

This class will include everything that the player would need stored in the server. This class deals with the info that'll be needed by the widgits to render everything other than the gameplay

I had that class in mind when i started the issue. I thought that it would deal with the game/round state not the other ui. as they would have unique interactions with the server during gamepaly

@FaisalAlwazir FaisalAlwazir changed the title Make a player class to interface with the server. Make a userprofile model to interface with the server. Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants