Darren Cook wrote:
Jason House also mentioned "hard coding to a set board size", I think libego can be used at least up to 19x19, just by changing the "board_size" setting in board.cpp (it also supports hexagonal boards). Or did you mean being able to make one binary for all board sizes? I feel that that flexibility doesn't justify the performance hit.
One binary for many board sizes is pretty easy and comes at nearly zero runtime cost... Templates could at least allow common cases such as running on KGS to work well (19x19, 13x13, 9x9)
template <int boardsize> class board{ } or the D equivalent... class board(int boardsize){ } _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/