Date

November 10, 2016

Activity 1: Login and Record Attendance

We will be taking roll in lab each week! Please come to your assigned lab to be counted present!

If you are in an Olsson lab, click "Lab Attendance" on the left-hand menu in Collab to register your attendance and keep up with your lab grade.
YOU MUST CLICK THE LARGE GREEN OR YELLOW BUTTON FOR YOUR ATTENDANCE TO COUNT!!

You must do this from a machine in Olsson 001 and not your laptop. If you have trouble, talk to your lab TA. Students in Lab 109 will do attendance via direction from the TA.

Activity 2: Pairing

Remember - work with your game project partner today! If you don't have a project partner yet, find one!

Activity 3: Starting Out

Today we are doing an example game in gamebox - specifically the classic game Pong. If you are unfamiliar with Pong, head over to http://www.ponggame.org/ to see what it's all about.

We'll play by a basic version of the rules:

  • There is a ball that bounces back and forth.
  • Move your paddle on your side of the screen to prevent it from getting past you.
  • If it gets past you, your opponent earns a point.
  • First player to 10 points wins.

After you've figured out how the game plays, copy the following files and code into a new Python file in the same directory as your gamebox.py file:

Activity 4: Complete the Game

If you run the game as is, you should see what the game will look like, but nothing actually works. We have left comments in the pong.py file that describes the code you need to add to make the game work. Add some code, try it out, and keep going until you have a working Pong game!

Activity 5: Work on POTD 16 and the project!

Take the rest of the lab to work on your POTD and project games!

Submission

Each partner should submit one .py file named pong.py to the submission system at https://archimedes.cs.virginia.edu/cs1110/. Please put both partners' names and id's in two comments at the top of the file.

You must submit on time! Even if you don't finish, submit what you have.