When you click on the green flag, memorize the order of the colors then press the buttons to make your guess.
This is the original project that gave the inspiration for my project. https://scratch.mit.edu/projects/433337759