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

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

Eat minigame availability #301

Closed CaribbeanCool closed 5 months ago

CaribbeanCool commented 6 months ago

Added functionality of user not having access to Eat minigame when not hungry close #300 image

CaribbeanCool commented 6 months ago

The condition for this exact page to show up is when the hunger is below or equal to ten

CaribbeanCool commented 6 months ago

@gabrielpadilla7 This is the photo when I run it on Expo Go: WhatsApp Image 2024-04-01 at 23 27 10_e2843c9e

Right now I don't know how to trespass the pet being asleep, and I cant feed the pet

CaribbeanCool commented 6 months ago

@gabrielpadilla7 @PinkSylvie

PinkSylvie commented 5 months ago

It's giving me this warning. But other than that it runs nicely, I changed the hunger to see how it allowed you access when the hunger was above 0 and didn't allow the pet to eat when it wasn't. Other than this tiny detail it looks great, Good workimage

CaribbeanCool commented 5 months ago

@PinkSylvie I put a conditional (can be changed) that when the hunger goes above 10, then you can eat. I changed it to 11 and it let me play

image


image

PinkSylvie commented 5 months ago

Don't worry I was able to play and test it despite the warnings. Just don't think is a good idea to merge it with those warnings going on

CaribbeanCool commented 5 months ago

@PinkSylvie I think I fixed the warning. Let me know 👍

CaribbeanCool commented 5 months ago

Can I merge?

PinkSylvie commented 5 months ago

Looks ready to merge!