Multiplayer Game

has anyone got a simple 2D game that works on a LAN so i can get a look at the code? Thanks.

I found the networking tutorials on the java website to be very valuable in making this chess game. it’s probably not the most efficient networking, and it was only a little project to play around with, but i hope this helps a bit…

I did play it on the internet with a friend once, it worked quite well, until we both tried to move a piece at the same time. you can run it twice on one computer and just host with one instance and connect with the other

this JAR is executable, but my ISP or internet explorer (one of the two) seems to want to download it as a .zip. just rename it to .jar and you should be able to double click it to run.

the source code is inside. you can unzip it.

http://www.adam.com.au/kellyjones/javagaming/JMChess.jar

ok, thanks very much. Ill have a look at the code and let u know how i get on.

        I  lookud up the JMchess code...  
Is there any different source codeof a LAN game helping the design of a multiplayer game..

FYI - Link is dead

way to check the date of post…

that was about 4 years ago…

Check http://www.furi.dk/socky

Converted my old mmo server into a javascriptable server framework.
Theres a flash avatar chat/walk example included. AS3 is very similar to java so you should be able to rip out the server stuff easily if needed :slight_smile:

Regards

/Ozak

jPCT’s advanced example feud. simple multi player FPS