Original Post
Hello everyone ! I apologize in advance for my question which is probably going to sound silly to you experienced game developers. I am currently working on a 2D, online, real-time, OGame-like game. The game is developed in Java. I am thinking about the networking aspect of the application, whith the following constraints : - Numerous simultaneous connexions (let's say a hundred, tops) - Web-browser based game, in a JApplet. I have considered the following options : - Sockets : I have some experience with Sockets in Java, since I have already developed a functional LAN game with them. Still, it was a 4-player game and I'm not too sure they are suited for "massive" multi-player games. - Java RMI Protocol : although this theoretically does exactly what I need, it is a real pain to use and I have been unable to set up an extremely simple RMI Server locally (and boy did I try). When I read that setting it up online when the game is finished is just as bad, I gave up. - Sun's Darkstar Project : it seems a little overkill for what I'm trying to do. Moreover, it looked a bit difficult to use. You may find an early version of the game interface at the following address : http://fc.isima.fr/~kwiatkow You'll have to be patient though. Since a new map has to be randomly generated, it may take up to 60 seconds to launch. My aim is to have one of those maps created by the server at the beginning of the game, and then to have multiple players play on it. In the end, my question is : what technology/protocol would you advise me to use ? Thank you in advance for your kind help ! Ivan