enum Chess::Square

Defined in:

chess/square.cr

Enum Members

A1 = 0
B1 = 1
C1 = 2
D1 = 3
E1 = 4
F1 = 5
G1 = 6
H1 = 7
A2 = 8
B2 = 9
C2 = 10
D2 = 11
E2 = 12
F2 = 13
G2 = 14
H2 = 15
A3 = 16
B3 = 17
C3 = 18
D3 = 19
E3 = 20
F3 = 21
G3 = 22
H3 = 23
A4 = 24
B4 = 25
C4 = 26
D4 = 27
E4 = 28
F4 = 29
G4 = 30
H4 = 31
A5 = 32
B5 = 33
C5 = 34
D5 = 35
E5 = 36
F5 = 37
G5 = 38
H5 = 39
A6 = 40
B6 = 41
C6 = 42
D6 = 43
E6 = 44
F6 = 45
G6 = 46
H6 = 47
A7 = 48
B7 = 49
C7 = 50
D7 = 51
E7 = 52
F7 = 53
G7 = 54
H7 = 55
A8 = 56
B8 = 57
C8 = 58
D8 = 59
E8 = 60
F8 = 61
G8 = 62
H8 = 63
NoSquare = 64

Instance Method Summary

Instance Method Detail

def a1? #

[View source]
def a2? #

[View source]
def a3? #

[View source]
def a4? #

[View source]
def a5? #

[View source]
def a6? #

[View source]
def a7? #

[View source]
def a8? #

[View source]
def b1? #

[View source]
def b2? #

[View source]
def b3? #

[View source]
def b4? #

[View source]
def b5? #

[View source]
def b6? #

[View source]
def b7? #

[View source]
def b8? #

[View source]
def c1? #

[View source]
def c2? #

[View source]
def c3? #

[View source]
def c4? #

[View source]
def c5? #

[View source]
def c6? #

[View source]
def c7? #

[View source]
def c8? #

[View source]
def d1? #

[View source]
def d2? #

[View source]
def d3? #

[View source]
def d4? #

[View source]
def d5? #

[View source]
def d6? #

[View source]
def d7? #

[View source]
def d8? #

[View source]
def e1? #

[View source]
def e2? #

[View source]
def e3? #

[View source]
def e4? #

[View source]
def e5? #

[View source]
def e6? #

[View source]
def e7? #

[View source]
def e8? #

[View source]
def f1? #

[View source]
def f2? #

[View source]
def f3? #

[View source]
def f4? #

[View source]
def f5? #

[View source]
def f6? #

[View source]
def f7? #

[View source]
def f8? #

[View source]
def g1? #

[View source]
def g2? #

[View source]
def g3? #

[View source]
def g4? #

[View source]
def g5? #

[View source]
def g6? #

[View source]
def g7? #

[View source]
def g8? #

[View source]
def h1? #

[View source]
def h2? #

[View source]
def h3? #

[View source]
def h4? #

[View source]
def h5? #

[View source]
def h6? #

[View source]
def h7? #

[View source]
def h8? #

[View source]
def no_square? #

[View source]