mchess-server/types/shortname.go

13 lines
225 B
Go
Raw Normal View History

2023-06-25 14:11:29 +00:00
package types
type PieceShortName rune
const (
Pawn PieceShortName = 'p'
Rook PieceShortName = 'r'
Knight PieceShortName = 'n'
Bishop PieceShortName = 'b'
Queen PieceShortName = 'q'
King PieceShortName = 'k'
)