Switched to pyhton 3

This commit is contained in:
luxick
2015-11-06 21:12:13 +01:00
parent 9862998242
commit 4ff1a52075
4 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# The lenght of one game cycle in milliseconds
ticklenght = 0.005
ticklenght = 0.001
# Number of Tamagotchis to be created at the start of the simulation
startnr = 60
# The amount of points a Tamagotchi loses per tick
@@ -29,4 +29,5 @@ max_workpower = 6
min_recovery = 10
max_recovery = 20
# Define if simulation should be started paused or running
start_paused = False
start_paused = True

View File

@@ -44,7 +44,7 @@ class Mayorgotchi:
# 3 = Bathing
# 4 = Playing
# 5 = Working
result = [[] for x in xrange(6)]
result = [[] for x in range(6)]
for n in self.mygotchis:
if n.status is 'Idle':

Binary file not shown.

View File

@@ -14,7 +14,7 @@ ticks = 0
king = Kinggotchi()
ui = cursesUI(True)
for n in range(0, 30):
for n in range(0, 50):
king.add_village(Mayorgotchi(Util().make_list_of_Tamagotchis(startnr)))
while True: