I am hoping someone can help me with the following issue.
Part of my game requires a player to try and guess which of the six buttons the computer has randomly chosen. They also have the option to remove 1 - 4 buttons leaving a 50/50 chance to get it right.
I am using a game attribute to randomly select a number from 1 to 6. At this point if the player selects to remove 4 of the six buttons then I want to be able to randomly select the four buttons (Random Button 1, Random Button 2, Random Button 3 & Random Button 4) and at the same time make sure that the button selected by the game attribute is not removed.
I hope all this is making sense so far....
I am trying to use a 'while loop' with little success. Is this the best way to go or is there an easier option???