class SplatfestSimulator::SplatfestMatchmaker

Defined in:

splatfest_simulator/splatfest_matchmaker.cr

Constructors

Instance Method Summary

Instance methods inherited from class SplatfestSimulator::Matchmaker

make_all_matches! make_all_matches!, make_match! make_match!, teams : Array(Team) teams

Constructor methods inherited from class SplatfestSimulator::Matchmaker

new(given_teams : Array(SplatfestSimulator::Team) = DEFAULT_TEAM_COUNT.times.map do Team.new end.to_a) new

Constructor Detail

def self.new(knight_teams = DEFAULT_TEAM_COUNT.times.map do Team.new(faction: :knight) end.to_a, wizard_teams = DEFAULT_TEAM_COUNT.times.map do Team.new(faction: :wizard) end.to_a) #

[View source]

Instance Method Detail

def knight_teams : Array(Team) #

[View source]
def make_match! #

[View source]
def wizard_teams : Array(Team) #

[View source]