add game_mod.py. refactoring in game.py