enum

GameStage

Inherits Enum < Comparable < Value < Object

Constants

InProgress = 0
WinWhite = 1
WinBlack = 2
Draw = 3

Instance methods

draw?

Returns true if this enum value equals Draw

Source
in_progress?

Returns true if this enum value equals InProgress

Source
win_black?

Returns true if this enum value equals WinBlack

Source
win_white?

Returns true if this enum value equals WinWhite

Source