san

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package moves provides functionally to parse a move in SAN representation.

SAN stands for standard algebraic notation and its description can be found in the FIDE handbook at http://www.fide.com/component/handbook/?id=171&view=article

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SANToMove

func SANToMove(pos *Position, s string) (Move, error)

SANToMove converts a move from SAN representation.

The set of strings accepted is a slightly different.

x (capture) presence or correctness is ignored.
+ (check) and # (checkmate) is ignored.
e.p. (enpassant) is ignored

Types

This section is empty.

Jump to

Keyboard shortcuts

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