diff --git a/libstormgames.py b/libstormgames.py index 8e839ba..3483f20 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -132,10 +132,14 @@ def instructions(): display_text(info) def credits(): - info = [ - gameName + ": brought to you by Storm Dragon",\ - "Billy Wolfe, designer and coder.",\ - "https://social.wolfe.casa/storm"] + # Read in the credits file. + try: + with open('files/credits.txt', 'r') as f: + info = f.readlines() + # Add the header + info.insert(0, gameName + ": brought to you by Storm Dragon") + except: + info = ["Credits file is missing."] display_text(info) def display_text(text):