Documentation ¶
Overview ¶
Package game is just a wrapper for the searching process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGame ¶
NewGame creates a new game instance.
it takes the start state path in puzzle, the desired algorithm in algor, and the desired cost function in costFunc.
In case the algorithm doesn't require a cost function, algor.NoFunc can be passed, but any other valid functions will work too and will be simply ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.