Home   Up

T3 alpha-beta player in Haskell


version 2 As of July 2008,
  • main- and cross-diagonal functions have been defined so the client code doesn't have to mess with cryptic numerical arguments.
  • The function got2 has been converted from a clunky recursion to higher-order functions. It's much more compact and much more idiomatic, and it fixes a bug in the original.
version 1 The original recursive version of got2 was really clunky and had a bug.

© 2008 Daniel S. Bensen   Home   About  Site map