lundi 2 janvier 2017

Python: Branch of options in efficient and infinite way

I am creating a game in python and im trying to find a way to have a story and the user chooses which path to go on, now this sounds easy, but once you add too many if's inside of if's then things get messy. i am trying to find the most efficient and infinite way ( you can continually add branches w/out the computer crashing or something. Please make it clear

I am using repl.it and python 2.7.13

Aucun commentaire:

Enregistrer un commentaire