Most of the algorithms in moves/bestmove use mini-max as their basis, with a few improvements on top. We have a lot of the same code in all the files. We should find a way to enable code reuse. There's currently three options:
make a common interface
make a superclass for all the algorithms
somehow make other algorithms use the min() and max() from SequentialMiniMax
Most of the algorithms in
moves/bestmove
use mini-max as their basis, with a few improvements on top. We have a lot of the same code in all the files. We should find a way to enable code reuse. There's currently three options:min()
andmax()
fromSequentialMiniMax