This chapter will be all about using the networking engine of jMonkeyEngine, SpiderMonkey, to take our games beyond the isolation of our own computers to the Internet. Don't worry if you're not well versed in networking, we'll take it from the very beginning.
This chapter contains the following recipes:
Setting up a server and client
Handling basic messaging
Making a networked game – Battleships
Implementing a network code for FPS
Loading a level
Interpolating between player positions
Firing over a network
Optimizing the bandwidth and avoiding cheating