Presentation is loading. Please wait.

Presentation is loading. Please wait.

All About Incrementing Numbers

Similar presentations


Presentation on theme: "All About Incrementing Numbers"— Presentation transcript:

1 All About Incrementing Numbers
Jeff Bush Scalable Game Design University of Colorado

2 Lets use Agent Cubes to learn about Math and build a counter for our games!
Get them to explore different ways to count Counters help them keep score and is a useful tool for games they make

3 Consider these prompts
Pretend I am a robot keeping score for a game. I have a board which holds numbers. How would you program me to increase the number by 1? What if I already had a number on the board? What it the current score was 5…what would I do? What if the current score was 0? What if the current score was 9? How do I continue to increase numbers? What if the current score was 29? 59? How can I program it for all circumstances?

4 Push student to justify their answers
Push student to justify their answers. How do they know their rule works? Does it work for all situations? Does it work for all place values?

5 Eventually, the rules should generally look like this:
0  1 12 23 34 45 56 67 78 89 90 and the number of the left increases by 1 (e.g. 29  30…the nine changes to a zero, and the 2 increments by one to a 3) 90 and a new number 1 is added to the left (for the case from 9  10, where there is no current digit to the left)

6 Agents Create an agent called “Digits”. Then create shapes that represent the numbers Create an agent called Controller

7 Agent Behaviors First – tell the controller to make the number increment. In this case, we used a special method using the tools…the method is called when the user clicks on the controller using the finger tool.

8 Agent Behaviors Then – tell the number HOW to increment. The first three are shown…the rest must be added.

9 Agent Behaviors Remember, there are special rules for what happens when there is a nine in the one’s digit!

10 Challenges Count by 3’s…5’s…10’s? Count by decimals? Count backwards?
Include negative numbers when we count backwards? Count in Roman Numerals? How can we use this in a game to… Keep score? Count steps? Other ideas??


Download ppt "All About Incrementing Numbers"

Similar presentations


Ads by Google