Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exploring Computer Science Lesson 4-14

Similar presentations


Presentation on theme: "Exploring Computer Science Lesson 4-14"— Presentation transcript:

1 Exploring Computer Science Lesson 4-14
Investigating Games Exploring Computer Science Lesson 4-14

2 Objectives The students will be able to:
Investigate two different types of games. Get ideas for their final projects.

3 Monkey Game Download monkey.sb from the web site and play the game.
What blocks do you think decide what x and y the banana should change to? What are the names of the orange blocks under Variables? What block(s) are used to change the score? Monkey Game Download monkey.sb from the web site and play the game. In your journals answer these questions: What blocks make the monkey respond to the keys? Does the banana always appear in the same place?

4 Finish the Monkey Game The game never ends.
Add code to have the game end when the score is 9. When the game is over: All Sprites are hidden. Change the background Fix “When the green flag is clicked to: Change the background Unhide Sprites Reset Score

5 Pinball Game 4. How do you think the ball determines which direction to bounce? 5. What’s the purpose of the purple line at the very bottom of the game? 6. What other features do think would make this game better Download pinball.sb. In your Journals answer these questions: 1. Look at the scripts for the pinball. How is gravity simulated? 2. How does the ball know when to “bounce” off of something? 3. Does the ball always bounce the same way when it hits something?

6 Finish the Pinball Game
Modify the game to keep track of points and show it to me. Write down what changes you made.


Download ppt "Exploring Computer Science Lesson 4-14"

Similar presentations


Ads by Google