|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
import os , time , random
|
|
|
|
|
|
|
|
|
|
# current (saved) state
|
|
|
|
|
currentRoom = "milky way"
|
|
|
|
|
currentRoom = "venus"
|
|
|
|
|
start = True
|
|
|
|
|
colony = False
|
|
|
|
|
kill = 0
|
|
|
|
@ -30,10 +30,13 @@ class bcolors:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# separating the text and printing in delay
|
|
|
|
|
def printer (text):
|
|
|
|
|
def printer (text = "hello i am the default text", slow=True):
|
|
|
|
|
for t in text:
|
|
|
|
|
print(t, end = "", flush= True)
|
|
|
|
|
time.sleep(random.choice([0.01, 0.05, 0.1, 0.03, 0.02]))
|
|
|
|
|
if slow == True:
|
|
|
|
|
time.sleep(random.choice([0.01, 0.05, 0.1, 0.03, 0.02]))
|
|
|
|
|
else:
|
|
|
|
|
time.sleep(random.choice([0.001, 0.005, 0.01, 0.003, 0.002]))
|
|
|
|
|
print()
|
|
|
|
|
|
|
|
|
|
# Defining the "taker" function and setting it up in each of the three spaces below
|
|
|
|
@ -58,7 +61,7 @@ while True:
|
|
|
|
|
.• *ੈ° ★ • ☄. ✩ ๏ ✩ . •. *ੈ . •.
|
|
|
|
|
▁▂▃▄▅▆▇▇▆▅▄▃▂▃▄▆▇▇▆▅▄▇▆▅▄▃▁▂
|
|
|
|
|
|
|
|
|
|
""")
|
|
|
|
|
""", slow=False)
|
|
|
|
|
printer(bcolors.RED +"""
|
|
|
|
|
are you ready
|
|
|
|
|
to steal and kill your way into
|
|
|
|
@ -72,7 +75,7 @@ while True:
|
|
|
|
|
|
|
|
|
|
# clearing the screen: "clear" for macOS
|
|
|
|
|
i = input()
|
|
|
|
|
os.system("clear")
|
|
|
|
|
#os.system("clear")
|
|
|
|
|
spliti = i.split(" ")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -90,15 +93,15 @@ while True:
|
|
|
|
|
elif i in ["exit","fly","run","spaceship","leave"]:
|
|
|
|
|
printer("you fly away from venus in your spaceship.")
|
|
|
|
|
currentRoom = "earth"
|
|
|
|
|
|
|
|
|
|
# the point system. killing adds 30 kills to the player's score. The goal is to reach 120 kills.
|
|
|
|
|
elif i in ["kill","murder","pillage", "colonise", "colonize"]:
|
|
|
|
|
printer("you are killing many natives. your colony expands.")
|
|
|
|
|
kill = kill + 30
|
|
|
|
|
printer("your kill count is " + str(kill))
|
|
|
|
|
else:
|
|
|
|
|
taker("mars")
|
|
|
|
|
taker("venus")
|
|
|
|
|
|
|
|
|
|
# the point system. killing adds 30 kills to the player's score. The goal is to reach 120 kills.
|
|
|
|
|
if i in ["kill","murder","pillage", "colonise", "colonize"]:
|
|
|
|
|
printer("you are killing many natives. your colony expands.")
|
|
|
|
|
kill = kill + 30
|
|
|
|
|
printer("your kill count is " + str(kill))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Choices in the neutral zone
|
|
|
|
|
elif currentRoom == "earth":
|
|
|
|
@ -146,4 +149,4 @@ while True:
|
|
|
|
|
else:
|
|
|
|
|
printer("no way! you only killed " + str(kill) + " aliens. go kill and colonise more and then maybe you can lead your own colony one day!""")
|
|
|
|
|
else:
|
|
|
|
|
taker("uranus")
|
|
|
|
|
taker("uranus")
|
|
|
|
|