Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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



Comments

  • Sand_Hawk9Sand_Hawk9 Posts: 233Member
    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.

    Good Luck,

    Sand Hawk
    Member of the Stupid Coders,
    http://www.stupidcoders.cjb.net

    - Earth is 98% full. Please delete anybody you can.


  • kreitlerkreitler Posts: 218Member
    : i want to make the game pong
    : and i don"t have the code
    :
    :
    : Please if anyone have it send it
    :
    :
    :
    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:

    http://java.sun.com/docs/books/tutorial/
    http://homepages.unl.ac.uk/~wrightc/tyj/
    http://sunsite.utk.edu/java/docs/tutorial/
    http://www.sdsu.edu/doc/java-AWT-Tutorial/

    If you have questions, you can email me at kreitler@ix.netcom.com.


  • liteylitey Posts: 4Member

    : - Earth is 98% full. Please delete anybody you can.
    :
    :


    PLEASE!!!!! DON'T DELETE ME!!! I'll Run faster I swear!!!


  • McGyverMcGyver Posts: 11Member
    : 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:
    :
    : http://java.sun.com/docs/books/tutorial/
    : http://homepages.unl.ac.uk/~wrightc/tyj/
    : http://sunsite.utk.edu/java/docs/tutorial/
    : http://www.sdsu.edu/doc/java-AWT-Tutorial/
    :
    : If you have questions, you can email me at kreitler@ix.netcom.com.
    :
    :
    Hello,

    I have two questions regarding Java, One can it be complied to be stand alone, Two how hard is it to learn?


    Thanks,
    Roger A. Mayers IC3, MOUS, A+
    e-mail romaytech@yahoo.com


  • kreitlerkreitler Posts: 218Member
    : : 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:
    : :
    : : http://java.sun.com/docs/books/tutorial/
    : : http://homepages.unl.ac.uk/~wrightc/tyj/
    : : http://sunsite.utk.edu/java/docs/tutorial/
    : : http://www.sdsu.edu/doc/java-AWT-Tutorial/
    : :
    : : If you have questions, you can email me at kreitler@ix.netcom.com.
    : :
    : :
    : Hello,
    :
    : I have two questions regarding Java, One can it be complied to be stand alone, Two how hard is it to learn?
    :
    :
    : Thanks,
    : Roger A. Mayers IC3, MOUS, A+
    : e-mail romaytech@yahoo.com

    Hi Roger,
    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
    email: kreitler@sleepinggiantsoftware.com.
    Sorry this post was so long--I hope that it gave you what you needed.

    Kreitler


    :
    :


Sign In or Register to comment.