Crate sokoban

source ·
Expand description

sokoban, a general purpose crate for verifying sokoban puzzle states and solutions.

Modules

  • Error types and utilities for sokoban puzzles.

Structs

  • The state of the sokoban puzzle, including the map, player position, the targets of the puzzle, and the number of moves so far.
  • Iterator over the map of the puzzle.
  • An individual position in the state, as returned by a StateIterator.

Enums

  • A direction in which a player can move or move a crate.
  • The individual tiles present on a sokoban map.