move

package
v0.0.0-...-87e7153 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// TODO: should this be refactored to be a Board, and can decouple moveGen and State?
	Board state.Board
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(b state.Board, history string) Generator

func (*Generator) Possible

func (g *Generator) Possible()

func (*Generator) WhitePawns

func (g *Generator) WhitePawns()

Jump to

Keyboard shortcuts

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