jonthysell / Mzinga

Open-source software to play the board game Hive.
MIT License
82 stars 9 forks source link

EvaluateMoves does not prune at first node #33

Closed jonthysell closed 8 years ago

jonthysell commented 8 years ago

Add alpha/beta pruning to EvaluateMoves, to not run moves if we get an immediate win Change Board scoring to use PositiveInfinity for win and NegativeInfinity for loss.