The Directory function

The skeleton code. Not much to say here.

Intro

The directory function, as mentioned before, refers to the code that allows you to select a game without the games.

How does it work?

if start = y:
    while True:
    print("options")

Thats literally it. Go look for yourself if you dont believe me.

Its entirely user-input-focused, with an if-while statement. I cannot believe that’s what i wrote, but it works.

Either way, it works as mentioned. If the user wants to invoke a certain part of the code, they type a letter, then the code recognizes that and proceeds with the corresponding function to that letter. the Break function brings the user back.

The functions are Do you want to start and Continue?. Again, not kidding.

The games are quite literally tacked on.

Onto the games.

Updated on