parent
6e327b4db9
commit
ce31b6c748
47
README.md
47
README.md
|
@ -15,47 +15,6 @@ tamagotchi programme which shouldn't be too hard:
|
||||||
* add a function to restart the game or exit it after the pet died.
|
* add a function to restart the game or exit it after the pet died.
|
||||||
* add a function let the user exit the game
|
* add a function let the user exit the game
|
||||||
* safe the stats in a text file
|
* safe the stats in a text file
|
||||||
* make a seperate function for each age because it makes the aging
|
* make a separate function for each age because it makes the aging
|
||||||
funciton more readable
|
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)
|
* add a function which lets the tamagotchi age (one week as a youngling, three weeks as an adult and two weeks as an elderly)
|
||||||
|
|
||||||
## 30.6.2015
|
|
||||||
Time function has to be implemented otherwise the decrease functions
|
|
||||||
won't work. It seems to work however the import time part has to go into
|
|
||||||
the pet_functions.py file. Maybe I should move all the imports to that
|
|
||||||
file otherwise it's not clear why they are needed.
|
|
||||||
|
|
||||||
Moved all the imports to there relevant place
|
|
||||||
And added the time import. Things are working now like intended.
|
|
||||||
However the pet doesn't get updated automatically.
|
|
||||||
I currently don't know how to achieve that.
|
|
||||||
I'll have to ask reddit how to do it.
|
|
||||||
|
|
||||||
## 06.07.2015
|
|
||||||
I've written a function to decrease the stats in the background.
|
|
||||||
Means the tamagotchi can now get hungry etc.
|
|
||||||
However it currently doesn't work. I don't know why atm. If you call it
|
|
||||||
independently it works just fine.
|
|
||||||
|
|
||||||
In addition I've cleaned up the code a bit and made sure that the stats
|
|
||||||
variables don't fall under 0 because that might cause some problems
|
|
||||||
in the future.
|
|
||||||
|
|
||||||
## 07.07.2015
|
|
||||||
I've fixed the decrease_stats function. However I wanted that it only
|
|
||||||
starts after the beginning is finished. So that the pet doesn't start
|
|
||||||
with a disadvantage. I currently don't know how to fix this. For the
|
|
||||||
moment it will work like this. I could add a function to the beginning
|
|
||||||
which resets the stats back to the default values. Might be a good work-
|
|
||||||
around however for the future I would like how to do it properly.
|
|
||||||
|
|
||||||
## 08.07.2015
|
|
||||||
The feature to the pet the pet will be so that it only prints a message.
|
|
||||||
It wouldn't be fun if it would increase happiness because that would be
|
|
||||||
too easy.
|
|
||||||
|
|
||||||
## 12.07.2015
|
|
||||||
Added the function to poke the pet and it will speak.
|
|
||||||
If you poke to many times it will get angry.
|
|
||||||
I added as well a function which will let the pet sleep.
|
|
||||||
However atm it doesn't work as intended.
|
|
Reference in New Issue