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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Andreas Zweili 6b2504ae81 add space to the stats 6 years ago
pygame add python mixer 6 years ago
.gitignore add vim swap files to the gitignore file 6 years ago
LICENSE Initial commit 8 years ago Clean up the readme file 6 years ago
angry.mp3 adding the mp3 files 8 years ago
happy.mp3 adding the mp3 files 8 years ago add space to the stats 6 years ago add the pygame library 6 years ago Merge branch 'master' of 6 years ago add space to the stats 6 years ago



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)