Pong

From WLCS
Revision as of 09:14, 26 January 2010 by Admin (talk | contribs) (New page: '''Objective:''' * You will use the GASP Python library to create Pong * The Pong game will require that you use math, variables, functions, and loops! '''Resources:''' * [http://openbook...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Objective:

  • You will use the GASP Python library to create Pong
  • The Pong game will require that you use math, variables, functions, and loops!

Resources:

Catch Directions:

  1. Read and walk through the entire HTTLACS: Ch 8. Be sure to analyze and run the code given to you.
  2. Complete the following Ch 8 exercises: #1-5, 8-10
    • For exercises #8, you should comment most lines of code, explaining what each line does

Pong Directions:

  1. Copy catch.py to pong1.py and change the ball into a paddle by using Box instead of the Circle. You can look at Appendix B for more information on Box. Make the adjustments needed to keep the paddle on the screen.