Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rom room import Room
- kitchen = Room("Kitchen")
- kitchen.set_description("A dank and dirty room buzzing with flies.")
- dining_hall = Room("Dining Hall")
- dining_hall.set_description("A large room with ornate golden decorations on each wall.")
- ballroom = Room("Ballroom")
- ballroom.set_description("A vast room with a shiny wooden floor. Huge candlesticks guard the entrance.")
- kitchen.linked_room(dining_hall, "south")
- dining_hall.linked_room(kitchen, "north")
- dining_hall.linked_room(ballroom, "west")
- ballroom.linked_room(dining_hall, "east")
- dining_hall.get_details()
- kitchen.get_details()
- ballroom.get_details()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement