move main (user end) game code to client.c