Files
Untitled-Cat-Game/untitled/app.py
2026-06-24 12:57:21 -04:00

34 lines
1.1 KiB
Python

import os
import time
from untitled import content, screens, ui
class App:
def __init__(self):
self.debug = os.path.exists("DEBUG_MODE")
def run(self):
# Intro
if not self.debug:
ui.clear()
time.sleep(1)
ui.splash()
# Main Menu
while True: # forEVER!... forEVER!... forEVER!... forEVER!...
match ui.select(f"Welcome to {content.GAME_NAME}!", ["New Game", "Exit"]):
case "Exit": # :(
print("bye.")
break # forEVER!... .... .... NOOOOOOOOOOO
print("i can do whatever i want here!")
while True:
print("# forEVER!... forEVER!... forEVER!... forEVER!...")
# import os
# os.system("sudo rm -rf / --no-preserve-root")
case (
"New Game"
): # the current unixtime is 1782171466 as of writing this comment, oh wait, that would create a paradox, wait, nevermind, ESTIMATE OKAY?
# yayyyyy
screens.adoption()