Press b to select a color, After selecting Black or Red press space to randomly select a color, If you guessed the color right then you win! You can repeat the game by simply pressing space again to have another spin at it. Pressing B again allows you to change the winning color.