Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic 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: 3094
Total Votes: 38 votes
Average Rating: 3.63 out of 5
Category: C and C++/Game Programming
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.
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 21.05% |
8 |





15.79%

15.79%

15.79%

15.79%

21.05%