You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Zweili 6b2504ae81 add space to the stats 2 years ago
pygame add python mixer 2 years ago
.gitignore add vim swap files to the gitignore file 2 years ago
LICENSE Initial commit 4 years ago
README.md Clean up the readme file 2 years ago
angry.mp3 adding the mp3 files 4 years ago
happy.mp3 adding the mp3 files 4 years ago
pet_functions.py add space to the stats 2 years ago
pet_variables.py add the pygame library 2 years ago
tamagotchi.py Merge branch 'master' of git.2li.ch:Nebucatnetzer/tamagotchi 2 years ago
tamagotchi.sh add space to the stats 2 years ago

README.md

tamagotchi

Todo

Possible things to add

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

  • 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 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)