Package com.sgfj

Examples of com.sgfj.SGFNode.play()


    public void testPlay() {
        SGFNode root = new SGFNode();
        SGFMove m1 = new SGFMove(0, 0, SGFMove.WHITE);
        SGFMove m2 = new SGFMove(0, 1, SGFMove.BLACK);
        SGFMove m3 = new SGFMove(1, 0, SGFMove.BLACK);
        root.play(m1);
        root.iterator().next(false).play(m2);
        root.iterator().next(false).play(m3);
        root.iterator().next(false).play(m2);
        SGFNodeIterator it = root.iterator();
        try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.