[Solved] C Problem Create Simple Text Based Adventure Game Game Comprised Room Constructs Construct Q37281912
C++ Problem. Create a simple text based adventure game. The gamewill be comprised of Room() constructs. These constructs will havea room_name,room_description, room_id, occupied code, and 4 exitcodes (’N’, ’S’,’E’, ’W’). You are free to add other variables asnecessary. The exit codes will contain the room_id of the room inthat direction. If the room is occupied, randomly select one of 4monsters to spawn in the room. What, exactly, they do with yourcharacter is up to you. Requirements: • Move throughout theadventure with the N,S, E, W keys moving you in the four cardinaldirections. • When a room is occupied, spawn a monster. • Create aminimum of 5 rooms in your dungeon. • The game ends when the playerleaves through the exit – tell them the game is over. • Usefunctions whenever possible to modularize your code. Use functionprototypes and code the functions under main(). // Specification C1- Five Rooms Create a minimum of 5 rooms in your dungeon. If youhard code your rooms, put this comment right before the last room.• // Specification C2 – Player Name Ask the player to enter theirname. Use this name in some of your game text. • // SpecificationC3 – Input Validation Perform input validation with the commandoptions. Only allow the entry of valid commands. • // SpecificationC4 – Abbreviated Room Description Display room_title androom_description the first time the player enters the room. Onlydisplay the room_title on subsequent visits to the room. //Specification C5 – Detailed Look Show the room_title androom_description every time the player enters the ’L’ook key. Youare to select 3 features to add to your design to meet thisspecification bundle. Comment each feature you add the same wayyou’ve been doing it all class (// Specification B1 ….). I stillwant to see 3 specification comments. Don’t forget a 1 sentencedescription of the feature you just added in your specificationcomment. You are free to create other specifications if you wish -just make sure they are equivalent in complexity to these (no”Ready player 1″ cout’s). • Add more command options. • Add combat.• Add trap encounters. • Add treasure. • Add the concept of lightand dark rooms. • Add more monsters (I’ll give you credit for only1 more monster, regardless of the number you actually add). • Addmore rooms (only 1 more counts here, more than 1 new room doesn’tcount). • Use a random room generator to create an unlimited numberof rooms. • Use an array of structs. • Put your monsters in aMonster() class. • Create a pseudodynamic array. • Store your roominformation in a file and read that file in at the start of theprogram. As “B” specification bundle, but add 4 more specificationsof your choosing. Comment them individually using the format wehave used all along in this class (// Specification A1 –description, etc. etc.). I’m looking for A1, A2, A3 and A4specifications. Use the sug- gestions above or come up with yourown.
Expert Answer
Answer to C++ Problem. Create a simple text based adventure game. The game will be comprised of Room() constructs. These construct… . . .
OR

