How to start?

Hi,



I'm starting a (multiplayer) game and defining the package structure and the general code flow. I was wondering If its a good Idea to start planning/coding the basic networking classes beforehand or leave it for later (maybe until the very end?).



In other words, if I wait to code the networking part, it would be more difficult to implement later?



Btw. I will use JGN…



Thank you.

Depends if it is server oder Clientside, Server side you should start quite early since the logic is then run on the server and needs to be send to the client. So there can't really exist anything on the Client without a  Serverside Representation