simplified game() logic
fix typo