Friv1000 Games Plays 497

Crack the code

A mastermind game against a computer opponent. Can you crack the code?