A lightweight text-based adventure game engine for Python.
from engine import Game, Room, Item # Create rooms kitchen = Room("Kitchen", "A cozy kitchen with a fridge.") living_room = Room("Living Room", "A comfortable living area.") # Connect rooms kitchen.add_exit("north", living_room) living_room.add_exit("south", kitchen) # Create game game = Game(kitchen) game.start()
MIT