public static int addDef(int piece){
        if (piece == DraughtsState.WHITEKING ||
                piece == DraughtsState.WHITEPIECE){
            return 5;
        }
        if (piece == DraughtsState.BLACKKING ||
                piece == DraughtsState.BLACKPIECE){
            return -5;
        }
        return 0;
    }