class Mouse

Defined in:

mouse_go_maze1.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(maze : Array(Array(Int32)), goal : NamedTuple(x: Int32, y: Int32)) #

[View source]

Class Method Detail

def self.go(maze, start, goal) #

[View source]

Instance Method Detail

def goal? #

[View source]
def route : Array({x: Int32, y: Int32}) #

[View source]
def try_one_out(pt) #

[View source]
def visit(pt) #

[View source]
def visitable?(pt) #

[View source]