module Bioshogi module Ai module Evaluator OpeningBasicTable = { :advance => { :king => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :rook => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :bishop => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :gold => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :silver => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :knight => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], :lance => [ 8, 7, 6, 5, 4, 3, 2, 1, 0, ], :pawn => [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], }, :field => { :king => [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], ], :rook => [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], ], :bishop => [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ],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