title: Java - Client/Server Game Server Protocol. How to transmit commands?
body: <p>I wrote a client-server pair for a 2D top down RPG game using sockets.  However, I'm not clear on how exactly to transmit what the user wants to do.</p>
  
  <p>Would I simply transmit a string like "Move north" and then use switch statements to decide what action to take or is there a more elegant solution?</p>