I'm working on creating a 2D game for fun to learn some of the ins and outs of multiplayer gaming. The game itself will pit two players' armies against each other in a strategic turn based battle.
I am writing the game in Java and I am not trusting the client, so I am taking security into account. The players will have an personal account with their army lists and stuff that will live on the server as well.
I'm not really sure how to implement this, however. Do I use something like a webserver? This seems wrong, but I don't know what technologies to use for a Java front end and backend where the client is untrusted.
Any help is appreciated. Feel free to ask follow up questions.