SlideShare una empresa de Scribd logo
1 de 2
Descargar para leer sin conexión
Pong Assignment                                 1                                          Linhoff


Pong
Recreate a simplified, single level version of the classic Atari game Pong.




The Basics
The keyboard 'w' and 's' must move one player, and the up and down arrow keys move the
other player. The game is a stripped down version of Pong that includes two player paddles
and a ball. You do not need to keep or display score or time. Play a background tune and
whenever the ball changes direction, play a sound.

Grading
The files, including e_pong.cc and modified .vcproj must be properly added/committed to
SVN so I can build your project. I will not grade the project until I can build it without errors.
Test this by creating a tmp dir, checking out your project and building it.
80% (the game)
       e_pong.* builds & runs w/o errors, w/config.h #define BUILD_PONG 1
   ●

       court drawn properly below ball
   ●

       3D camera above the court
   ●

       two paddles displayed
   ●

       paddles move properly with keys 'w' 's' and up down
   ●

       ball and paddle move velocities are multiplied properly by time
   ●

       ball is served automatically from one of the players
   ●

       code is clean and well commented
   ●

       a background tune plays all the time
   ●
Pong Assignment                                     2                                    Linhoff

       sound plays every time the ball changes direction
   ●

10% (code -- HAND IN A HARDCOPY of one page of your code)
       code is all in one file (even 'header' files)
   ●

       all files are separated with 80 slashes '/'
   ●

       code is easy to read, whitespace (1 blank line) and tabs (3 spaces) properly used
   ●

       ideas are commented, initials and dates at the start of function blocks
   ●

       use a 10 point font, print a whole, single page of your code, turn it it with your name
   ●
       on it next week in class (I will write comments on this and hand it back). You must
       include the routine that checks and handles the ball versus the paddle collision. You
       may include any other code -- fill up a single side of a single page with code for me to
       review.
10% (some combination)
       collision testing works for ball v paddles
   ●

       you can control the English you put on the ball by hitting it off-center
   ●

       out of bounds ball causes restart, re-serve
   ●

       game ends and waits key for restart
   ●

       representation of score, service, last hit
   ●

       game is paced well, goes beyond the basics, has some element of fun
   ●

       different, interesting sounds or graphics
   ●


Starting Point
You are free to start with your own code. Make sure the whole game is in e_pong.cc. I have
posted one possible starting point on the wiki. You do not need to start from my code, and
your code need not resemble my code or my structure for this assignment.

Más contenido relacionado

La actualidad más candente

Ig1 task 2 analysis work sheet 6786
Ig1 task 2 analysis work sheet 6786Ig1 task 2 analysis work sheet 6786
Ig1 task 2 analysis work sheet 6786CallumDrakeCPFC
 
3. fmp production experiments finished
3. fmp production experiments finished3. fmp production experiments finished
3. fmp production experiments finishedCameron Tomlinson
 
Guide: DVD to Zune, video to Zune conversion
Guide: DVD to Zune, video to Zune conversionGuide: DVD to Zune, video to Zune conversion
Guide: DVD to Zune, video to Zune conversioncrysatal16
 
Ig1 task 2 analysis work sheet 05
Ig1 task 2 analysis work sheet 05Ig1 task 2 analysis work sheet 05
Ig1 task 2 analysis work sheet 05BatmanGrunt
 
How you think the sound in your chosen example has been produced final fantasy
How you think the sound in your chosen example has been produced final fantasyHow you think the sound in your chosen example has been produced final fantasy
How you think the sound in your chosen example has been produced final fantasyconor0994
 
Jake dargen unit 73 criteria 4 sound sync to game footage screen shots
Jake dargen unit 73 criteria 4 sound sync to game footage screen shotsJake dargen unit 73 criteria 4 sound sync to game footage screen shots
Jake dargen unit 73 criteria 4 sound sync to game footage screen shotsdargo94
 
How to create a movie using windows live movie maker
How to create a movie using windows live movie makerHow to create a movie using windows live movie maker
How to create a movie using windows live movie makerfraserbaker
 

La actualidad más candente (9)

Save tv stand with tempered glass in espresso finish
Save tv stand with tempered glass in espresso finishSave tv stand with tempered glass in espresso finish
Save tv stand with tempered glass in espresso finish
 
Ig1 task 2 analysis work sheet 6786
Ig1 task 2 analysis work sheet 6786Ig1 task 2 analysis work sheet 6786
Ig1 task 2 analysis work sheet 6786
 
3. fmp production experiments finished
3. fmp production experiments finished3. fmp production experiments finished
3. fmp production experiments finished
 
Guide: DVD to Zune, video to Zune conversion
Guide: DVD to Zune, video to Zune conversionGuide: DVD to Zune, video to Zune conversion
Guide: DVD to Zune, video to Zune conversion
 
Design pattern
Design patternDesign pattern
Design pattern
 
Ig1 task 2 analysis work sheet 05
Ig1 task 2 analysis work sheet 05Ig1 task 2 analysis work sheet 05
Ig1 task 2 analysis work sheet 05
 
How you think the sound in your chosen example has been produced final fantasy
How you think the sound in your chosen example has been produced final fantasyHow you think the sound in your chosen example has been produced final fantasy
How you think the sound in your chosen example has been produced final fantasy
 
Jake dargen unit 73 criteria 4 sound sync to game footage screen shots
Jake dargen unit 73 criteria 4 sound sync to game footage screen shotsJake dargen unit 73 criteria 4 sound sync to game footage screen shots
Jake dargen unit 73 criteria 4 sound sync to game footage screen shots
 
How to create a movie using windows live movie maker
How to create a movie using windows live movie makerHow to create a movie using windows live movie maker
How to create a movie using windows live movie maker
 

Similar a Assignment Pong

ontents · Introduction· Objectives·.docx
ontents  ·      Introduction·      Objectives·.docxontents  ·      Introduction·      Objectives·.docx
ontents · Introduction· Objectives·.docxcherishwinsland
 
cpbricks manual
cpbricks manualcpbricks manual
cpbricks manuali i
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA GameSohil Gupta
 
Assignment DescriptionThe assignment consists of two parts. Pa.docx
Assignment DescriptionThe assignment consists of two parts. Pa.docxAssignment DescriptionThe assignment consists of two parts. Pa.docx
Assignment DescriptionThe assignment consists of two parts. Pa.docxElbaStoddard58
 
PPT of Flappy Bird Game for final year.pptx
PPT of Flappy Bird Game for final year.pptxPPT of Flappy Bird Game for final year.pptx
PPT of Flappy Bird Game for final year.pptxtaxihig737
 
gamedevelopment-devbatch-slideshare-160523134658 (1).pptx
gamedevelopment-devbatch-slideshare-160523134658 (1).pptxgamedevelopment-devbatch-slideshare-160523134658 (1).pptx
gamedevelopment-devbatch-slideshare-160523134658 (1).pptxAgripinoVerderaJr2
 
Project 8: Make Your Own Piano
Project 8: Make Your Own PianoProject 8: Make Your Own Piano
Project 8: Make Your Own PianoParesh Goel
 
project on snake game in c language
project on snake game in c languageproject on snake game in c language
project on snake game in c languageAshutosh Kumar
 
Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflownazaryth98
 
The GRID Ident
The GRID IdentThe GRID Ident
The GRID Identsydney20
 
Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflownazaryth98
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Gamebowes96123
 

Similar a Assignment Pong (20)

Pong
PongPong
Pong
 
ontents · Introduction· Objectives·.docx
ontents  ·      Introduction·      Objectives·.docxontents  ·      Introduction·      Objectives·.docx
ontents · Introduction· Objectives·.docx
 
Bow&arrow game
Bow&arrow gameBow&arrow game
Bow&arrow game
 
cpbricks manual
cpbricks manualcpbricks manual
cpbricks manual
 
Street runner final
Street runner finalStreet runner final
Street runner final
 
Assignment 2
Assignment 2Assignment 2
Assignment 2
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA Game
 
Assignment DescriptionThe assignment consists of two parts. Pa.docx
Assignment DescriptionThe assignment consists of two parts. Pa.docxAssignment DescriptionThe assignment consists of two parts. Pa.docx
Assignment DescriptionThe assignment consists of two parts. Pa.docx
 
PPT of Flappy Bird Game for final year.pptx
PPT of Flappy Bird Game for final year.pptxPPT of Flappy Bird Game for final year.pptx
PPT of Flappy Bird Game for final year.pptx
 
gamedevelopment-devbatch-slideshare-160523134658 (1).pptx
gamedevelopment-devbatch-slideshare-160523134658 (1).pptxgamedevelopment-devbatch-slideshare-160523134658 (1).pptx
gamedevelopment-devbatch-slideshare-160523134658 (1).pptx
 
I os presentation
I os presentationI os presentation
I os presentation
 
Evaluation fmp
Evaluation   fmpEvaluation   fmp
Evaluation fmp
 
Project 8: Make Your Own Piano
Project 8: Make Your Own PianoProject 8: Make Your Own Piano
Project 8: Make Your Own Piano
 
Hypergon 2014
Hypergon 2014Hypergon 2014
Hypergon 2014
 
project on snake game in c language
project on snake game in c languageproject on snake game in c language
project on snake game in c language
 
Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflow
 
The GRID Ident
The GRID IdentThe GRID Ident
The GRID Ident
 
Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflow
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Game
 
E-ball Technology ppt
E-ball Technology pptE-ball Technology ppt
E-ball Technology ppt
 

Más de Susan Gold

Más de Susan Gold (20)

Community
CommunityCommunity
Community
 
ICEC
ICECICEC
ICEC
 
Dgxpo
DgxpoDgxpo
Dgxpo
 
Fog
FogFog
Fog
 
Ivdc
IvdcIvdc
Ivdc
 
Gold And Robinson 2009
Gold And Robinson 2009Gold And Robinson 2009
Gold And Robinson 2009
 
GDC 2009 Game Design Improv
GDC 2009 Game Design ImprovGDC 2009 Game Design Improv
GDC 2009 Game Design Improv
 
Gdc09 Minimissile
Gdc09 MinimissileGdc09 Minimissile
Gdc09 Minimissile
 
Setup
SetupSetup
Setup
 
Qe Reference
Qe ReferenceQe Reference
Qe Reference
 
Missilecommand
MissilecommandMissilecommand
Missilecommand
 
Gdc09 Minipong
Gdc09 MinipongGdc09 Minipong
Gdc09 Minipong
 
Gdc09 Minigames
Gdc09 MinigamesGdc09 Minigames
Gdc09 Minigames
 
Global Game Jam Overview
Global Game Jam OverviewGlobal Game Jam Overview
Global Game Jam Overview
 
Agd Talk Speed Run
Agd Talk   Speed RunAgd Talk   Speed Run
Agd Talk Speed Run
 
SIGGRAPH 2007 IGDA Presentation
SIGGRAPH 2007 IGDA PresentationSIGGRAPH 2007 IGDA Presentation
SIGGRAPH 2007 IGDA Presentation
 
Mscruise
MscruiseMscruise
Mscruise
 
GDC China 2007
GDC China 2007GDC China 2007
GDC China 2007
 
Digra07
Digra07Digra07
Digra07
 
Boston IGDA Meeting
Boston IGDA MeetingBoston IGDA Meeting
Boston IGDA Meeting
 

Assignment Pong

  • 1. Pong Assignment 1 Linhoff Pong Recreate a simplified, single level version of the classic Atari game Pong. The Basics The keyboard 'w' and 's' must move one player, and the up and down arrow keys move the other player. The game is a stripped down version of Pong that includes two player paddles and a ball. You do not need to keep or display score or time. Play a background tune and whenever the ball changes direction, play a sound. Grading The files, including e_pong.cc and modified .vcproj must be properly added/committed to SVN so I can build your project. I will not grade the project until I can build it without errors. Test this by creating a tmp dir, checking out your project and building it. 80% (the game) e_pong.* builds & runs w/o errors, w/config.h #define BUILD_PONG 1 ● court drawn properly below ball ● 3D camera above the court ● two paddles displayed ● paddles move properly with keys 'w' 's' and up down ● ball and paddle move velocities are multiplied properly by time ● ball is served automatically from one of the players ● code is clean and well commented ● a background tune plays all the time ●
  • 2. Pong Assignment 2 Linhoff sound plays every time the ball changes direction ● 10% (code -- HAND IN A HARDCOPY of one page of your code) code is all in one file (even 'header' files) ● all files are separated with 80 slashes '/' ● code is easy to read, whitespace (1 blank line) and tabs (3 spaces) properly used ● ideas are commented, initials and dates at the start of function blocks ● use a 10 point font, print a whole, single page of your code, turn it it with your name ● on it next week in class (I will write comments on this and hand it back). You must include the routine that checks and handles the ball versus the paddle collision. You may include any other code -- fill up a single side of a single page with code for me to review. 10% (some combination) collision testing works for ball v paddles ● you can control the English you put on the ball by hitting it off-center ● out of bounds ball causes restart, re-serve ● game ends and waits key for restart ● representation of score, service, last hit ● game is paced well, goes beyond the basics, has some element of fun ● different, interesting sounds or graphics ● Starting Point You are free to start with your own code. Make sure the whole game is in e_pong.cc. I have posted one possible starting point on the wiki. You do not need to start from my code, and your code need not resemble my code or my structure for this assignment.