Amo Gus Python Game
Amo Gus Python Game
import---------------------------------------------------------------------------------------------------------------------
import random
#initial variable
declaration--------------------------------------------------------------------------------------------------------
print ("what is your name?")
name = input()
print ("\n")
hp = 100
boss = 100
#game loop
here-----------------------------------------------------------------------------------------------------------------------
print ("do you want to see the tutorial? y/n \n")
tutorial = input()
if tutorial == 'y':
print ("type the action you want to perform, the available actions are usually incased in
this: '<>' example <test>. Just type that and it will do something. \n")
print (" \n")
if action == 'investigate':
print("This feature doesn't exist yet")
if action == 'task':
event = random.randint(1,3)
match event:
case 1:
print ("The impostor saw you and you got attacked!! *you took 5
hp of damage -press enter to continue")
hp = hp - 5
next = input()
case 2:
print ("You successfully completed a task! *the impostor took 5 hp
of damage -press enter to continue")
boss = boss - 5
next = input()
case 3:
print ("You saw someone who you think is the impostor, what do
you do? <attack><ignore>")
move = input()
sus = random.randint(1,2)
match sus:
case 1:
if move == 'attack':
print ("Success! It was the impostor!
*impostor took 5 hp of damage -press enter to continue")
boss = boss - 5
next = input()
case 2:
if move == 'attack':
print ("Failed. It wasn't the impostor and the
crew punished you *you took 5 hp of damage -press enter to continue")
hp = hp - 5
next = input()
print ("Thanks for playing amogus python v0.01, i will update this game soon -∅NV")