Original Post
I created a new thread since I do not want to hijack the other thread about java sockets. Some of the posts in that thread mentioned that sending objects over sockets are expensive. Currently I am using a simple event based client/server engine. For example, player moves 2 hexes to right, client will create an event object containing neccesary data in a hashmap (probably containing the destination hex number as well as player name that moved) and send it over to the server. Once it reaches the server, server will process the event according to the type of event object received. Now I have a question, is this method expensive? Currently everything is running smoothly, though there is not much content yet.