problems

package
v0.0.0-...-043dd78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flatten

func Flatten(tp movetree.Path, g *movetree.MoveTree) (*movetree.MoveTree, error)

Flatten takes a Path and a MoveTree and returns the root of the flat movetree. The flat movetree ignores the last two nodes of the treepath.

func PopulateBoard

func PopulateBoard(tp movetree.Path, g *movetree.MoveTree) (*board.Board, error)

PopulateBoard populates a go board given a MoveTree and Path. Captures are intentionally discarded here. Returns the populated board.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL