What should one use to make a game like this?

  • Multiplayer board game, turn based, with some basic graphics ( Applet/Java2d ?)
  • little chat built in ( yahoo-game-rooms like ? )
  • run on browser / web server ( servlet? )
  • mouse clicks actions should be seen by others players in good time ( UDP? )
  • transmit serialized objects if possible ( http/sockets?? )

as you can see on parenthesis, I’m very confused… :-\

I would appreciate your opinions, thanks in advance…

Well u ve pretty much answered all by urself.
Since the game is turn based, i guess that u dont need udp-better rely on reliable services TCP provides( TCP/IP sockets).
Since u ll have those rooms, i gess that u ll have to make some kind of server…
Graphics- i guess that u dont have much experience, so java2D is a very good choice(even for experienced ones;))
And yes it is possible to transmit serialized objects through socket-check out almost any tutorial about serialization and/or basic networking.

Hope i helped a bit.

whats the best way to connect the applet running on user browser to a server on internet?

Not sure about the best way:) But if you’re asking for the easiest way then the server also be the webserver for the applet, that way you won’t have any problems connecting to it (If you want to connect to other servers than the one that served the applet then the applet needs to be signed).
Language-wise you have a range of choices server-side.
If you have full control of the server then just code a java server and connect using tcp sockets.
If the server is a webhotel then you might be able to use PHP or other server-side scripting like ASP/ASP.NET - perhaps (although unlikely) even JSP.

ty :slight_smile:
I made some tests with servlets and object serialization… I tought would be easy cause I’ve made some serialization stuff before… but writing Objects from applet to servlet is a pain in the ass… you get all kind of random stuff, CorruptedStreamException, NullPointer, EOFException… I could make a simple echo test… but when I tried to make some handler thread to receive messages the pain began…
this is more like a hobby to me, so I think I’m putting it down “for now” :-X