how i can make PONG?
i want to make the game pong
and i don"t have the code
Please if anyone have it send it
You want to make Pong but you don't have any code? Write it yourself! A year ago I wanted to make an break out clone but I didn't had any code. So What? Make you're own. I wrote the entire game under DOS and it ran like hell! If you want to learn programming in Windows and you know how to work with C/C++ buy or download this boek:
Tip of The Windows Game Programming Gurus by Andre LaMothe. It's a nice book and it explains lots of things involved in creating games. The principal of Pong is easy:
Draw a ball and give it an direction. Move the ball every time a tiny bit and check if it hits a paddle or a wall. When this happens calcute the new course and voila. You have you're Pong ready. This should be no more than a couple hundred lines. Since I bought the book I'm planning a Pong but I haven't got any code yet because I received the book just a couple days back.
You have to find good resources to learn you game programming before you can start making things like Pong or much harder.
Member of the Stupid Coders,
- Earth is 98% full. Please delete anybody you can.
: i want to make the game pong
: and i don"t have the code
: Please if anyone have it send it
SandHawk make a great point--the best thing to do is write the code yourself. If you decide to do this, you're going to need to decide on a language and development tool. Normally, these cost money, but...you can get Java for free from Sun's java site (www.java.sun.com). You can get a great *free* Java development environment called "BlueJ" from www.bluej.org.
You can also find good Java tutorials on-line:
If you have questions, you can email me at
: - Earth is 98% full. Please delete anybody you can.
PLEASE!!!!! DON'T DELETE ME!!! I'll Run faster I swear!!!
: Hey Morpheus,
: SandHawk make a great point--the best thing to do is write the code yourself. If you decide to do this, you're going to need to decide on a language and development tool. Normally, these cost money, but...you can get Java for free from Sun's java site (www.java.sun.com). You can get a great *free* Java development environment called "BlueJ" from www.bluej.org.
: You can also find good Java tutorials on-line:
: If you have questions, you can email me at
I have two questions regarding Java, One can it be complied to be stand alone, Two how hard is it to learn?
Roger A. Mayers IC3, MOUS, A+
: : Hey Morpheus,
: : SandHawk make a great point--the best thing to do is write the code yourself. If you decide to do this, you're going to need to decide on a language and development tool. Normally, these cost money, but...you can get Java for free from Sun's java site (www.java.sun.com). You can get a great *free* Java development environment called "BlueJ" from www.bluej.org.
: : You can also find good Java tutorials on-line:
: : If you have questions, you can email me at
: I have two questions regarding Java, One can it be complied to be stand alone, Two how hard is it to learn?
: Roger A. Mayers IC3, MOUS, A+
I'll do my best to answer your questions--but I'm not much of an expert on Java's internal workings.
Before we get into the details, let's make sure we're talking about the same things. First, by "compiled",
I assume you mean "turned into an executable containing only machine-native code." Second, I'm
guessing that by "stand alone", you mean "would work on any machine capable of running an executable".
So, can Java be compiled into a stand alone application? Not really. First, it isn't compiled in the above
sense, and second, all Java applications must run within a "Java Virtual Machine" (JVM) that understands
the language. If you don't have a JVM, you can't run Java. I don't want to spam you with a bunch of unwanted
information, so that's all I'll say for now. If you want more details, let me know.
Now, if you're worried that any Java applications you might write won't work on other peoples' machines,
you can relax. The JVM automatically comes with Windows 9x/2000. I'm pretty sure the latest MacOS
"bundles" it. I'd be surprised if it wasn't included with LINUX distributions. With Java becoming so
widespread on the 'Net, OS distributors are realizing that they need to include it to stay competetive
(after all, how mad would you be if you installed Windows XP and suddenly lost the ability to use a few
million web pages?).
I hope that answers your first question.
As to how hard the language is to learn, the answer is, "that depends". If you have some experience with
object oriented programming, it's pretty easy--certainly simpler than C++, and in a lot of ways, easier to
grasp than Visual Basic. Also, like all languages, it does some things better than others. If your ultimate
goal is to write killer 3D graphics games, Java might not be the best choice. Other than that, I'd say it's well
suited to pretty much everything.
I hope this helps. If you're interested in learning more, let me know. Also, I've been toying with the
idea of starting a simple "step-by-step guide to Java game programming." It would be designed for
beginners who want to get into programming but have *no* money to buy commercial compilers and IDEs.
If you (or anyone else) would be interested, get in touch with me via this message board or through
Sorry this post was so long--I hope that it gave you what you needed.
It looks like you're new here. If you want to get involved, click one of these buttons!
Assembly Code Share
Getting started in assembly
C and C++
C/C++ on Linux/Unix
C/C++ Windows API
C++ Game Development
Delphi and Kylix
Java Server Pages
Access databases and VB
Advance Visual Basic
DirectX Game dev
Newbie Game Programmers
Cooling & Overclocking
Database & SQL
Sound & Music
FreeLance Software City
C# & VB.NET School Support
Join the Team
Comments on this site
New programming languages
Off topic board
Mobile & Wireless
Operating Systems & Platforms
Witsbits Go Cloud
Embedded / RTOS
Windows CE & Pocket PC
Networking And Security
Windows 2003 Server
RUP & UML
Quality & Testing
Active Server Pages
HTML & WEB-Design
Mobile Internet & Messaging
WEB-Services / SOAP
In this Discussion