mchess-server/types/shortname.go

13 lines
279 B
Go
Raw Normal View History

2023-06-25 14:11:29 +00:00
package types
type PieceShortName rune
const (
2023-06-25 22:51:20 +00:00
PawnShortName PieceShortName = 'p'
RookShortName PieceShortName = 'r'
KnightShortName PieceShortName = 'n'
BishopShortName PieceShortName = 'b'
QueenShortName PieceShortName = 'q'
KingShortName PieceShortName = 'k'
2023-06-25 14:11:29 +00:00
)