mchess-server/types/shortname.go

13 lines
279 B
Go

package types
type PieceShortName rune
const (
PawnShortName PieceShortName = 'p'
RookShortName PieceShortName = 'r'
KnightShortName PieceShortName = 'n'
BishopShortName PieceShortName = 'b'
QueenShortName PieceShortName = 'q'
KingShortName PieceShortName = 'k'
)