Input 4 different numbers each time. Theres 2 patterns: A=Right numbers in the right positions. B=Right numbers in the wrong positions. When you get 4 right numbers all in the right positions you win.