put the game phases in a file