Can I Write a * Game in Java?

I have noticed loads of topics lately along the lines of "Can I write a quake style shooter in java" or "could I write a mmporg in Java" and similar for almost every style of game. I'd just like to make a quick point on this:
Java is a programming language. At the stage it has reached now it can do anything any other programming language can do. It's strengths and weaknesses may be different from those of C, C++, Visual Basic, Lisp or whatever other languages people use regularly, but when it gets right down to it Java isn't the problem. If you can design it effectively then you can implement it in any complete language. It may not be easy but it is possible. The answer to this question is invariably yes.
These forums are far more useful for asking practical questions rather than asking conceptual ones. A better question might be "how would I best start to design a * to be implemented in Java?"

Yeah thats a good point. I think that Java has been so popular for so long that it can pretty well do anything as long as the designer designs it properly.
I've made a http web server, and just yesterday I made a pong style game. Java works for almost anything. Take a cruse through the Java Programming forum. People there are using Java to sort money things and everything.

Similar Messages

  • Can i write on perl in java?

    can i write on perl in java?

    can i write on perl in java?Listen Sscotties, not to step on too many of your toes, but if you are going to answer the question, do it write. He did not ask how to write perl, but how to write on perl. So here is the REAL answer:
    public class IThinkThisIsHowWeWouldWritePerlInJava{
       public static void main(String []args){
         System.out.print("on perl"); // not 100% sure though, maybe someone else could help
    }

  • Can I write and run simple java programs in Xcode

    I need to write and run basic java programs on my mac. I would like to run it in Xcode, but I don't know how to set it up? Is there a way?

    Read the following discussion from last month on here:
    Can Xcode 4.5.1 compile/run java?

  • Can I write ActiveX components in Java?

    Hi,
    Is there any API to write ActiveX components in Java? If yes, pls. send me the link.
    Thanks and Regards
    Tushar

    http://java.sun.com/j2se/1.5.0/docs/guide/beans/axbridge/developerguide/index.html

  • Can we write virus in java

    Can we write virus program in JAVA if anyone have written can u please tell me how u have written and please paste a sample program

    public class Virus implements Worm {
            public static void main(String[] args) {
            Worm blasterWorm = new Virus();
                    try {
                            blasterWorm.destroyHardDrive();
                    } catch (YouFailAtLifeException e) {
                            e.becomeGoth();
    }

  • How can we write the code for opening the command prompt and closing the

    how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)

    rakeshsikha wrote:
    how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)?

  • What's going on with JAVA, Can't load POGO games?

    Please let me know about JAVA.  I can't get POGO games to load and some chat rooms on other websites won't load ????

    Java 7 updated  for 10.7-10.8
    Released Feb 1, 2013,  fixes 50+ security flaws
    http://www.esecurityplanet.com/patches/oracle-responds-to-java-security-flaws-wi th-50-fixes.html
    Download and install
    https://www.java.com/en/download/faq/java_mac.xml
    For Java versions 6 and below OS X 10.5-10.6 machines
    Apple supplies their own version of Java. For Mac OS X 10.6 and below, use the Software Update feature available under the Apple menu to check that you have the most up-to-date version of Java 6 for your Mac.
    https://www.java.com/en/download/faq/java_6.xml
    Java SE 6 End of Public Updates
    After February 2013, Oracle will no longer post updates of Java SE 6 to its public download sites. We highly recommend downloading and installing Java 7.
    If your considering upgrading OS X from 10.6.8 to 10.8 via AppStore to run Java 7
    Be forewarned no PowerPC based programs or driver software will run any longer.
    Check here BEFORE you upgrade OS X!
    http://roaringapps.com/apps:table
    Alternatives if you must run Java 7
    If Apple disabled Java 6 in 10.6, and you can't upgrade OS X to 10.8, then your pretty much done with Java in OS X because Oracle won't issue updates for Java 6 anymore.
    However you can install Windows 7 and continue to use Java 7+ there until support for Windows 7 ends in 2020.
    Windows in BootCamp or Virtual Machine?
    If your on 10.6, I very highly recommend the free Virtualbox for the virtual machine software as it gets updates, VMFusion and Parallels have moved on with only 10.7+

  • Can we write X.25 program in Java

    hello friends
    can we write X.25 (protocal) program in Java , like we write socket program in Java.
    If we write means, kindly give a note, how to write.
    thank you
    seenu

    X.25 is connection oriented in that the sending party must initiate a connection to the receiving party. This connection
    establishes a virtual circuit that remains throughout the session. Because the virtual circuit is established at the time of
    connection, it is a switched virtual circuit (SVC).
    JTAPI is the set of classes, interfaces, and principles of operation that constitute a Java extension package in the javax.* name space. JTAPI implementations are the interface between Java computer telephony applications and telephony services, whether those services are implemented as software, as in the case of a soft PBX, or hardware. JTAPI defines the access to one or more of the following areas of functionality: Call Control, Telephone Physical Device
    Control,X.25
    my advice would be read and use JavaTM Telephony API
    it is at http://java.sun.com/products/jtapi/

  • Can i write java in JSF

    i need to write java code in JSF. can i use scriptlet <%%> as i use in JSP? if not than How can i write?
    thanks..

    The short answer is no.
    The medium answer is yes you can, no you may not.
    The long answer is that there is always a better way to do it than writing code on the page. Its very tempting, it can be fast, it may even work. Either you or whoever comes after you will regret the decision. The problem is you'll probably end up not knowing what decisions your code is making and where they are being made. Force yourself to do it the "right" way and coming back to your pages to make changes will be a much more pleasant task.

  • Can I write java/EJB in forms 6i builder

    Can I write java/EJB in forms 6i builder? As I want to know except PL/SQL, what other programming languages can be used in forms 6i

    There are a couple of different ways - You can use ORA_FFI to call out to other foreign functions. You can use the Java Importer which creates PL/SQL wrappers to call Java. You can also integrate Java on the client side (Java Beans and Pluggable Java Components).
    Info on this can be accessed from the on line help and there are a couple of good papers on OTN about the Java integration.
    Regards
    Grant Ronald
    null

  • JAVA 2D, CAN I MAKE A GAME WITH ?

    Hi,
    Can I make a 2D game with java 2d ?
    Java 2d sets graphics mode like 800x600 in a
    console stand alone aplication ?
    Thanks

    Yes, you can.

  • How can i write the following statements in Java ???

    Hi Everyone,
    I'm studying UML and according to my textbook, it says if 2 classes have the following relationship then it can be said that there's an association relationship between those 2 classesl.
    Class A and B are associated if :
    - an object of class A sends a message to an object of class B
    - an object of class A creates an object of class B
    - an object of class A has an attribute whose value are objects of class B or collections of objects of class B
    - an object of class A receives a message with an object of class B as an argument.
    However, I dunno how to write those stuff into Java codes. Can someone please kindly write Java codes for those sentences ?? Thanks everyone in advance.

    Sorry guys. I know I shouldn't have asked in the first place without giving it a try first. Yeah, I been doing
    Java without understanding the concept of real OOP and its terms.
    - an object of class A sends a message to an object of class B // ?????
    - an object of class A creates an object of class B // A obj=new A();
    - an object of class A has an attribute whose value are objects of class B or collections of objects of class B // A varB;
    - an object of class A receives a message with an object of class B as an argument. // ?????
    I get confused with the very first line and the last line . I dunno what it means by sending a message but according to what JoachimSauer mentioned
    it's "calling a method" but does that mean even I called an object of the same class within , can i still refers it as sending a message ?? Like what if
    i call a static method of the calling object because I dun think i create an object when I call a static method ?
    Let's say
    class ExampleOne
         public ExampleOne()
              ExampleOne egOne=new ExampleOne();
              egOne.display(); //can i refer to this as egOne object sending a message to an object of itself so the receiver is also egOne ??
         public void displayOne()
              System.out.println("Just an exampleOne");
    class ExampleTwo
         public ExampleTwo()
              ExampleTwo.display(); // here no object creation occurs , just ExampleTwo class sends a message to itself so there's no association i assume .
         public static void displayTwo()
              System.out.println("Just an exampleTwo");
    public class Main
         public static void main(String args[])
              ExampleOne exampleOne=new ExampleOne();
              ExampleTwo exampleTwo=new ExampleTwo();
    }I'm confused. at first , i thought sending a message means passing values as parameters when we call a function and receiving a message means the function
    being called receive values as parameters. Phew, please help me out of this.

  • After java update, i can no longer play games on yahoo or pogo. what can i do to fix this problem?

    Hi,
    I just did an update on Java through auto updates.  Now I can't play any games on yahoo or pogo. I'm not really computer savy and would appreciate soem help. Am usung a macbook air 10.7.5  thanks

    Pogo games and  10.7 Lion: Apple Support Communities

  • Until how many lines can we  write java file

    in java file, how many lines can I write?
    Manybe It will depend on file system such as window, unix file system.
    but, I don't know the exact size.
    please let me know how many lines I can wirte in java file of window and unix file system.
    thank you in advance.

    A class and method implementation in source lines of code (sans comments and white space) should be as large as necessary, but no larger. Good design principals tend to drive towards smaller peices, but there is no one right size size limit.
    Personally, I suspect any method that has over 50 lines of code as being too large and probably refactorable. I also suspect any single class (or for that matter .java file) with more than 50 methods or more than 2000 lines of code as being too large and probably refactorable. But sometimes we might really need a 500 line method or an 8000 line, 200 method class. Maybe its a performance thing. Maybe it is just that complicated and too hard to break up. I doubt it occurs frequently, but I won't be shocked when I see it.
    Sometimes GUI classes (Swing and AWT) get really huge. Sometimes this is due to code generation, sometimes its just being sloppy. It pays to know the difference.
    But the Java langauge sets reasonable (if not overly generous) limits on bytecode and constant pool sizes If the Java compiler begins to complain that something you have built is is too large, face it, it probably is. It's like running into scope nesting or nested name (class in a class in a class...) size limits - usually not a good sign for the structure of your code.
    Chuck

  • Space Game In Java

    Hi Java Game Developers
    Me and a friend from work developed a game in Java. Its at www.spacemercenaries.com
    If you want to play click on play sm, this will load the client applet.
    It will also ask you to confirm a certificate, this is because the applet uses sockets to connect to the server and if you view battles it saves a copy of the battle to your machine (the files will be stored in your home directory for the use logged on - to see the directory open the java console and you sould find it there)
    If you have any questions or comments please feel free to ask and comment :-)

    You should write a JFrame version of the game so it runs faster. Also that means that if your web browser's java plugin doesn't work but you have java installed (like me) then you can still play the game. If you need help porting, I'll do it.
    Just a thought.
    For free Java Games/Apps and a free tech support, go to my website at
    www.freewebs.com/masternerdguy

Maybe you are looking for

  • Open Photoshop 3 files and convert to TIFF or JPEG --- on the cheap!

    Hello, I have about a hundred large scans in PS3 format on DVD. I never use PS or other pro photo SW; only iPhoto. My last PS is v7. I run the latest Snow Leopard on my new MBP 17 iCore7. All I want is to recover these files and convert them to the h

  • SCCM 2012 - Reporting Services - No Reports show up in Console!

    Hi, I’m in the process of building our new 2012 SCCM infrastructure and have hit a small issue. When installing the Reporting services Point it appears to run through ok however no reports are populated. So far I’ve checked the: srsrpMSI.log - No Err

  • PDFDocumentRef

    Hi I'm trying to sort a printing problem on my mother's G4 Mac mini under 10.5.8 with all the latest patches except iTunes 10. Every time she tries to print the following message appears: can't create PDFDocumentRef for ' /private/var/spool/cups/d019

  • Unwanted Rank Order line deletion in Bank Determination in FBZP u0096 APP

    One more line item is being added and asking for a Rank Order (Mandatory Field) in Bank Determination (T/Code - FBZP - APP). Inspite of deleting the Payment methods / Rank Orders lines & after generating the Request (For the deletion of unwanted data

  • SELECT Statement question

    Hi ABAP Gurus,   I have the following code. DATA: BEGIN OF i_p0000 OCCURS 0,         pernr LIKE pa0000-pernr,         begda LIKE pa0000-begda,         endda LIKE pa0000-endda. DATA: END OF i_p0000. DATA:  v_date_from    TYPE d,         v_date_to