Sha256: 7cda733efdfd4b1ef4613d44d2a4a09537413670d0e70ed3a2d9fb13b9fd2507

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

module MCTS
  class MCTS
    def start(game_state, playouts = DEFAULT_PLAYOUTS)
      root = Root.new(game_state)

      playouts.times do |i|
        root.explore_tree
      end
      root
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubykon-0.3.1 lib/mcts/mcts.rb
rubykon-0.3.0 lib/mcts/mcts.rb