apery

package
v0.0.0-...-a8c2199 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AperyClient

type AperyClient interface {
	Evaluate(ctx context.Context, sfen string, moves []string, timeout time.Duration) (result *EvaluationResult, err error)
}

func NewAperyClient

func NewAperyClient(bin string) AperyClient

type EvaluationResult

type EvaluationResult struct {
	Value    int
	Nodes    int
	Depth    int
	Bestmove string
	Pv       []string
}

Jump to

Keyboard shortcuts

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