split game.py into game.py and testcases.py