public boolean playerLost(int p){
        // If sentinel won
        if(winner == 1)
        {
            // Check whether player was on team sentinel
            for(int s:scourge)
            {
                if(s == p)
                    return true;
            }
        }
        // If scourge won
        if(winner == -1)
        {
            // Check whether player was on team scourge
            for(int s:sentinel)
            {
                if(s == p)
                    return true;
            }
        }
        // If no one won, or the player was not found on the winning team
        // the result is false.
        return false;
    }