Method: Simulator#run

Defined in:
lib/manasimu/simulator.rb

#runObject



7
8
9
10
11
12
13
14
15
# File 'lib/manasimu/simulator.rb', line 7

def run
  @config.simulations.times do
    game = Game.new(@config.deck, true, @config.debugg)
    @config.turns.times do |i|
      turn = i + 1
      game.step turn
    end
  end 
end