20 lines
374 B
Python
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,
|
|
)
|