enum Chess::Piece

Defined in:

chess/piece.cr

Enum Members

Pawn = 0
Knight = 1
Bishop = 2
Rook = 3
Queen = 4
King = 5
None = 6

Instance Method Summary

Instance Method Detail

def bishop? #

[View source]
def king? #

[View source]
def knight? #

[View source]
def none? #

[View source]
def pawn? #

[View source]
def queen? #

[View source]
def rook? #

[View source]