credits
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import time
|
||||
|
||||
from untitled import content, screens, ui
|
||||
from untitled import PACKAGE_ROOT, content, screens, ui
|
||||
|
||||
|
||||
class App:
|
||||
@@ -17,7 +17,9 @@ class App:
|
||||
|
||||
# Main Menu
|
||||
while True: # forEVER!... forEVER!... forEVER!... forEVER!...
|
||||
match ui.select(f"Welcome to {content.GAME_NAME}!", ["New Game", "Exit"]):
|
||||
match ui.select(
|
||||
f"Welcome to {content.GAME_NAME}!", ["New Game", "Credits", "Exit"]
|
||||
):
|
||||
case "Exit": # :(
|
||||
print("bye.")
|
||||
break # forEVER!... .... .... NOOOOOOOOOOO
|
||||
@@ -26,6 +28,11 @@ class App:
|
||||
print("# forEVER!... forEVER!... forEVER!... forEVER!...")
|
||||
# import os
|
||||
# os.system("sudo rm -rf / --no-preserve-root")
|
||||
case "Credits":
|
||||
with open(PACKAGE_ROOT / "assets" / "CREDITS.txt") as f:
|
||||
print(
|
||||
f.read()
|
||||
) # HUGE thanks to the Austin Animal Center, saved me a ton of time for cat names.
|
||||
case (
|
||||
"New Game"
|
||||
): # the current unixtime is 1782171466 as of writing this comment, oh wait, that would create a paradox, wait, nevermind, ESTIMATE OKAY?
|
||||
|
||||
Reference in New Issue
Block a user