enum Tetryst::Shape

Defined in:

tetryst/shape.cr

Enum Members

Empty = 0
I = 1
J = 2
L = 3
O = 4
S = 5
T = 6
Z = 7

Class Method Summary

Instance Method Summary

Class Method Detail

def self.random #

[View source]

Instance Method Detail

def color #

[View source]
def empty? #

[View source]
def i? #

[View source]
def j? #

[View source]
def l? #

[View source]
def matrix #

[View source]
def o? #

[View source]
def s? #

[View source]
def t? #

[View source]
def z? #

[View source]