Activity
Last updated
Was this helpful?
Last updated
Was this helpful?
# Story Game
# by me
def main():
print("Welcome to my game!")
print("By ...")
done = False
while not done:
print("S - Start")
print("Q - Quit")
choice = input(":: ")
if choice == "S":
intro()
elif choice == "Q":
print("Thanks for playing!")
done = True
else:
print("Invalid Choice")
def intro():
print("Story Game")
print("by me")
print("You want to play a game with your friends")
print("Which do you choose? Roblox or Minecraft")
choice = input(":: ")
if choice == "Roblox":
roblox()
elif choice == "Minecraft":
minecraft()
else:
print("Invalid Choice")
def roblox():
print("You decide to play Roblox!")
# add story and choices
def minecraft():
print("You decide to play Minecraft!")
# add story and choices
main()