Developing online multiplayer card game
Hi,
Im going to develope a mmorp game and im looking for some advice for the technologies of java that provides for this kind of developments. It will be a simple 4 person card game with low grapics. The specifications are the follows:
Playable in web browser
Divided in to tables, each table 4 person playing
Hadle up to 500 users
low graphics, fast play
Supports users database for user information
chat room
OK thats a few. Take an example of poker online games.
What i need is some advice for what technologies should i look for to develope this software.
Thank you
Lakis
[649 byte] By [
Lakismana] at [2007-11-27 9:14:47]

If you want the game to played from a website, you can write it as an applet. You can also write it as a desktop application using Swing (Swing is Sun's name for Java's graphical user interface library - it can be used to create windows and render images on the screen). You can also use somewhat of a combination of these two using Java Web Start. To render the images you will probably need to use the Java 2D API. If you want to connect the program over a network you will need to use the networking API. Fortunately, both of these are relatively easy to use. If you want a comprehensive list of classes available in the core Java API, take a look at the javadocs (which are generated from comments in the API source code), located at http://java.sun.com/javase/6/docs/api/. If you want a more general perspective on what Java can do, you can take a look at http://java.sun.com/javase/6/docs/.
As an example of how easy the Java APIs are to use, the following code puts a window up on the screen (the window is 200 pixels wide by 300 pixels tall, and is located 150 pixels from the left edge of the screen and 100 pixels from the top):
import javax.swing.JFrame;
public class Program {
public static void main(String[] args) {
JFrame frame = new JFrame("Window Title");
frame.setSize(200, 300);
frame.setLocation(150, 100);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}
@modia at 2007-7-12 22:03:15 >
