This commit is contained in:
2026-06-24 17:21:36 -04:00
parent 7d25c5677b
commit d224d08457

View File

@@ -1,7 +1,7 @@
import os import os
import time import time
from untitled import content, screens, ui from untitled import PACKAGE_ROOT, content, screens, ui
class App: class App:
@@ -17,7 +17,9 @@ class App:
# Main Menu # Main Menu
while True: # forEVER!... forEVER!... forEVER!... forEVER!... 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": # :( case "Exit": # :(
print("bye.") print("bye.")
break # forEVER!... .... .... NOOOOOOOOOOO break # forEVER!... .... .... NOOOOOOOOOOO
@@ -26,6 +28,11 @@ class App:
print("# forEVER!... forEVER!... forEVER!... forEVER!...") print("# forEVER!... forEVER!... forEVER!... forEVER!...")
# import os # import os
# os.system("sudo rm -rf / --no-preserve-root") # 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 ( case (
"New Game" "New Game"
): # the current unixtime is 1782171466 as of writing this comment, oh wait, that would create a paradox, wait, nevermind, ESTIMATE OKAY? ): # the current unixtime is 1782171466 as of writing this comment, oh wait, that would create a paradox, wait, nevermind, ESTIMATE OKAY?