class RandomEnvironment

Defined in:

AI2048/agent.cr

Constructors

Instance Method Summary

Instance methods inherited from class Agent

check_for_win(b : Board) check_for_win, close_episode(flag : String = "") close_episode, name name, open_episode(flag : String = "") open_episode, prop : Hash(String, String) prop, prop=(prop : Hash(String, String)) prop=, take_action(b : Board) take_action

Constructor methods inherited from class Agent

new(args : String = "") new

Constructor Detail

def self.new(args : String = "") #

[View source]

Instance Method Detail

def engine : Random::PCG32 #

[View source]
def engine=(engine : Random::PCG32) #

[View source]
def take_action(b : Board) #

[View source]