When the green flag is clicked player 1 (the cat) and player 2 (the robot) will generate a random number between 1 and 3. Rules of the game: 1. If the product < sum, player 1 gets a point. 2. If the product > sum, player 2 gets a point. 3. If the product = sum, no one gets a point. Press the Turbo button to set the number of trials, to 20, 50, 100, 1000, etc, and notice the scores of each player. Does one player have an advantage over the other? How do you know? How many outcomes are there in this game?
This game can be used to introduce basic probability concepts and define a probability experiment: a well-defined process consisting of a number of trials, with clearly defined outcomes, sample space, and events. I made this game based on an investigation found in the Mathematics of Data Management textbook, by McGraw-Hill Ryerson (2002), (p.304). Thank you to Mr. Brian Aspinall (Brinall) for all of your help in my learning to code journey!