Creation of a class output, changement of game ,player and result