Versions in this module Expand all Collapse all v1 v1.0.1 Nov 28, 2022 Changes in this version + const BLANK + const BLANKCHAR + const BORDER + const BOX + const BOXCHAR + const BOXONGOAL + const BOXONGOALCHAR + const DOWN + const GOAL + const GOALCHAR + const LEFT + const OBSTACLE + const OBSTACLECHAR + const PLAYER + const PLAYERCHAR + const PLAYERONGOAL + const PLAYERONGOALCHAR + const RIGHT + const UP + type PQ []State + func (pq *PQ) Pop() any + func (pq *PQ) Push(x any) + func (pq PQ) Len() int + func (pq PQ) Less(i, j int) bool + func (pq PQ) Swap(i, j int) + type State struct + Moves int + Tiles [][]int + func NewState(puzzlePath string, costFunc func(*State) *int) State + func (s *State) Cost() *int + func (s *State) Equals(o *State) bool + func (s *State) IsSolved() bool + func (s *State) Path() []State + func (s *State) Pos() [2]int + func (s *State) States() []State + func (s *State) StatesMap() map[int]State + func (s *State) String() string