This is a scratch version of mastermind. Click on a square to change its color. Press space to check if your answer is correct. If the circle beneath it is green, it means that that square is correct, and vice versa. The Variable near the bottom of the screen is the amount of turns taken. Try to get the least amount of turns.
All scripts by me. Based on the board game 'Mastermind'.