I'm pretty new to java but I generally get how to use java, I've only got basic programming knowledge though. I've made a chess variant game once which was only playable on one pc. But I wanted it to be playable per lan/internet, I didn't know it was much harder to code games with multiplayer then. I got frustrated and quit working on it. Now after some years have passed I scripted one of my boardgame ideas with Maptool, I finished the project. (sadly nobody is interested in the game T_T) I'm really satisfied with the work I did (even though a lot ppl helped me out) but instead of just scripting, I thought you can do better, start real programming again. I've gotten older and more patiant so now I'm trying to understand how programming multiplayer games work before I start coding. I'll start with a simple cardgame that can be played with 2 players with tcp/ip, to get into programming with java. I've tried to find code that I could use to understand how it works but I sadly couldn't find some. I couldn't even find a code archive or something alike. I'm hoping you guys can help out with some advice/links.
-Ahh ok it's called snippets no wonder I couldn't find any code