Susan Miller/Jeff Bush Scalable Game Design University of Colorado

Slides:



Advertisements
Similar presentations
Man in the Moon by: 6 th graders When people say that they can see a man in the moon, they mean that they can see a whole person. It is usually an old.
Advertisements

Table of Contents Why Play Chess? Setting Up the Board Get to Know the Pieces Check and Checkmate What the Chess Pieces Are Worth Opening Goals Endgame.
Knight story Once upon a time there was a knight. He had a castle. Then one day he was attacked by another knight. So the knight and two others went to.
The Quest for Pirate Matth’s Treasures The Quest for Pirate Matth’s Treasures i i Click for instructions.
The King, the servant, and the conundrum. Once upon a time in a land not so far from here there lived a king…… He had a loyal servant who would advise.
START Help Pac-Man find his dinner by answering math questions correctly. Try to go as fast as you can. You can do it! Click the Pac Man to begin playing.
Kirikou was born and learned about Karaba, the wicked Sorceress. He learned that all the men in his village had been captured and eaten by Karaba. Only.
All About Frogger Susan Miller Scalable Game Design University of Colorado.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
By John Rowe Once upon a time in the forest, there were talking trees. They were upset because a mean wood cutter, named Joe, cut down the prince tree.
Sight Word List.
Oedipus King of Thebes. Oedipus Sophocles wrote this very famous play in the 500's BC.SophoclesBC.
Sight Words.
MATHEMATICAL REFLECTIONS 1 ADDING AND SUBTRACTING INTEGERS By Rose Eisenmenger.
 Are the opposite of positive numbers  All we want to know is how far away ZERO is
The Princess That Was Not There Written By Jarrett Holmes.
PRESENTED BY :- ARCHANA CHAUHAN KV TUGHLAKABAD Topics Tiger and Rabbit Story Multiples and Common Multiples ( please click on a topic to choose)
Unit 7 Storytelling Lesson 25 The tailor enjoyed the trip so much that he soon fell asleep.
SMEE by A. M. Burrage  PLOT: This history began with some people who wanted to play a game, at first, they decided to play “hide and seek”, but one.
Moving to First Person Scalable Game Design Susan Miller University of Colorado - Boulder.
All About Frogger Susan Miller Scalable Game Design University of Colorado.
Christian Beliefs Forgiveness. Today’s Learning Intentions I can describe Christian beliefs about forgiveness I can reflect on my own views about forgiving.
ESSENTIAL WORDS.
Fry Phrases Level 2.
PSHE Walk to School Classroom Session
Significant Figures.
Unit 6 An old man tried to move the mountains. Section B 2b-3b.
All About Incrementing Numbers
Phrasal verbs.
READING IS FUNNY.
This weeks.
Susan Miller Scalable Game Design University of Colorado
Jeff Bush Scalable Game Design University of Colorado
Learning the Multiplication Facts
THE CANTERVILLE GHOST OSCAR WILDE.
CHESS.
Joseph and the Technicoloured dream coat
The Story of Snow White By Winarti.
KS3 Religious Education
本课例荣获玉林市2016年高中英语模拟课比赛一等奖
Bell Work VOTE (SILENTLY)
EQ: How can we apply solving equations to REAL LIFE?
Look who it is! Ask the children if they recognise these characters…have they been in their assemblies before? Introduce cat, mouse, dog. In last year’s.
Sentence Structure Basics: Subject and Predicate
THE CANTERVILLE GHOST OSCAR WILDE.
Fry Word Test First 300 words in 25 word groups
Compare and Contrast Texts
Bendy, Bouncy, Beautiful!
Father Endures Pyongyang Prison
Creating actors and scenes
All About Designing your own Game
Rapunzel and prince By hyerin.
Please use this PowerPoint with the children’s resource session plan
Memory verse Psalm 133 Behold, bless the Lord, all you servants of the Lord, who by night stand in the house of the Lord! Lift up your hands in the sanctuary,
WELCOM E.
The Story of Jonah God said to Jonah go to Nineveh and tell the people to change their ways and become better people. Now didn’t want to go. Nineveh was.
The. the of and a to in is you that with.
Investing in the Kingdom
The of and to in is you that it he for was.
What happens when you joke around with a truck driver
Once upon a time there lived a very evil king.
Solving Linear Equations
I give out whiteboard and go with the majority answer for each one.
I believe the reason students have difficulty learning algebra and that most people have trouble doing math word problems is that although children are.
Once upon a time there lived a very evil king.
High Frequency Words.
Compare and Contrast Texts
The Properties of Mathematics
Solving Linear Equations
Genesis Dig Site 12 Blue Level Questions.
Presentation transcript:

Susan Miller/Jeff Bush Scalable Game Design University of Colorado All About PacMan Susan Miller/Jeff Bush Scalable Game Design University of Colorado

What will your story be? This story can be tailored to a number of different audiences…

Rules of PacMan PacMan travels a maze world, eating up the pellets. Ghosts chase the PacMan. If the ghost gets too close to the PacMan, the PacMan dies!

Same game…different description… Once upon a time, in a land far away lived a Traveler who wandered the world filled with obstacles looking for the lost treasure. He was told to avoid the terrible Chasers who would render him dead if they got near him. If he found the treasure, he would win.

Same game…different description… A long time ago, in a land far away, lived a prince, longing to marry his princess. The mean king, however, told the prince that he couldn’t marry the princess until he found all the gold in the country. Since the king didn’t like the prince, he sent his henchmen to chase after the prince and kill him.

NOUNS = AGENTS No matter which version of PacMan you choose, you will still need agents… What will you need?

Verbs= ACTIONS What will each agent do?

Let’s Jump In Open AgentCubes Online Click on NEW PROJECT Save your file as PacMan

Let’s make the basics… A PacMan, a Chaser, the ground, the walls and the Pellets

Create your agents (or clone ours) PacMan 10 minutes Ghost(s) Ground Walls End Pellets https://www.agentcubesonline.com/project/68900

Make a new world/level that is at least 16x21

Put your agents on your worksheet

Create your world

It’s time to SAVE THE WORLD!

Let’s get programming…

Making the chasers chase… BACON!!!!! How can we find the scent in a room?

The doggy is going to sniff for the bacon…

Which way will the dog go?

He leaves his SCENT on the GROUND The PacMan is stinky… He leaves his SCENT on the GROUND

The ground now has the PacMans scent on it… How do we use MATH to determine the strength of the scent?

Imagine you have two values for scent on the ground… 600 ?? 400

Now imagine you have four values for scent on the ground… 200 600 400

Now imagine you have four values for scent on the ground… 200 600 350 400 We can MODEL the DIFFUSION equation, by taking the AVERAGE of the four tiles.

Programming Steps: 1. Program the PacMan to leave a scent 2. Program the ground and the pellets to diffuse the scent 3. Program the ghost to ‘smell’ the scent and determine which direction it is strongest.

1. Program the PacMan to leave a scent - Create an agent attribute

2. Program the ground to diffuse the scent

2. Program the ground to diffuse the scent (s[up]+s[down]+s[left]+s[right])/4

Now program the PELLETS to also diffuse the scent! Discussion question: Why do we want both the pellets and the ground to diffuse the scent?

Now, let’s get the Ghosts to follow the strongest scent

Now, what if we want to end the game when the pellets are all gone?

Class, who is still working???

Introducing the controller… The controller is an agent whose sole purpose is to count the Pellets…

How this works… The controllers will set the number of Pellets to zero The controller will ask (poll) the Pellets to see who is still on the worksheet The Pellets will ‘answer’ by ‘counting off’ The controller will check the number of Pellets to see if it is equal to zero. When the number of Pellets is equal to zero, the game is over.

When the Controller asks the Pellets if they are still on the board, they increase the count by one for each Pellet. One! Three! Two! Four!

When the Controller asks the Pellets if they are still on the board, they increase the count by one for each Pellet. One! Three! Two!

When the Controller asks the Pellets if they are still on the board, they increase the count by one for each Pellet. One! Two!

The controllers will set the count of Pellets to zero, poll the Pellets, and then check to see if the game is over.

Hill Climbing shortcut for diffusion

Hill Climbing shortcut for diffusion

Challenge activities Make PacMan change direction Make PacMan move continuously PowerPellet Next Level