On Thu, Oct 8, 2009 at 12:56 AM, Tom Hawkins tomahawk...@gmail.com wrote:
Known bugs: Occasionally HTZAAR throws a Prelude.head: empty list.
I'm still trying to track this down.
I used the following function to track down a similar problem:
myhead :: String - [a] - a
myhead msg [] = error msg
HTZAAR is a Haskell implementation of TZAAR, a great little two-player
abstract strategy game designed by Kris Burm. TZAAR won Games
Magazine's Game-of-the-Year in 2008.
TZAAR has some interesting game dynamics. At each turn a player must
decide whether to attack or strengthen his own pieces.