stockfish

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StockFish

type StockFish struct {
	// contains filtered or unexported fields
}

func (*StockFish) Close

func (s *StockFish) Close()

func (*StockFish) Eval

func (s *StockFish) Eval(depth int) (int, int, error)

func (*StockFish) GetIsReady

func (s *StockFish) GetIsReady() bool

func (*StockFish) IBChannelWatch

func (s *StockFish) IBChannelWatch(isready, score chan string)

func (*StockFish) Init

func (s *StockFish) Init()

func (*StockFish) Load

func (s *StockFish) Load(game chess.Game)

func (*StockFish) Loop

func (s *StockFish) Loop()

func (*StockFish) NewGame

func (s *StockFish) NewGame()

func (*StockFish) PutIsReady

func (s *StockFish) PutIsReady()

func (*StockFish) SetOption

func (s *StockFish) SetOption(option string, after string)

func (*StockFish) WaitForRaw

func (s *StockFish) WaitForRaw(matches regexp.Regexp, perma bool) chan string

func (*StockFish) WaitReady

func (s *StockFish) WaitReady()

func (*StockFish) WriteRaw

func (s *StockFish) WriteRaw(cmd string)

Jump to

Keyboard shortcuts

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