chessnet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

func LoadGameToEngine

func LoadGameToEngine(GAMEFILE string, stdin io.WriteCloser)

- Load a saved game of chess (PGN/FEM)

func PrintBootLogo()

func QuitGameEngine

func QuitGameEngine(stdin io.WriteCloser)

func SaveGameFromEngine

func SaveGameFromEngine(GAMEFILE string, stdin io.WriteCloser)

- Save a game of chess (note - this does not mean persistence like on disk) (PGN/FEM)

func SendChessMoveToEngine

func SendChessMoveToEngine(GNUMOVE string, stdin io.WriteCloser)

- Send chess notation to a chess engine - gnuchess already does this

func StartEngine

func StartEngine()

- Start a chess engine

func WriteStdOut

func WriteStdOut(message string, stdin io.WriteCloser)

Types

This section is empty.

Jump to

Keyboard shortcuts

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