public static void adjust(ChessUser white,ChessUser black, Result result) {
        double ex = expectancy(white.getRating(),black.getRating());
        int delta = 0;
        if (result.getStatus()==Status.WHITE_WINS) {
            delta = (int) (K * ex);
            white.setRating(white.getRating() + delta);
            black.setRating(black.getRating() -delta);
        } else if(result.getStatus()==Status.BLACK_WINS){
            delta = (int) (K * (1.0 - ex));
            white.setRating(white.getRating() - delta);
            black.setRating(black.getRating() +delta);
            }
        else if(result.getStatus()==Status.DRAW)
        {
        	//For draw favor Black (it is not Elo standard)
        	white.setRating(white.getRating()+1);
        	black.setRating(black.getRating()+2);
        }
    }