(1) Adding a GameClient to handle game logic on the client side. (2) Minor refactoring.