A monadic take on a 2,500-year-old board game.