added to game and player class and win checker