Package chesstrainer.endgame

Examples of chesstrainer.endgame.IEndgameTablebase


        window.pack();
        window.setVisible(true);
    }
   
    private static void testEGTB() {
        IEndgameTablebase egtb = new CSoapEndgameTablebase();
        String fen = "8/8/8/8/6p1/7p/4kB2/6K1 b - -";
        System.out.println(egtb.getScore(fen));
        Map<CMove, Integer> moves = egtb.getBestMoves(fen);
        for (CMove move : moves.keySet()) {
            System.out.println(move.toString() + " " + moves.get(move));
        }
    }
View Full Code Here

TOP

Related Classes of chesstrainer.endgame.IEndgameTablebase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.