BIT-Studio-1 / project-23-1-orangehathackers

project-23-1-orangehathackers created by GitHub Classroom
0 stars 0 forks source link

A method to hold repeated commands from the user #2

Closed Daniel2003Morris closed 1 year ago

Daniel2003Morris commented 1 year ago

A method needs to be made to cut back on repeated commands. This method should include commands such as inventory, help, north, east, south, and west. this method should work in tandem with the unique commands assigned to rooms.

Morrnc1 commented 1 year ago

I would like more detail but I will try.

Morrnc1 commented 1 year ago

Add a method that takes 2 values. (string input, string room) This will need to go in lace of the cases "NORTH":, "EAST":, "SOUTH":, "WEST":, "HELP": ,"INVENTORY":

There will need to be a string added which will be room. example: string room = "roomName"; With calling the method looking like this CondencedHelp(userinput, roomName);

Morrnc1 commented 1 year ago

Just needing to be approved and implemented into code.