Skip to content
The answer to how to make my own choice type game with many branches of it.
Profile icon
TrevorKlein

If it is possible in python 3.6.1 how do I make a multichoice video game that can have two different ways to go down, like zork because if you make different choices in that game it can change your story, how can I make this possible, please reply asap. Thanks for the help.

You are viewing a single comment. View All
Profile icon
Geocube101

you can use input() to get user input and an if else statement to execute code based off the input.

action = input('Action: ') if action == #Some String: #Some Code elif action == #Some Other String: #Some More Code else: #Even More Code