tamagotchis now feed and wash each other

This commit is contained in:
luxick
2015-07-26 19:06:09 +02:00
parent af5e4465d4
commit 3e80d61fc4
7 changed files with 109 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/python
from tamagotchi import Tamagotchi
import random
@@ -13,5 +13,6 @@ class Util:
hygiene = random.randrange(80,120,1)
sleep = random.randrange(80,120,1)
decayspeed = random.randrange(1,3,1)
potential = random.randrange(1,5,1)
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed)
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed,potential)