Files
Untitled-Cat-Game/untitled/screens.py
2026-06-23 08:23:07 -04:00

13 lines
355 B
Python

from untitled import generation, ui
def adoption():
print("Welcome to the shelter!")
choice = "Reroll"
while choice == "Reroll":
choices = generation.generate_cat_choices()
choice = ui.select(
"Please choose a cat to adopt!",
list(ui.Choice(cat[0], cat[1]) for cat in choices) + ["Reroll"],
)