Pong in C Programming

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Pong in C Programming

Brilliant tutorial. Does not need to go into much detail, but the code is very understandable.
http://www.protycoon.com/index.php/2008/03/17/c-game-programming-pong/
  • Total Hits: 12184

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 140 votes

  • Category: C and C++/Game Programming

  • Submitted on: 2008-04-16 02:07:20

  • Submitted By: Shekhar

  • Set as Favorite

Description:

Here is my basic overview of Pong. Each moving entity on the screen (including the ball, player1 and the computer) each have their own X and Y value. This is to help control which position the object is drawn.

I’ve created a structure for the ball, player1 and the computer. Player1 and the computer contains the standard x and y values, but also contains the score etc.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.57%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 10%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.43%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.71%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.29%  41

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements