A literate program turning into a tutorial article about trees and game theory.
Solving the game of Ghost, Haskell tutorial style