Base stuff for actual game
This commit is contained in:
32
game.py
Normal file
32
game.py
Normal file
@@ -0,0 +1,32 @@
|
||||
from data.cat import Cat
|
||||
from systems.ui import clear, title
|
||||
from systems.world import shelter
|
||||
import questionary
|
||||
|
||||
|
||||
class Game:
|
||||
def __init__(self):
|
||||
self.cat = None
|
||||
|
||||
def new_game(self):
|
||||
self.cat = shelter()
|
||||
self.game_loop()
|
||||
|
||||
def game_loop(self):
|
||||
# TODO: make
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
title()
|
||||
print("Welcome to Whiskerbound!")
|
||||
choice = questionary.select("", choices=["New Game", "Quit"]).ask()
|
||||
|
||||
if choice == "New Game":
|
||||
self.new_game()
|
||||
elif choice == "Quit":
|
||||
quit()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
game = Game()
|
||||
game.run()
|
||||
Reference in New Issue
Block a user