Added playerWon() function to game