saving and restoring the game