Skip to content

Add pet health, feeding and image#12

Merged
matt-dray merged 7 commits intomainfrom
3-hp
Oct 29, 2025
Merged

Add pet health, feeding and image#12
matt-dray merged 7 commits intomainfrom
3-hp

Conversation

@matt-dray
Copy link
Copy Markdown
Owner

Close #3, close #4, close #7.

  • Added health to stats with max 10, which depletes 1 unit per hour and cannot go below 0.
  • Added update_*() functions to update health and stats values in the stats json file.
  • Added see_pet() to print an image of the pet, added 'see' action to menu.
  • Added feed_pet() to raise the pet's health by 1, added 'feed' action to menu.

@matt-dray matt-dray added this to the v0.1.0 milestone Oct 29, 2025
@matt-dray matt-dray self-assigned this Oct 29, 2025
@matt-dray matt-dray added enhancement New feature or request priority: must MoSCoW priority labels Oct 29, 2025
@matt-dray matt-dray merged commit 0a08427 into main Oct 29, 2025
8 checks passed
@matt-dray matt-dray deleted the 3-hp branch October 29, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: must MoSCoW priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add health-improvement method Add pet image Add health and deplete with time

1 participant