Sha256: fdbad935849bd4efea8d4432939cde310c648fbda4b8a515966d6a6e1af82430

Contents?: true

Size: 555 Bytes

Versions: 8

Compression:

Stored size: 555 Bytes

Contents

# frozen-string-literal: true

module Bioshogi
  module AI
    module Evaluator
      # 評価すること
      # ・盤上の駒の価値
      # ・詰将棋モードの場合はYの位置を考慮したら逆に面倒なことになるのでこの評価方法でよい
      class Level0 < Base
        private

        def total_score(player)
          w = 0
          # w += player.piece_box.score
          # w
        end

        # 自分基準評価値
        def soldier_score(e)
          e.abs_weight
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bioshogi-0.0.15 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.14 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.10 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.9 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.8 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.7 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.5 lib/bioshogi/ai/evaluator/level0.rb
bioshogi-0.0.4 lib/bioshogi/ai/evaluator/level0.rb