module Strategy

Overview

Abstract class of all strategies. They're all initialized with a @context and their entrypoint is the #move method

Defined in:

strategy/base.cr

Constant Summary

VALID_MOVES = ["up", "left", "down", "right"]

Class Method Summary

Class Method Detail

def self.build(name, context) #

[View source]