Crate takparse

source ·
Expand description

takparse is a library which provides helpful types and functions for parsing objects related to the abstract strategy board game Tak.


  • A helper struct for iterating over the drop counts encoded in a Pattern.
  • Struct which represents a valid move in Tak.
  • An encoded version of the drop counts.
  • A PTN file which is used to document a game of Tak.
  • A location on the board.
  • A stack is one or more pieces on top of each other. Yes, even a single flat on its own is considered a stack.
  • PTN Tag which is used to add additional information to a PTN file.
  • Parsed TPS struct which has a one-to-one mapping with a TPS string.