server

package
v0.0.0-...-052b58c Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	EnableParallelSearch  bool
	ParallelSearchBackend string
}

func (*Client) Move

func (c *Client) Move(b *types.Board, move [2]types.Point) (*Reply, error)

type Reply

type Reply struct {
	BestMove         [2]types.Point
	BestFitnessValue int
	Stat             *engine.Stat
	Ok               bool
}

func ParallelSearch

func ParallelSearch(address string, r Request) (*Reply, error)

type Request

type Request struct {
	Board *types.Board
	Side  types.Side
	Depth int
}
type Search int

func (*Search) BestMove

func (s *Search) BestMove(req Request, res *Reply) error

Jump to

Keyboard shortcuts

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