Files
Whiskerbound/game.py
2026-04-11 17:13:54 -04:00

37 lines
742 B
Python

from data.cat import Cat
from systems.ui import clear, title
from systems.world import shelter
import systems.ui as ui
import data.save
class Game:
def __init__(self):
self.cat = None
def new_game(self):
self.cat = shelter()
print("Saving...")
data.save.save(self.cat)
print("Save complete.")
self.game_loop()
def game_loop(self):
# TODO: make
pass
def run(self):
title()
print("Welcome to Whiskerbound!")
choice = ui.select("", choices=["New Game", "Quit"])
if choice == "New Game":
self.new_game()
elif choice == "Quit":
quit()
if __name__ == "__main__":
game = Game()
game.run()