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

Generate monster when signup #23

Open
rogelio-o opened this issue Nov 21, 2018 · 0 comments
Open

Generate monster when signup #23

rogelio-o opened this issue Nov 21, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@rogelio-o
Copy link
Member

rogelio-o commented Nov 21, 2018

The first time a user signs up, a monster is generated and it's assigned to the user.

It can be done in the same process of signing up because it's not a expensive process.

The monster has to be added to the database with the following data:

  • Displaying hash
  • raceId
  • maxFoodLevel
  • currentFoodLevel (= maxFoodLevel when the bug is generated)
  • maxHappinessLevel
  • currentHappinessLevel (= maxHappinessLevel when the bug is generated)
  • name (random name when is generated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants