@CHRISTOPHERTIPP/

# kingdom crawlers

## No description

Files
• main.py
main.py
```1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
```
```import time, random, os
gold=10
army=0
rule=0
contries=5
taxes=0
your_contuies=0
foodtosell=0
influence=0
yardia=19
day=1
#First
print("Hello",a)
time.sleep(0.4999999)
a=input("Do you know how to play?")
if a=='n':
print()

def clear():
os.system("clear")
while rule==0:
print("Day",day)
print("You have",foodtosell,"food, and",gold,'Gold')
actions=input("What do you want to do today?\nA: Farm\nB: Sell\nC: Nothing\n")

if actions=='a':
foodtosell+=2

if actions=='b':
for i in range(foodtosell):
gold+=random.randint(-2,5)
foodtosell=0

if gold>100:
rule+=1
print("You leveled up!")

gold-=1

if gold<0:
print("You lost")
time.sleep(1000.892318947717892837401092834789321074)
break
clear()
yardia+=random.randint(-5,yardia+5)
day+=1

while rule==1:
print("Day",day)
print("You have",foodtosell,"food,",influence,'influence and',gold,'Gold')
actions=input("What do you want to do today?\nA: Go to the town square and sing\nB: Go farm\nC: Sell your food\nD: Nothing\n:")

a=random.randint(1,yardia)

if actions=='a':
influence+=a*random.randint(-1,3)

if actions=='b':
foodtosell+=random.randint(1,2)

if actions=='c':
gold+=random.randint(-5,foodtosell+2)
foodtosell=0

if influence>100:
rule+=1
print("You leveled up!")

gold-=random.randint(1,5)

if gold<0:
print("You lost")
time.sleep(1000.892318947717892837401092834789321074)

clear()
yardia+=random.randint(-7,yardia+7)
day+=1

```