public int asses(Board b, int numberOfPlayers){
        int sq=0;
        int i=1;
        while(sq==0 && i<numberOfPlayers){
            if(!isPlayerWinning(b,i)){
                i++;
            }else{
                sq=i;
            }
        }
        return sq;
    }