Depth better be even
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 3 Apr 2009 00:59:47 +0000 (00:59 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 3 Apr 2009 00:59:47 +0000 (00:59 +0000)
There seems to be a bug in game-tree that reverses the logic if depth is set
to an odd number.

Strategy.hs

index 0ada42a..d535124 100644 (file)
@@ -24,7 +24,7 @@ import Data.Ord
 import Data.Tree.Game_tree.Game_tree
 import Data.Tree.Game_tree.Negascout
 
-depth = 3
+depth = 2
 
 instance Game_tree GameSituation where
   is_terminal gs =    hitpoints (atTurn gs) <= 0