Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from room import Room
- kitchen = Room("Kitchen")
- kitchen.set_description("A dank and dirty room buzzing with flies.")
- kitchen.describe()
- dining_hall = Room("Dining Hall")
- dining_hall.set_description("A dining hall...")
- dining_hall.describe()
- dining_hall.link_room(kitchen, "north")
- kitchen.link_room(dining_hall, "south")
- ballroom = Room("Ballroom")
- ballroom.set_description("An imperialist ballroom...")
- ballroom.describe()
- dining_hall.link_room(ballroom, "west")
- ballroom.link_room(dining_hall, "east")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement