Cleaned game.py code for autodoc testing.