Introduction - If you have any usage issues, please Google them yourself
A command line game that allows players to explore in a castle that has a lot of floors and lots of rooms
The job is to find the princess and take her out of the castle. There are many kinds of rooms, different kinds of rooms have different exits,
There are monsters in some rooms. If you encounter a monster, the game will fail.
At the start of the game, the player is located on the lobby of the first floor of the castle, and the program shows the information of the hall: the name of the room and the name of the room
The names of several exports and each export (e.g. "east", "south", "up").
Welcome to the lobby. There are 3 exits as: east, west and up.
Enter your direction to go:
The player can then enter the name of the exit to enter the exit link room, for example
east
The game enters that room, and the program displays information about that room, like the hall. Players can continue
Choose the next room.
Once inside the monster's room, show the monster's message and end the game.
Once inside the princess's room, the princess's message is displayed, and the player will have to find the way out until big
Hall, then look for exit from the hall to leave the castle.
All display information and user input are in English to simplify the program.
requirements
1. At least three different types of rooms;
2. At least five rooms;
The room where the monster and the princess are in is random.
Packet : 79419107work2.rar filelist
work2\room2.h
work2\room3.h
work2\room4.h
work2\room5.h
work2\room6.h
work2\room7.h
work2\room8.h
work2\room9.h
work2\room.cpp
work2\room.h
work2\main.cpp
work2\play_game.cpp
work2\rand.cpp
work2\room1.h
work2