Lesson 12: Pong
This project implements a version of the traditional pong game. It includes two moving parts: the ball, which bounces on the edges of the Stage, and the paddle, which is controlled by the player. It includes sound effects, and it is a good example of an initial interactive game project.
Study the scripts (see the main script below) and recreate the program. Reproduce the actions in the tutorial. Experiment with the speed of the ball and the width of the paddle.
Experiment with an additional ball.
Experiment by adding a score counter for the number of contacts.
Experiment with adding a second paddle controlled by the key arrows (a second player.)
Experiment by assigning different score values to each ball hit.
Project created by: peckman