Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
Depot Games: TPong

Current Version: 5.2

Project Status: Completed

Highest Popularity: #20 during October 2008

Links: Web Site

Category: Pong

Developers: ITM

Number of Players: 1 (Split Screen)

Ports: Windows

Source Code: Available

Author's Description: Hi! It's strange, but I never thought I'd have the idea to make this game someday... and it went on to be the first game I've ever completed...

So I thought about a new concept, because the original Pong's one was VERY primitive. Then I had an idea: why not make the AI unbeatable? It would be entertaining to play for as long as possible against him! So, I decided to create TPong. After that, I added some new modes like Human vs Human and Computer vs Computer and even 2 Humans vs Computer, but you cannot get on the high score table when playing in these modes.

I also added some difficulty modes. Now you can choose the mode you want in the option menu. There are three available modes:
A) Regular Mode. This is the easiest mode.
B) Hard Mode. Yes, this mode is very hard, so don't try it before trying Regular Mode. Otherwise you'll get bored losing all the time and not scoring higher than 25.
C) Unlimited Speed mode. As you might have noticed, there are some speed limits in TPong in vertical and horizontal directions. This mode deactivates these limits. In this mode, AI can lose, owing to the speed limits of the rackets.

RULES

The goal is REALLY easy - just try not to lose the ball! A lot of people told me they couldn't play this game because it was too difficult. I don't think so. At the beginning, I couldn't score higher than 40 either. But after some practice, I really got better at it. Have a look at the high score table, you'll see ;)
If you're proud of all the high scores you get, please don't hesitate to send me the file "scores[h or u].sco" and I'll add your entries to the high score table distributed with the game!
Oh, another thing: the AI isn't cheating at all! It just manages to anticipate everything and to add some effects on the ball.


Downloads

Name Comments Size Date
tpong.zip Windows Binary & Source Code 320,258 05/31/2007 7:10 PM

What's New:

5.2
Added a trick that gives to the ball a minimum speed... In that way, it's no longer possible to realize wonderful scores without even touching the ball :D

5.1
-Drawing bug fixed in the option menu.
-Removed perfect pixel collision detection (between bitmaps), since I use another way to do it.
-Fixed a function name problem in the sources.

5f
-I finally managed to add a pefect collision detection to each extremity of rackets. It's now supposed to render a really realistic effect. However, you can play with that and try to reduce horizontal speed drastically (and increase vertical speed as well) It's also possible to increase speed in an unexpected way! You can even lose the ball, so be careful ;-).
-There are also some cosmetic changes in the sources and I added an icon for windows users.
-Close button is now fully functional -on platforms that have a close button of course- consequently, Alt-F4 is working fine. I might add some options so that users can change them without editing config.ini .

5
-There are now three different racket colors.
-I added "sparks" each time the ball hits a racket or the border of the screen!
-I also corrected a lot of bugs and bad lines in the sources.
-New graphics show the current level.
-Score is increased when the ball hits the border.
-I added a nice starfield on the background :).
-There are new sounds (especially when the game is over).
-New mode : 2 Humans vs Computer.

5f

-I finally managed to add a pefect collision detection to each extremity of rackets. It's now supposed to render a really realistic effect. However, you can play with that and try to reduce horizontal speed drastically (and increase vertical speed as well) It's also possible to increase speed in an unexpected way! You can even lose the ball, so be careful ;-).
-There are also some cosmetic changes in the sources and I added an icon for windows users.
-Close button is now fully functional -on platforms that have a close button of course- consequently, Alt-F4 is working fine. I might add some options so that users can change them without editing config.ini .

5
There are now three different racket colors. I added "sparks" each time the ball hits a racket or the border of the screen! I also corrected a lot of bugs and bad lines in the sources. New drawings symbolize the current level. Score is increased when the ball hit the border. I added a nice starfield on the background :). There are new sounds (especially when the game is over). New game mode : 2 Humans vs Computer.

4
Big changes in the sources for the AI. Three modes are now available! Regular, hard and unlimited speed. Have fun ;)

3
I finally added something to redefine keyboard! The game is now completed.

2.2
I cleaned up the sources again. I also fixed a compilation problem with DJGPP. DOS version works fine now.

2.1
I just cleaned up the sources so that you can compile them in any OS (I hope so). I also added a makefile for BeOS.

2.0
New menu added! You can now select the game you want (Human vs Human, Human vs Computer and Computer vs Computer).
The AI is now a bit more difficult!


1.1
I just cleaned up the code. Added some functionnalities for future updates.

Screenshots
Screenshot from version 5
Screenshot from version 5
Public Opinion
Overall Rating: 8.0
  • 8A tad buggy, yes... it'll sometimes make the ball go at REALLY weird(like almost vertical and stuff) angles. (I got a few thousand that way!) Anyway, as far as I know I'm the only one to have won(A few time both games, TPongMini is easier)... just posting to brag :). But... the game ends then, scoring you as if you had lost!
  • 8Surprising how such a small change can make all the difference. The game is still a very basic Pong clone, but the unbeatable AI, and the way the game restarts every time you lose, makes it highly addictive. Bonus points for fun cooperative mode. It would be nice if that mode also had a highscores list and if you could enter longer names.
  • 8Good game, very addictive. Looks and sounds OK (although there's no music), only drawback is the gameplay which isn't the best as the racket is a little hard to control and the ball gets to fast too soon so getting a high score depends more on luck than skill...
The Developer
ITM
ITMI like music and game programming. Oh, I also play tennis. I am a "real" C coder since 2000. (View Profile)