1 of 6

Lesson 2.6.A: Break Out Game demonstration

Microsoft Philanthropies TEALS Program

Introduction to Computer Science

2 of 6

Design?

What have we decided?

  • There will be at least 3 messages; initialize, reset, and play.
    • initialize gets the game ready.
    • reset starts with a fresh set of bricks.
    • play starts the game.
  • There will be at least 2 sprites; Ball and Paddle.

3 of 6

Let's look at the starter code.

4 of 6

For today we will just make the paddle move.

5 of 6

We have decided to use a variable to stop the game.

We need to make it.

And we need to initialize it.

6 of 6

2.6.A: Debrief