This repository has been archived on 2016-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Andreas Zweili b207707fa3 I think this branch is newer. 2016-06-28 22:15:09 +02:00
.gitignore try again 2015-07-26 18:33:12 +02:00
LICENSE Initial commit 2015-07-04 17:26:21 +02:00
README.md Moving the journal to my notes. 2015-08-30 11:49:38 +02:00
angry.mp3 adding the mp3 files 2015-07-12 22:12:27 +02:00
happy.mp3 adding the mp3 files 2015-07-12 22:12:27 +02:00
pet_functions.py I think this branch is newer. 2016-06-28 22:15:09 +02:00
tamagotchi.py I think this branch is newer. 2016-06-28 22:15:09 +02:00

README.md

tamagotchi

Todo

  • adding a function to decrease the health

Possible things to add

Some interesting things I could add to the tamagotchi programme which shouldn't be too hard:

  • sleeping with all values with over 50% full heals the pet if it has lost health
  • add pooping and cleaning function
  • let it get sick if it's health is low, by random chance or if there's too much poop
  • add sleep function, you have to switch the lights off otherwise it will have nightmare and loose one health point.
  • add the possibility to get sick. Maybe compare two random numbers.
  • add a function to restart the game or exit it after the pet died.
  • add a function let the user exit the game
  • safe the stats in a text file
  • make a separate function for each age because it makes the aging function more readable
  • add a function which lets the tamagotchi age (one week as a youngling, three weeks as an adult and two weeks as an elderly)