コード例 #1
0
    public ZPogoModel()
    {
        board           = new PogoBoard();
        moves           = 0;
        lastPlayerColor = PawnColor.NULL;

        controller = new ZPogoController();

        white = new PogoPlayer(this);
        black = new PogoPlayer(this);
        gui   = new ZPogoGui(this);
    }
コード例 #2
0
 // Evaluation function for Minimax implementation.
 protected virtual double evaluation(PogoBoard PogoBoard, PawnColor turn)
 {
     return(0);
 }
コード例 #3
0
 // Minimax implementation.
 protected virtual List <Move> possibilities(PogoBoard board, PawnColor turn)
 {
     return(null);
 }