How to get specific items from a random list

Tested apk, you are close but this is not exactly what mastermind is about @Still-learning When 4 colors are chosen you have to inform the player whether he found the combination of colors or if he has found any colors and also if they were placed in the correct order or not. For doing that you may use up to 4 black or white pins.

  • A black clue means that there is a correct color in the correct place.
  • A white clue means that a correct color is in the wrong place.
  • An empty clue slot means that a wrong color has been placed

If for example with the first try I found only one color and I placed in the wrong position then I get informed about that and I continue from that point with a white clue and 3 empty slots. I change my combinations of colors and then I get informed that I have one in wrong position and one in correct, one white clue, one black, two empty slots and so on … In original board game I have 12 attempts to get the correct combination

1 Like