Ce dépôt a été archivé le 2016-11-13. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
Aller au fichier
Andreas Zweili 6b2504ae81 add space to the stats
Adding a bit white space makes the stats more readable.
2016-11-13 12:22:41 +01:00
pygame add python mixer 2016-11-08 21:35:36 +01:00
.gitignore add vim swap files to the gitignore file 2016-11-12 19:48:01 +01:00
LICENSE Initial commit 2015-07-04 17:26:21 +02:00
README.md Clean up the readme file 2016-11-12 19:59:10 +01: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 add space to the stats 2016-11-13 12:22:41 +01:00
pet_variables.py add the pygame library 2016-11-08 11:58:47 +01:00
tamagotchi.py Merge branch 'master' of git.2li.ch:Nebucatnetzer/tamagotchi 2016-11-13 11:01:27 +01:00
tamagotchi.sh add space to the stats 2016-11-13 12:22:41 +01:00

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)