Documentation ¶
Index ¶
- func FileExists(path string) bool
- func LoadGameToEngine(GAMEFILE string, stdin io.WriteCloser)
- func PrintBootLogo()
- func QuitGameEngine(stdin io.WriteCloser)
- func SaveGameFromEngine(GAMEFILE string, stdin io.WriteCloser)
- func SendChessMoveToEngine(GNUMOVE string, stdin io.WriteCloser)
- func StartEngine()
- func WriteStdOut(message string, stdin io.WriteCloser)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func LoadGameToEngine ¶
func LoadGameToEngine(GAMEFILE string, stdin io.WriteCloser)
- Load a saved game of chess (PGN/FEM)
func PrintBootLogo ¶
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 WriteStdOut ¶
func WriteStdOut(message string, stdin io.WriteCloser)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.