initial commit

This commit is contained in:
luxick
2015-07-23 21:19:56 +02:00
commit 3aed036132
12 changed files with 94515 additions and 0 deletions

17
util.py Normal file
View File

@@ -0,0 +1,17 @@
#! /usr/bin/python
from tamagotchi import Tamagotchi
import random
import names
class Util:
def make_Tamagotchi(self):
name = names.get_last_name()
hunger = random.randrange(80,120,1)
happiness = random.randrange(80,120,1)
hygiene = random.randrange(80,120,1)
sleep = random.randrange(80,120,1)
decayspeed = random.randrange(1,3,1)
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed)