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 c547871cbb add vim swap files to the gitignore file 2016-11-12 19:48:01 +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 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 Refactor all the lines with a length >80 characters 2016-11-12 19:39:03 +01:00
pet_variables.py add the pygame library 2016-11-08 11:58:47 +01:00
tamagotchi.py Refactor all the lines with a length >80 characters 2016-11-12 19:39:03 +01:00
tamagotchi.sh add a start script 2016-11-08 21:38:38 +01: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)