enum Aoc2022::Day2::Command

Defined in:

aoc2022/days/day2.cr

Enum Members

WIN = 0
LOSE = 1
DRAW = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from(command : String) #

[View source]

Instance Method Detail

def draw? #

[View source]
def lose? #

[View source]
def win? #

[View source]