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

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

Help command should be more obviously for player #8

Open SupaHotBall opened 1 year ago

SupaHotBall commented 1 year ago

personally I think we should add attempts for player typed multiple wrong commands in the console.

So the console will show the player that what they really need to type in for if they are really hard stuck with the commands.

The console at the moment is showing: Please enter a command: Invalid command. Please try again. Please enter a command: Invalid command. Please try again. Please enter a command: Invalid command. Please try again. Please enter a command: Invalid command. Please try again. Please enter a command: Invalid command. Please try again. Please enter a command:

5 times with the wrong commands.

instead of showing that, why don't just create a command with a attempts and after enter too many times for the wrong commands. Basically, after you enter 3 - 5 times the console will give you the commands cues to help you success the game more easily and clearly

Morrnc1 commented 1 year ago

Could we add a case switch in the help method, allowing for each room to have a list of help commands for all items given they have fond the corresponding clue to know about them. this could be a Boolean switch.

Could I have some input on how this might work please.

SupaHotBall commented 1 year ago

yes we could add a case switch in the help method, that will be more easier to do code review.

SupaHotBall commented 1 year ago

i will make a new branch for this own method

Mayank-1709 commented 1 year ago

I have created a separate help Method that holds the commands to be used in the Chamber of Shadows.

SupaHotBall commented 1 year ago

good. i will do the same thing as you that create a separate help Method that holds my altar room commands

Mayank-1709 commented 1 year ago

You do not have to create a separate help method for your room, we only need one help method in our game, I will implement a logic so that commands for every room will be stored in one help method. Updates will soon follow.