Removed game.js, pulled socket handling logic away from client methods