Java 2D client-server game