{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW03 - while the game is waiting for input from a key When...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 3 - Pong Designed to teach you: Multifile programs Using / creating libraries Code re-use / “lazy programmer syndrome” Buttons Vertical Blank A bit of history Assignment Instructions: 1. [5%] Include a block at the top of your main.c file with the following: a. Name and Date b. GT Account and GTID c. Collaboration Statement 2. [15%] Include functions, macros, typedefs, etc into seperate header and source files. Points will be taken off for any function declarations inside of the main.c file. 3. [10%]Different screens: a. Start – While waiting for input b. Gameplay – While gaming c. Gameover – When all is lost 4. [10%] Must use Vertical Blank 5. [60%] Create the game of pong. There must be a start screen of any color that is displayed
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while the game is waiting for input from a key. When the game starts the background should change to a different color. There should be atleast one paddle and one ball, the ball must bounce when hitting the paddle or any of the other non-paddle sides. Each player should have multiple lives, a life is lost when the paddle misses the ball. Once reaching zero lives the background should change to a third color until some input returns the game to the start screen. 6. [10%] Extra credit: Any cool stuff that we like, some examples are: a. Multiple balls and/or paddles b. Stationary obstacles in the middle fo the screen c. Colorful paddle and/or ball, colorful interaction between ball and paddle...
View Full Document

  • Spring '09
  • many
  • English-language films, main.c file, Vertical Blank, Buttons Vertical Blank, libraries Code re-use, lazy programmer syndrome

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern