Open SupaHotBall opened 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.
yes we could add a case switch in the help method, that will be more easier to do code review.
i will make a new branch for this own method
I have created a separate help Method that holds the commands to be used in the Chamber of Shadows.
good. i will do the same thing as you that create a separate help Method that holds my altar room commands
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.
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