Examples of BoardValidator


Examples of com.barrybecker4.game.twoplayer.go.board.BoardValidator

    PostChangeUpdater(GoBoard board, CaptureCounts captureCounter) {
        board_ = board;
        captureCounter_ = captureCounter;
        profiler_ = GoProfiler.getInstance();
        nbrAnalyzer_ = new NeighborAnalyzer(board);
        validator_ = new BoardValidator(board);
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.go.board.BoardValidator

     * Constructor
     * @param board the board
     */
    StringNeighborAnalyzer(GoBoard board) {
        board_ = board;
        validator_ = new BoardValidator(board);
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.go.board.BoardValidator

            }
        }
        // mark all the stones in the group unvisited again.
        visitedSet.unvisitPositions();
        if (GameContext.getDebugMode() > 1) {
            new BoardValidator(boardCopy).confirmAllUnvisited();
        }
        return area;
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.go.board.BoardValidator

        GoSearchable searchable = (GoSearchable) goController.getSearchable().copy();
        p1CapturesLabel_.setText( searchable.getNumCaptures( false ) + " " );
        p2CapturesLabel_.setText( searchable.getNumCaptures( true ) + " " );

        new BoardValidator(searchable.getBoard()).confirmStonesInValidGroups();
        p1TerritoryLabel_.setText( searchable.getTerritoryEstimate( true ) + " " );
        p2TerritoryLabel_.setText( searchable.getTerritoryEstimate( false ) + " " );

        legendPanel_.setVisible(GameContext.getDebugMode() > 0);
    }
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.