When you click on the cat, it picks a random number. This is set as a variable. The cat then says an object to click depending on the random number. You then have to click the correct object and score a point.
See the code here.
This is the project flowchart.