modif index + playerWin test