Does anyone have any suggestions on networking, im about to start programming my “tracker/chat” part of my game, i know there is the darkstar project and the jnet anyone have any suggestions, or just go and use the java api network layer? My game is basically a arena game with players trying to steal the flag or kill each other and steal bases.
It is probably best to work with a text based (preferably line based) networking protocol, on top of java.net.Socket’s streams, with a bunch of Threads.
Why textbased? Because then you actually see what’s going over the wire.
Why Sockets and no abstraction layer? Because you’ll gain experience with networking, without having to work around quirks and bugs in 3rd party libs. Java Networking just works.