Sha256: 7e1ec0863ce96eb76bf12920a396e27066a0f5f5986b21c34f193e4b8b284ded
Contents?: true
Size: 669 Bytes
Versions: 9
Compression:
Stored size: 669 Bytes
Contents
# frozen-string-literal: true module Bioshogi class Piece class EkScoreInfo N_SOLIDIERS_IN_OPPONENT_AREA_WITHOUT_KING = 10 # 玉を除く駒が何枚以上相手陣に入っていればよい include ApplicationMemoryRecord memory_record [ # https://www.shogi.or.jp/faq/amature-kitei.html { key: :king, ek_score: 0, }, { key: :rook, ek_score: 5, }, { key: :bishop, ek_score: 5, }, { key: :gold, ek_score: 1, }, { key: :silver, ek_score: 1, }, { key: :knight, ek_score: 1, }, { key: :lance, ek_score: 1, }, { key: :pawn, ek_score: 1, }, ] end end end
Version data entries
9 entries across 9 versions & 1 rubygems