Home Schedule Reading Projects People
Mac Logo Windows Logo Mac Logo Sun Solaris Logo  

Mini Project 3: The Path to Pong

 

Assignment Day September 18, 2012 (Tuesday)
Due Date September 25, 2012 (Tuesday)

 

Collaboration Policy - Read Carefully

You must work on this project individually, but you may discuss this assignment with other students in the class and ask and provide help in useful ways, preferable over our email list so we can all benefit from your great ideas. You may consult (but not copy) any outside resources you including books, papers, web sites and people (but no penguins or sea urchins).

If you use resources other than the class materials, indicate what you used along with your answer.

Objective

The main objectives for this assignment are:

This project is by Cole (a graduate student in the simulation group here at UGA), and is inspired by Pong.

The project requires python which is a scripting language with a syntax that is similar to Java and C. Simulation system software today are generated from a variety of languages and Java, C and python are common. This will give you an opportunity to get an expereince with Python. There will be a second related project in python involving ant paths, that project will be assigned after this project.

Resources:

 

 

Description:

Create an application using pyGame that displays an animated ball until the user quits the application (by clicking on close, or pressing the ESC key). Your ball should start in the center of the window, and should be initialized with a random velocity in the X and Y directions. Each frame, the ball will move according to the given velocity, and when it hits a wall, it should bounce off (similar to the ball in the animation to the right).

You will demontrate the project in class running on your laptop.