Reorganized the client-side game creation logic