Files
ages/examplegame/__init__.py
2021-11-18 13:02:16 -08:00

20 lines
374 B
Python

from agame.game import Game, Database
from agame.item import Item
from agame.room import Room
from agame.action import *
from agame.trigger import *
# This is the *game* here
database = Database()
from . import items
from . import rooms
from . import vars
# Build the game state
game = Game(
database=database,
room=database.rooms["start"],
vars=vars.vars,
)