Rewrite GameController. Formatting code.