Important alert: (current site time 4/23/2014 6:48:48 AM EDT)
 

winzip icon

A Pong Game

Email
Submitted on: 6/11/2001 10:36:40 AM
By: Dino Scarcella 
Level: Beginner
User Rating: By 9 Users
Compatibility: Java (JDK 1.1), Java (JDK 1.2)
Views: 52827
author picture
(About the author)
 
     I once checked on this site for a pong game,surprisingly I did not find any,so I tried to make it myself. And here you have it.I have updated my old version. Please vote for me,this version is a whole lot better. It's got random bricks that make things interesting. When the skill level changes,the background changes.You can make the applet any size, just remember to make the size of the backgrounds the same size as the applet. The game has more than one ball. To change the amount of balls change the size of the array (ball). To increase the amount of bricks change the brick array. This version also has sounds. A two player game has been added too. Check out the screenshot if you're not convinced. Enjoy!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

6/13/2001 7:59:36 PMBjoern

Ok, Pong-game, but why don't you have a
(If this comment was disrespectful, please report it.)

 
6/13/2001 8:04:09 PMBjoern

I try again.....why don't you have a "Start" button (or just start by clicking) placed in the scoreboard area? Now you have to refresh the site.
Ok game then :-)
(If this comment was disrespectful, please report it.)

 
6/22/2001 3:20:33 PMBjoern

Good work :-)
(If this comment was disrespectful, please report it.)

 
12/16/2001 11:25:15 PMGokhan

I have made some modifications on your code. Want to have a look?
(If this comment was disrespectful, please report it.)

 
11/1/2002 9:21:53 PM

Nice game there my friend :) keep up the good work.
(If this comment was disrespectful, please report it.)

 
12/2/2002 1:24:10 AM

Hi,

The Pong game you posted at planet-source-code was great... I am doing =
computer science course. I want to submit in my class with modifications =
and improvements for an assignment. But they have specified to submit a =
standalone code ie the code should run by "java Pong" rather than using =
applets.

Can u help me out by sending the corresponding code if you have one??
(If this comment was disrespectful, please report it.)

 
4/5/2003 9:46:48 PM

He has the .Java file in the zip. All you have to do is compile it to a class.
(If this comment was disrespectful, please report it.)

 
4/9/2003 1:47:21 PM

Keen.
(If this comment was disrespectful, please report it.)

 
2/8/2004 3:16:41 AM

keep up the good work.
(If this comment was disrespectful, please report it.)

 
5/27/2007 6:58:21 AMamit

ya it was a good job, but am looking for d source code of puyoo games pls let me know abt it as early as possible
(If this comment was disrespectful, please report it.)

 
2/24/2009 3:09:23 PMranjeet

this is easy to use
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.