1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-12-30 21:19:52 +02:00
gambit/piece/type.go
2021-12-22 00:12:43 -05:00

24 lines
320 B
Go

package piece
type Type string
const (
Pawn Type = "P"
Knight Type = "N"
Bishop Type = "B"
Rook Type = "R"
Queen Type = "Q"
King Type = "K"
NoType Type = " "
)
var Display = map[Type]string{
Bishop: "♝",
King: "♚",
Knight: "♞",
Pawn: "♟",
Queen: "♛",
Rook: "♜",
NoType: " ",
}