uprm-inso4117-2023-2024-s2 / semester-project-study-pet

semester-project-study-pet created by GitHub Classroom
1 stars 3 forks source link

Health hunger balance #329

Closed CaribbeanCool closed 2 months ago

CaribbeanCool commented 2 months ago

This PR contains the code that balances the values of happiness and hunger when playing the minigames. The calculations can change. I just put a placeholder.

CaribbeanCool commented 2 months ago

@PinkSylvie

Case 1: Eat minigame (Hard difficulty)

Screenshot 2024-04-25 230542 Screenshot 2024-04-25 230550

Case 2: Game page minigame (easy difficulty)

Screenshot 2024-04-25 230945 Screenshot 2024-04-25 230951

CaribbeanCool commented 2 months ago

@PinkSylvie

Case 3: Bath Game (Easy difficulty)

image image

PinkSylvie commented 2 months ago

image The balance isnt reflected in the stats or in the score so I cant see the balance actually happening

gabrielpadilla7 commented 2 months ago

@PinkSylvie Is this PR ready for merging or do changes need to be made? I ask becuase of your last comment

PinkSylvie commented 2 months ago

Since last time I tried it I havent seen the changes be reflected

gabrielpadilla7 commented 2 months ago

Since last time I tried it I havent seen the changes be reflected

Then I won't merge it in the meantime

CaribbeanCool commented 2 months ago

@PinkSylvie The logic for the hunger and happiness balance is there. Still, I can't move forward since there are problems with AsyncStorage (specifically showing the new increments properly in the result screen).

PinkSylvie commented 2 months ago

I see no evidence of the balance, no logs. no change, no anything. Only the code

CaribbeanCool commented 2 months ago

@PinkSylvie What about the photos above? The three cases show the result screen and the console logs of the new calculations for these games

PinkSylvie commented 2 months ago

Doesnt appear on my side