bioshogi 0.0.13 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (640) hide show
  1. checksums.yaml +4 -4
  2. data/.dumbjump +4 -0
  3. data/A/342/206/222B/342/206/222C/345/233/262/343/201/204.txt +14 -0
  4. data/A/342/206/222B/342/206/222C/346/210/246/346/263/225.txt +96 -0
  5. data/Gemfile.lock +18 -16
  6. data/README.org +6 -6
  7. data/bioshogi.gemspec +2 -2
  8. data/lib/bioshogi/ai/brain.rb +6 -7
  9. data/lib/bioshogi/ai/versus.rb +1 -1
  10. data/lib/bioshogi/{explain/skill_monitor.rb → analysis/analyzer.rb} +152 -41
  11. data/lib/bioshogi/{explain/monitor_mod.rb → analysis/analyzer_mod.rb} +29 -18
  12. data/lib/bioshogi/analysis/attack_info.rb +316 -0
  13. data/lib/bioshogi/{explain/tech_accessor.rb → analysis/basic_accessor.rb} +34 -19
  14. data/lib/bioshogi/{explain → analysis}/board_piller_methods.rb +10 -10
  15. data/lib/bioshogi/{explain → analysis}/chaos_info.rb +1 -1
  16. data/lib/bioshogi/analysis/defense_info.rb +178 -0
  17. data/lib/bioshogi/analysis/file_normalizer.rb +54 -0
  18. data/lib/bioshogi/analysis/frequency.rb +376 -0
  19. data/lib/bioshogi/{explain → analysis}/group_info.rb +1 -1
  20. data/lib/bioshogi/analysis/note_info.rb +100 -0
  21. data/lib/bioshogi/analysis/rocket_analyzer.rb +104 -0
  22. data/lib/bioshogi/{explain → analysis}/sect_info.rb +1 -1
  23. data/lib/bioshogi/{explain → analysis}/shape_info.rb +1512 -531
  24. data/lib/bioshogi/{explain → analysis}/shape_info_relation.rb +2 -2
  25. data/lib/bioshogi/{explain → analysis}/skill_set.rb +8 -3
  26. data/lib/bioshogi/analysis/style_accessor.rb +48 -0
  27. data/lib/bioshogi/analysis/style_info.rb +15 -0
  28. data/lib/bioshogi/analysis/tactic_hit_turn_table.rb +413 -0
  29. data/lib/bioshogi/{explain → analysis}/tactic_hit_turn_table_generator.rb +34 -32
  30. data/lib/bioshogi/{explain → analysis}/tactic_info.rb +56 -33
  31. data/lib/bioshogi/analysis/tactic_stat.rb +14 -0
  32. data/lib/bioshogi/analysis/tactic_validator.rb +60 -0
  33. data/lib/bioshogi/analysis/technique_info.rb +62 -0
  34. data/lib/bioshogi/analysis/technique_matcher_helper.rb +8 -0
  35. data/lib/bioshogi/analysis/technique_verify_info.rb +627 -0
  36. data/lib/bioshogi/{explain//346/211/213/347/255/213 → analysis//345/202/231/350/200/203}//343/203/255/343/202/261/343/203/203/343/203/210.kif +8 -11
  37. data/lib/bioshogi/{explain → analysis}//345/202/231/350/200/203//345/205/245/347/216/211.kif +6 -4
  38. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/220/215/344/272/272/343/201/253/345/256/232/350/267/241/343/201/252/343/201/227.kif +98 -0
  39. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/244/247/351/247/222/343/202/263/343/203/263/343/203/227/343/203/252/343/203/274/343/203/210.kif +155 -0
  40. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/244/247/351/247/222/345/205/250/343/203/226/343/203/203/343/203/201.kif +80 -0
  41. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/257/276/345/261/205/351/243/233/350/273/212.kif +10 -0
  42. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/257/276/346/212/227/345/275/242.kif +11 -0
  43. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/257/276/346/214/257/343/202/212/351/243/233/350/273/212.kif +11 -0
  44. data/lib/bioshogi/analysis//345/202/231/350/200/203//345/257/276/347/251/264/347/206/212.kif +122 -0
  45. data/lib/bioshogi/{explain → analysis}//345/202/231/350/200/203//345/261/205/351/243/233/350/273/212.kif +2 -4
  46. data/lib/bioshogi/analysis//345/202/231/350/200/203//346/200/245/346/210/246.kif +54 -0
  47. data/lib/bioshogi/analysis//345/202/231/350/200/203//346/211/213/345/276/227/350/247/222/344/272/244/346/217/233/345/236/213.kif +15 -0
  48. data/lib/bioshogi/analysis//345/202/231/350/200/203//346/211/213/346/220/215/350/247/222/344/272/244/346/217/233/345/236/213.kif +10 -0
  49. data/lib/bioshogi/analysis//345/202/231/350/200/203//346/214/201/344/271/205/346/210/246.kif +162 -0
  50. data/lib/bioshogi/analysis//345/202/231/350/200/203//346/214/257/343/202/212/351/243/233/350/273/212.kif +11 -0
  51. data/lib/bioshogi/{explain → analysis}//345/202/231/350/200/203//347/233/270/345/205/245/347/216/211.kif +3 -3
  52. data/lib/bioshogi/{explain → analysis}//345/202/231/350/200/203//347/233/270/345/261/205/347/216/211.kif +7 -5
  53. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/233/270/345/261/205/351/243/233/350/273/212.kif +32 -0
  54. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/233/270/346/214/257/343/202/212/351/243/233/350/273/212.kif +16 -0
  55. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/233/270/347/251/264/347/206/212.kif +87 -0
  56. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/237/242/345/200/211/346/226/26024/346/211/213/347/265/204.kif +39 -0
  57. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/237/242/345/200/211/346/227/24724/346/211/213/347/265/204.kif +39 -0
  58. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/237/255/346/211/213/346/225/260.kif +29 -0
  59. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/251/264/347/206/212.kif +122 -0
  60. data/lib/bioshogi/analysis//345/202/231/350/200/203//347/251/264/347/206/212/343/201/256/345/247/277/347/204/274/343/201/215.kif +122 -0
  61. data/lib/bioshogi/analysis//345/202/231/350/200/203//350/203/214/346/260/264/343/201/256/351/231/243.kif +154 -0
  62. data/lib/bioshogi/analysis//345/202/231/350/200/203//350/247/222/344/270/215/346/210/220.kif +23 -0
  63. data/lib/bioshogi/analysis//345/202/231/350/200/203//350/247/222/344/272/244/346/217/233/345/236/213.kif +17 -0
  64. data/lib/bioshogi/analysis//345/202/231/350/200/203//351/203/275/350/251/260/343/202/201.kif +90 -0
  65. data/lib/bioshogi/analysis//345/202/231/350/200/203//351/225/267/346/211/213/346/225/260.kif +355 -0
  66. data/lib/bioshogi/{explain → analysis}//345/202/231/350/200/203//351/243/233/350/273/212/344/270/215/346/210/220.kif +2 -4
  67. data/lib/bioshogi/analysis//345/202/231/350/200/203//351/247/222/346/237/261.kif +193 -0
  68. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/201/202/343/201/232/343/201/276/343/202/204/345/233/262/343/201/204.kif +9 -5
  69. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/201/204/343/201/213/343/201/240/345/233/262/343/201/204.kif +43 -0
  70. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/201/204/343/201/241/343/201/224/345/233/262/343/201/204.kif +10 -8
  71. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/201/213/343/202/223/343/201/264/343/202/207/343/201/206/345/233/262/343/201/204.kif +19 -10
  72. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/201/232/343/202/214/347/276/216/346/277/203.kif +6 -6
  73. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/201/241/343/202/207/343/202/223/343/201/276/343/201/222/347/276/216/346/277/203.kif +42 -0
  74. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/201/270/343/201/223/343/201/277/347/237/242/345/200/211.kif +7 -7
  75. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/202/242/343/203/222/343/203/253/345/233/262/343/201/204.kif +110 -0
  76. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/250/343/203/253/343/203/242/345/233/262/343/201/204.kif +6 -4
  77. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/202/252/343/203/252/343/202/270/343/203/212/343/203/253/351/233/201/346/234/250.kif +119 -0
  78. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/252/343/203/274/343/203/253/343/203/211/351/233/201/346/234/250.kif +7 -5
  79. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/202/253/343/202/256/345/233/262/343/201/204.kif +178 -0
  80. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/253/343/202/277/345/233/262/343/201/204.kif +14 -10
  81. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/253/343/203/213/345/233/262/343/201/204.kif +8 -5
  82. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/253/343/203/213/347/274/266/345/233/262/343/201/204.kif +3 -3
  83. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/202/253/343/203/226/343/203/210/345/233/262/343/201/204.kif +32 -0
  84. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/253/343/203/226/343/203/210/347/276/216/346/277/203.kif +9 -6
  85. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/202/273/343/203/241/343/203/263/343/203/210/345/233/262/343/201/204.kif +13 -6
  86. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/203/200/343/202/244/343/203/244/343/203/242/343/203/263/343/203/211/347/276/216/346/277/203.kif +7 -7
  87. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/203/201/343/203/247/343/202/263/343/203/254/343/203/274/343/203/210/345/233/262/343/201/204.kif +9 -8
  88. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/203/204/343/203/216/351/212/200/345/233/262/343/201/204.kif +48 -0
  89. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/203/204/343/203/216/351/212/200/351/233/201/346/234/250.kif +117 -0
  90. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/203/223/343/203/203/343/202/2604.kif +16 -10
  91. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/203/234/343/203/212/343/203/263/343/202/266/345/233/262/343/201/204.kif +12 -10
  92. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/203/237/343/203/254/343/203/213/343/202/242/343/203/240/345/233/262/343/201/204.kif +169 -0
  93. data/lib/bioshogi/analysis//345/233/262/343/201/204//343/203/240/343/203/252/343/203/244/343/203/252/347/237/242/345/200/211.kif +45 -0
  94. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//343/203/242/343/203/216/343/203/254/343/203/274/343/203/253/345/233/262/343/201/204.kif +6 -3
  95. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//344/270/200/346/226/207/345/255/227/347/237/242/345/200/211.kif +5 -4
  96. data/lib/bioshogi/analysis//345/233/262/343/201/204//344/270/255/344/275/217/343/201/276/343/201/204.kif +125 -0
  97. data/lib/bioshogi/analysis//345/233/262/343/201/204//344/270/255/345/216/237/345/233/262/343/201/204.kif +34 -0
  98. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//344/270/262/343/202/253/343/203/204/345/233/262/343/201/204.kif +10 -10
  99. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/215/207/347/224/260/347/276/216/346/277/203.kif +5 -3
  100. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/217/263/347/237/242/345/200/211.kif +11 -7
  101. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/233/233/346/236/232/347/251/264/347/206/212.kif +66 -0
  102. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/233/233/346/236/232/347/276/216/346/277/203.kif +12 -10
  103. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/233/233/346/236/232/351/212/200/345/206/240.kif +16 -8
  104. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/233/233/346/256/265/347/253/257/347/216/211.kif +13 -7
  105. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/233/233/346/256/265/347/253/257/347/216/2112.kif +1 -3
  106. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/233/233/350/247/222/347/237/242/345/200/211.kif +10 -7
  107. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/234/237/345/261/205/347/237/242/345/200/211.kif +7 -5
  108. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/235/212/344/270/273/347/276/216/346/277/203.kif +48 -0
  109. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/244/247/345/261/261/347/276/216/346/277/203.kif +9 -7
  110. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/244/247/347/233/276/345/233/262/343/201/204.kif +6 -5
  111. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/244/247/351/232/205/345/233/262/343/201/204.kif +23 -0
  112. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/244/251/345/256/210/351/226/243/345/233/262/343/201/204.kif +7 -5
  113. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/244/251/345/256/210/351/226/243/347/276/216/346/277/203.kif +10 -9
  114. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/244/251/351/207/216/347/237/242/345/200/211.kif +40 -0
  115. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/257/214/345/243/253/350/246/213/347/237/242/345/200/211.kif +155 -0
  116. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/261/205/347/216/211.kif +10 -6
  117. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/261/205/351/243/233/347/251/264/351/237/263/347/204/241/343/201/227/343/201/256/346/247/213/343/201/210.kif +9 -21
  118. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/347/251/264/347/206/212.kif +56 -0
  119. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/351/207/221/345/206/240.kif +138 -0
  120. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/351/207/221/347/204/241/345/217/214.kif +51 -0
  121. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/351/207/221/347/276/216/346/277/203.kif +8 -8
  122. data/lib/bioshogi/analysis//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/351/212/200/345/206/240.kif +57 -0
  123. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/267/246/345/261/261/345/233/262/343/201/204.kif +6 -4
  124. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//345/267/246/347/276/216/346/277/203.kif +7 -7
  125. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/202/252/345/275/242/347/237/242/345/200/211.kif +5 -3
  126. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/343/202/250/343/203/253/343/203/242.kif +7 -5
  127. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/343/203/223/343/203/203/343/202/2604.kif +15 -9
  128. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/343/203/237/343/203/254/343/203/213/343/202/242/343/203/240.kif +17 -11
  129. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/344/270/262/343/202/253/343/203/204/345/233/262/343/201/204.kif +7 -5
  130. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/345/233/233/346/236/232/347/276/216/346/277/203.kif +12 -7
  131. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/345/244/251/345/256/210/351/226/243/347/276/216/346/277/203.kif +7 -6
  132. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/347/251/264/347/206/212.kif +8 -8
  133. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/347/253/257/347/216/211/351/212/200/345/206/240.kif +6 -6
  134. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/214/257/343/202/212/351/243/233/350/273/212/351/212/200/345/206/240/347/251/264/347/206/212.kif +10 -9
  135. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/226/207/351/216/256/345/233/262/343/201/204.kif +10 -6
  136. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/226/260/345/236/213/351/233/201/346/234/250.kif +6 -4
  137. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/227/251/345/233/262/343/201/204.kif +5 -5
  138. data/lib/bioshogi/analysis//345/233/262/343/201/204//346/234/250/346/235/221/347/276/216/346/277/203.kif +53 -0
  139. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/235/276/345/260/276/346/265/201/347/251/264/347/206/212.kif +12 -9
  140. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/241/220/345/261/261/346/265/201/344/270/255/345/216/237/345/233/262/343/201/204.kif +8 -5
  141. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//346/265/201/343/202/214/347/237/242/345/200/211.kif +10 -6
  142. data/lib/bioshogi/analysis//345/233/262/343/201/204//346/265/201/347/267/232/347/237/242/345/200/211.kif +65 -0
  143. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/204/241/346/225/265/345/233/262/343/201/204.kif +20 -0
  144. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/204/241/350/262/254/344/273/273/347/237/242/345/200/211.kif +6 -5
  145. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/211/207/343/203/204/343/203/216/351/212/200/345/233/262/343/201/204.kif +50 -0
  146. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/211/207/347/251/264/347/206/212.kif +51 -0
  147. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/211/207/347/276/216/346/277/203/345/233/262/343/201/204.kif +34 -0
  148. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/211/207/351/212/200/345/206/240.kif +9 -8
  149. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/237/242/345/200/211/346/227/251/345/233/262/343/201/204.kif +9 -6
  150. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/237/242/345/200/211/347/251/264/347/206/212.kif +9 -7
  151. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/245/236/345/220/211/346/265/201/347/251/264/347/206/212.kif +10 -8
  152. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/251/272/344/270/255/346/245/274/351/226/243.kif +59 -0
  153. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/253/257/347/216/211/351/212/200/345/206/240.kif +63 -0
  154. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/256/261/345/205/245/343/202/212/345/250/230.kif +49 -0
  155. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//347/264/231/347/251/264/347/206/212.kif +12 -9
  156. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/267/217/347/237/242/345/200/211.kif +139 -0
  157. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/276/216/346/277/203/345/233/262/343/201/204.kif +37 -0
  158. data/lib/bioshogi/analysis//345/233/262/343/201/204//347/276/216/346/277/203/347/206/212/345/233/262/343/201/204.kif +52 -0
  159. data/lib/bioshogi/analysis//345/233/262/343/201/204//350/210/237/345/233/262/343/201/204.kif +31 -0
  160. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/210/237/345/233/262/343/201/204DX.kif +9 -5
  161. data/lib/bioshogi/analysis//345/233/262/343/201/204//350/217/212/346/260/264/347/237/242/345/200/211.kif +63 -0
  162. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/217/261/347/237/242/345/200/211.kif +10 -6
  163. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/243/217/343/202/242/343/203/222/343/203/253/345/233/262/343/201/204.kif +8 -6
  164. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/243/276/345/233/272/343/202/201.kif +8 -6
  165. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/247/222/347/237/242/345/200/211.kif +6 -6
  166. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/247/222/351/201/223/344/270/215/347/252/201/343/201/215/345/267/246/347/276/216/346/277/203.kif +6 -4
  167. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//350/261/206/350/205/220/347/237/242/345/200/211.kif +11 -9
  168. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/200/243/347/233/237/347/276/216/346/277/203.kif +7 -5
  169. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/207/221/345/244/232/344/274/235.kif +4 -1
  170. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/207/221/347/204/241/345/217/214.kif +17 -8
  171. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/207/221/347/233/276/345/233/262/343/201/204.kif +7 -5
  172. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/207/221/347/237/242/345/200/211.kif +50 -0
  173. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/207/221/347/276/216/346/277/203.kif +14 -8
  174. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/207/221/351/226/200/347/237/242/345/200/211.kif +8 -6
  175. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/212/200/345/206/240.kif +10 -8
  176. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/212/200/345/206/240/347/251/264/347/206/212.kif +93 -0
  177. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/212/200/345/244/232/344/274/235.kif +7 -4
  178. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/212/200/347/237/242/345/200/211.kif +46 -0
  179. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/212/200/347/253/213/343/201/241/347/237/242/345/200/211.kif +52 -0
  180. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/212/200/347/276/216/346/277/203.kif +52 -0
  181. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/232/205/347/237/242/345/200/211.kif +8 -8
  182. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/233/242/343/202/214/351/207/221/347/204/241/345/217/214.kif +8 -8
  183. data/lib/bioshogi/analysis//345/233/262/343/201/204//351/233/262/351/232/240/343/202/214/347/216/211.kif +42 -0
  184. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/253/230/347/237/242/345/200/211.kif +9 -7
  185. data/lib/bioshogi/{explain → analysis}//345/233/262/343/201/204//351/253/230/347/276/216/346/277/203/345/233/262/343/201/204.kif +9 -8
  186. data/lib/bioshogi/{explain//346/210/246/345/236/213/2/346/211/213/347/233/256/342/226/263/357/274/223 → analysis//346/210/246/346/263/225/2/346/211/213/347/233/256/342/226/2633}/343/203/213/351/243/233/346/210/246/346/263/225.kif +16 -9
  187. data/lib/bioshogi/analysis//346/210/246/346/263/225/2/346/211/213/347/233/256/342/226/2633/344/272/214/351/212/200/343/202/267/343/202/271/343/203/206/343/203/240.kif +10 -0
  188. data/lib/bioshogi/analysis//346/210/246/346/263/225/2/346/211/213/347/233/256/342/226/2636/344/272/214/351/212/200/346/210/246/346/263/225.kif +10 -0
  189. data/lib/bioshogi/analysis//346/210/246/346/263/225/2/346/211/213/347/233/256/342/226/2637/345/233/233/346/255/251/346/210/246/346/263/225.kif +9 -0
  190. data/lib/bioshogi/analysis//346/210/246/346/263/225/3/342/206/2224/342/206/2223/346/210/246/346/263/225.kif +25 -0
  191. data/lib/bioshogi/{explain//346/210/246/345/236/213/4/346/211/213/347/233/256/342/226/263/357/274/223 → analysis//346/210/246/346/263/225/4/346/211/213/347/233/256/342/226/2633}/344/270/211/350/247/222/346/210/246/346/263/225.kif +5 -4
  192. data/lib/bioshogi/analysis//346/210/246/346/263/225/5/346/211/213/347/210/206/345/274/276.kif +46 -0
  193. data/lib/bioshogi/analysis//346/210/246/346/263/225/5/347/255/213/344/275/215/345/217/226/343/202/212.kif +48 -0
  194. data/lib/bioshogi/analysis//346/210/246/346/263/225/5/347/255/213/344/275/215/345/217/226/343/202/212/344/270/255/351/243/233/350/273/212.kif +17 -0
  195. data/lib/bioshogi/{explain//346/210/246/345/236/213//357/274/226 → analysis//346/210/246/346/263/225/6}/347/255/213/344/275/215/345/217/226/343/202/212.kif +12 -8
  196. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}/GAVA/350/247/222.kif +10 -6
  197. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}/UFO/351/212/200.kif +9 -7
  198. data/lib/bioshogi/analysis//346/210/246/346/263/225/U/343/202/277/343/203/274/343/203/263/351/243/233/350/273/212.kif +127 -0
  199. data/lib/bioshogi/analysis//346/210/246/346/263/225/xaby/350/247/222/346/210/246/346/263/225.kif +17 -0
  200. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/262/357/274/224 → analysis//346/210/246/346/263/225//342/226/2624}/344/272/224/346/255/251/346/227/251/344/273/225/346/216/233/343/201/221.kif +9 -7
  201. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/262/357/274/224 → analysis//346/210/246/346/263/225//342/226/2624}/345/205/255/351/212/200/345/217/263/346/200/245/346/210/246.kif +9 -8
  202. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/262/357/274/224 → analysis//346/210/246/346/263/225//342/226/2624}/345/205/255/351/212/200/345/267/246/346/200/245/346/210/246.kif +9 -7
  203. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/262/357/274/225 → analysis//346/210/246/346/263/225//342/226/2625}/344/270/203/351/207/221/346/210/246/346/263/225.kif +16 -10
  204. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/262/357/274/225 → analysis//346/210/246/346/263/225//342/226/2625}/344/272/224/351/276/215/344/270/255/351/243/233/350/273/212.kif +9 -7
  205. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/263/357/274/222 → analysis//346/210/246/346/263/225//342/226/2632}/344/270/211/346/255/251/346/210/246/346/263/225.kif +8 -6
  206. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/263/357/274/223 → analysis//346/210/246/346/263/225//342/226/2633}/344/270/211/346/241/202/346/210/246/346/263/225.kif +8 -6
  207. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/263/357/274/223 → analysis//346/210/246/346/263/225//342/226/2633}/344/270/211/350/247/222/345/236/213/347/251/272/344/270/255/346/210/246/346/263/225.kif +11 -6
  208. data/lib/bioshogi/{explain//346/210/246/345/236/213/33 → analysis//346/210/246/346/263/225//342/226/2633/344/270/211}/351/207/221/345/236/213/346/227/251/347/271/260/343/202/212/351/212/200.kif +9 -7
  209. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/263/357/274/223 → analysis//346/210/246/346/263/225//342/226/2633}/344/270/211/351/243/233/346/210/246/346/263/225.kif +17 -11
  210. data/lib/bioshogi/{explain//346/210/246/345/236/213//342/226/263/357/274/224 → analysis//346/210/246/346/263/225//342/226/2634}/344/272/224/350/247/222/346/210/246/346/263/225.kif +8 -6
  211. data/lib/bioshogi/analysis//346/210/246/346/263/225//342/226/2637/344/272/214/351/243/233/344/272/234/346/200/245/346/210/246.kif +94 -0
  212. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/206/343/201/243/343/201/213/343/202/212/344/270/211/351/226/223/351/243/233/350/273/212.kif +5 -6
  213. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/215/343/202/223/343/201/250/343/201/206/343/202/223/346/210/246/346/263/225.kif +7 -5
  214. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/215/357/275/215/343/201/215/357/275/215/351/207/221.kif +8 -8
  215. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/244/343/201/217/343/201/244/343/201/217/343/201/274/343/201/206/343/201/227/346/210/246/346/263/225.kif +7 -5
  216. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/201/257/343/201/217/345/274/217/345/233/233/351/226/223/351/243/233/350/273/212.kif +178 -0
  217. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/262/343/201/255/343/202/212/351/243/233/350/273/212.kif +8 -6
  218. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/201/270/343/201/252/343/201/241/343/202/207/343/201/223/346/200/245/346/210/246.kif +12 -8
  219. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/204/343/201/260/343/203/234/343/203/274/343/202/272/346/265/201.kif +96 -0
  220. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/242/343/203/222/343/203/253/346/210/246/346/263/225.kif +110 -0
  221. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/246/343/202/275/347/237/242/345/200/211.kif +5 -4
  222. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/250/343/203/253/343/203/242/346/200/245/346/210/246.kif +144 -0
  223. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/252/343/202/266/343/203/257/343/202/267/343/202/271/343/203/206/343/203/240.kif +12 -9
  224. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/253/343/203/213/343/202/253/343/203/213/351/207/221.kif +9 -7
  225. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/253/343/203/213/343/202/253/343/203/213/351/212/200.kif +39 -0
  226. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/253/343/203/241/343/203/254/343/202/252/343/203/263/346/210/246/346/263/225.kif +8 -6
  227. data/lib/bioshogi/{explain//346/210/246/345/236/213//344/270/255/347/224/260/345/212/237XP.kif → analysis//346/210/246/346/263/225//343/202/263/343/203/274/343/203/244/343/203/263/346/265/201/344/270/211/351/226/223/351/243/233/350/273/212.kif} +15 -8
  228. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/264/343/202/255/343/202/262/343/203/263/344/270/255/351/243/233/350/273/212.kif +114 -0
  229. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/264/343/203/252/343/202/264/343/203/252/351/207/221.kif +55 -0
  230. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/264/343/203/252/343/203/251/343/201/256/345/217/263/346/211/213.kif +127 -0
  231. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/202/264/343/203/252/351/201/225/343/201/204/350/247/222.kif +27 -0
  232. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/267/343/203/247/343/203/274/343/203/200/343/203/263/343/202/252/343/203/252/343/202/270/343/203/212/343/203/253.kif +20 -5
  233. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/267/343/203/247/343/203/274/343/203/200/343/203/263/343/202/267/343/202/271/343/203/206/343/203/240.kif +22 -10
  234. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/202/277/343/203/251/343/203/263/343/203/201/343/203/245/343/203/251/346/210/246/346/263/225.kif +10 -7
  235. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/203/200/343/202/244/343/203/254/343/202/257/343/203/210/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +10 -7
  236. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/204/343/203/216/351/212/200/344/270/255/351/243/233/350/273/212.kif +123 -0
  237. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/204/343/203/216/351/212/200/345/236/213/345/217/263/347/216/211.kif +127 -0
  238. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/203/210/343/203/236/343/203/233/343/203/274/343/202/257.kif +9 -7
  239. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/215/343/202/263/345/274/217/343/202/277/343/203/206/346/255/251/345/217/226/343/202/212.kif +31 -0
  240. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/216/343/203/274/343/202/254/343/203/274/343/203/211/346/210/246/346/263/225.kif +76 -0
  241. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/216/343/203/274/343/203/236/343/203/253/344/270/211/351/226/223/351/243/233/350/273/212.kif +95 -0
  242. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/216/343/203/274/343/203/236/343/203/253/345/233/233/351/226/223/351/243/233/350/273/212.kif +42 -0
  243. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/203/221/343/203/203/343/202/257/343/203/236/343/203/263/346/210/246/346/263/225.kif +6 -4
  244. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/222/343/203/251/343/203/241/346/210/246/346/263/225.kif +53 -0
  245. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/235/343/203/263/343/203/235/343/203/263/346/241/202.kif +47 -0
  246. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/203/240/343/203/252/343/203/244/343/203/252/346/227/251/347/237/263/347/224/260.kif +6 -5
  247. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/241/343/202/244/343/203/211/343/202/267/343/202/271/343/203/206/343/203/240.kif +11 -0
  248. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/241/343/203/252/343/202/261/343/203/263/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +49 -0
  249. data/lib/bioshogi/analysis//346/210/246/346/263/225//343/203/242/343/203/216/343/203/254/343/203/274/343/203/253/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +175 -0
  250. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//343/203/254/343/202/260/343/202/271/343/203/232.kif +13 -10
  251. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/200/346/211/213/346/220/215/350/247/222/346/217/233/343/202/217/343/202/212.kif +119 -0
  252. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/200/347/233/264/347/267/232/347/251/264/347/206/212.kif +16 -14
  253. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/200/351/226/223/351/243/233/350/273/212.kif +22 -0
  254. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/200/351/226/223/351/243/233/350/273/212/347/251/264/347/206/212.kif +42 -0
  255. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/211/346/256/265/345/217/263/347/216/211.kif +140 -0
  256. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/211/351/226/223/351/243/233/350/273/212.kif +9 -7
  257. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/211/351/226/223/351/243/233/350/273/212/343/203/237/343/203/254/343/203/213/343/202/242/343/203/240.kif +9 -7
  258. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/211/351/226/223/351/243/233/350/273/212/350/227/244/344/272/225/343/202/267/343/202/271/343/203/206/343/203/240.kif +38 -0
  259. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/213/347/224/272/346/265/201/344/270/211/351/226/223/351/243/233/350/273/212.kif +49 -0
  260. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/255/345/216/237/346/265/201/346/200/245/346/210/246/347/237/242/345/200/211.kif +15 -9
  261. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/255/345/216/237/346/265/201/347/233/270/346/216/233/343/201/213/343/202/212.kif +14 -8
  262. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/255/345/216/237/351/243/233/350/273/212.kif +10 -11
  263. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/255/345/272/247/351/243/233/350/273/212.kif +61 -0
  264. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/270/255/351/243/233/350/273/212/343/203/237/343/203/254/343/203/213/343/202/242/343/203/240.kif +8 -6
  265. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/255/351/243/233/350/273/212/345/267/246/347/251/264/347/206/212.kif +183 -0
  266. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/270/270/345/261/261/343/203/257/343/202/257/343/203/201/343/203/263.kif +27 -0
  267. data/lib/bioshogi/analysis//346/210/246/346/263/225//344/271/205/344/277/235/346/265/201/346/227/251/347/237/263/347/224/260.kif +36 -0
  268. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/271/235/351/226/223/351/243/233/350/273/212.kif +18 -6
  269. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//344/271/235/351/226/223/351/243/233/350/273/212/345/267/246/347/251/264/347/206/212.kif +11 -9
  270. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/205/210/346/211/213/344/270/255/351/243/233/350/273/212.kif +5 -4
  271. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/210/235/346/211/213/342/226/2623/345/205/255/346/255/251/346/210/246/346/263/225.kif +8 -0
  272. data/lib/bioshogi/{explain//346/210/246/345/236/213//345/210/235/346/211/213/357/274/227 → analysis//346/210/246/346/263/225//345/210/235/346/211/213/342/226/2627}/345/205/253/351/212/200/346/210/246/346/263/225.kif +8 -6
  273. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/210/235/346/211/213/342/226/2627/345/205/253/351/243/233/346/210/246/346/263/225.kif +11 -0
  274. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/212/233/346/210/246.kif +7 -5
  275. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/212/240/350/227/244/346/265/201/350/242/226/351/243/233/350/273/212.kif +9 -7
  276. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/213/207/346/260/227/346/265/201.kif +9 -7
  277. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/215/207/347/224/260/345/274/217/347/237/263/347/224/260/346/265/201.kif +12 -10
  278. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/216/237/345/247/213/344/270/255/351/243/233/350/273/212.kif +5 -4
  279. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/216/237/345/247/213/346/243/222/351/212/200.kif +9 -7
  280. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212.kif +31 -0
  281. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212/345/267/246/347/276/216/346/277/203.kif +12 -5
  282. data/lib/bioshogi/{explain//346/210/246/345/236/213//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212.kif → analysis//346/210/246/346/263/225//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212/346/200/245/346/210/246.kif} +11 -9
  283. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212/350/266/205/346/200/245/346/210/246.kif +16 -0
  284. data/lib/bioshogi/{explain//345/233/262/343/201/204 → analysis//346/210/246/346/263/225}//345/217/263/347/216/211.kif +10 -10
  285. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/220/214/345/236/213/347/237/242/345/200/211.kif +60 -0
  286. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +7 -6
  287. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/233/233/346/211/213/350/247/222.kif +11 -8
  288. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/233/233/351/226/223/351/243/233/350/273/212.kif +17 -0
  289. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/233/233/351/226/223/351/243/233/350/273/212/343/203/237/343/203/254/343/203/213/343/202/242/343/203/240.kif +9 -7
  290. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/234/260/344/270/213/351/211/204/351/243/233/350/273/212.kif +154 -0
  291. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/241/232/347/224/260/343/202/271/343/203/232/343/202/267/343/203/243/343/203/253.kif +102 -0
  292. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/244/251/345/275/246/346/265/201/342/226/2626/345/205/255/350/247/222.kif +13 -0
  293. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/244/251/345/275/246/346/265/201/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +33 -0
  294. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/254/211/351/207/216/346/265/201.kif +121 -0
  295. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/256/244/345/262/241/343/202/267/343/202/271/343/203/206/343/203/240.kif +194 -0
  296. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/257/276/343/201/262/343/201/255/343/202/212/351/243/233/350/273/212/343/201/237/343/201/223/351/207/221/346/210/246/346/263/225.kif +70 -0
  297. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/257/276/346/214/257/343/202/212/346/214/201/344/271/205/346/210/246.kif +11 -13
  298. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/257/276/347/237/242/345/200/211/346/200/245/346/210/246/346/243/222/351/212/200.kif +154 -0
  299. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/261/213/346/225/267/346/265/201/344/272/214/346/236/232/351/212/200.kif +9 -7
  300. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/261/213/346/225/267/346/265/201/344/272/214/346/236/232/351/212/200/346/243/222/351/212/200/345/236/213.kif +11 -7
  301. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/261/261/345/264/216/346/265/201/343/203/221/343/203/203/343/202/257/343/203/236/343/203/263.kif +3 -4
  302. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/261/261/347/224/260/345/256/232/350/267/241.kif +45 -0
  303. data/lib/bioshogi/{explain//346/210/246/345/236/213//347/237/242/345/200/211 → analysis//346/210/246/346/263/225/}/345/267/246/347/276/216/346/277/203/346/200/245/346/210/246.kif +14 -7
  304. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//345/271/273/346/203/263/345/233/233/351/226/223/351/243/233/350/273/212.kif +10 -8
  305. data/lib/bioshogi/analysis//346/210/246/346/263/225//345/277/205/347/254/221/343/201/262/343/201/243/343/201/213/343/201/221/346/210/246/346/263/225.kif +41 -0
  306. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/210/270/350/276/272/346/265/2014/342/206/2223/346/210/246/346/263/225.kif +23 -0
  307. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/226/260/343/203/235/343/203/263/343/203/235/343/203/263/346/241/202.kif +41 -0
  308. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/226/260/345/254/211/351/207/216/346/265/201.kif +134 -0
  309. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/226/260/346/235/221/347/224/260/343/202/267/343/202/271/343/203/206/343/203/240.kif +11 -7
  310. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/226/260/347/237/263/347/224/260/346/265/201.kif +21 -0
  311. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/226/260/347/261/263/351/225/267/347/216/211.kif +139 -0
  312. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/226/260/351/242/250/350/273/212.kif +7 -7
  313. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/226/260/351/254/274/346/256/272/343/201/227.kif +37 -0
  314. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/227/251/347/237/263/347/224/260.kif +16 -0
  315. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/232/264/351/212/200.kif +11 -8
  316. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/234/250/346/235/221/345/256/232/350/267/241.kif +17 -10
  317. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/235/221/347/224/260/343/202/267/343/202/271/343/203/206/343/203/240.kif +5 -4
  318. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/241/220/345/261/261/346/265/201/343/202/277/343/203/206/346/255/251/346/243/222/351/212/200.kif +112 -0
  319. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/243/222/347/216/211.kif +26 -0
  320. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/243/222/351/207/221.kif +9 -7
  321. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/243/222/351/212/200.kif +41 -0
  322. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/243/256/344/270/213/343/202/267/343/202/271/343/203/206/343/203/240.kif +94 -0
  323. data/lib/bioshogi/analysis//346/210/246/346/263/225//346/243/256/345/256/211/346/265/201/350/242/226/351/243/233/350/273/212/347/251/264/347/206/212.kif +39 -0
  324. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/245/240/346/234/254/345/274/217/347/237/263/347/224/260/346/265/201.kif +15 -9
  325. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/245/265/351/231/220/346/227/251/347/271/260/343/202/212/351/212/200.kif +8 -5
  326. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/250/252/346/255/251/345/217/226/343/202/212.kif +8 -6
  327. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//346/270/205/351/207/216/346/265/201/345/262/220/351/230/234/346/210/246/346/263/225.kif +14 -9
  328. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/216/211/351/240/255/344/275/215/345/217/226/343/202/212.kif +11 -7
  329. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/216/211/351/240/255/351/212/200.kif +121 -0
  330. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/233/256/343/201/217/343/202/211/343/201/276/343/201/227/346/210/246/346/263/225.kif +5 -6
  331. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/233/270/346/214/257/343/202/212/351/243/233/350/273/212.kif +10 -0
  332. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/233/270/346/216/233/343/201/213/343/202/212.kif +20 -0
  333. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/233/270/346/216/233/343/201/213/343/202/212/346/243/222/351/212/200.kif +8 -6
  334. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/233/270/346/250/252/346/255/251/345/217/226/343/202/212.kif +11 -11
  335. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/233/270/347/255/213/351/201/225/343/201/204/350/247/222.kif +12 -8
  336. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/234/237/351/203/250/346/265/201.kif +21 -11
  337. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/237/242/345/200/211/342/226/2623/344/270/203/351/212/200/346/210/246/346/263/225.kif +85 -0
  338. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/237/242/345/200/211/344/270/255/351/243/233/350/273/212.kif +37 -0
  339. data/lib/bioshogi/{explain//345/233/262/343/201/204 → analysis//346/210/246/346/263/225}//347/237/242/345/200/211/345/217/263/347/216/211.kif +7 -5
  340. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/237/242/345/200/211/346/243/222/351/212/200.kif +12 -8
  341. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/237/242/345/200/211/346/265/201/344/270/255/351/243/233/350/273/212.kif +38 -0
  342. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/237/263/347/224/260/346/265/201.kif +8 -6
  343. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/245/236/345/220/211/346/265/201/344/270/211/351/226/223/351/243/233/350/273/212.kif +41 -0
  344. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/250/262/345/272/255/346/210/246/346/263/225.kif +8 -7
  345. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/251/264/350/247/222/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +6 -7
  346. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/251/264/350/247/222/346/210/246/346/263/225.kif +20 -13
  347. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/253/213/347/237/263/346/265/201/345/233/233/351/226/223/351/243/233/350/273/212.kif +60 -0
  348. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/253/257/346/243/222/351/212/200.kif +12 -10
  349. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/253/271/351/203/250/343/202/271/343/203/232/343/202/267/343/203/243/343/203/253.kif +45 -0
  350. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/255/213/351/201/225/343/201/204/350/247/222.kif +16 -9
  351. data/lib/bioshogi/analysis//346/210/246/346/263/225//347/255/213/351/201/225/343/201/204/350/247/222/350/237/273/345/234/260/347/215/204/346/210/246/346/263/225.kif +56 -0
  352. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/261/263/351/225/267/346/265/201/346/200/245/346/210/246/347/237/242/345/200/211.kif +18 -7
  353. data/lib/bioshogi/{explain//345/233/262/343/201/204 → analysis//346/210/246/346/263/225}//347/263/270/350/260/267/346/265/201/345/217/263/347/216/211.kif +13 -8
  354. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//347/276/275/347/224/237/345/274/217/350/242/226/351/243/233/350/273/212.kif +18 -8
  355. data/lib/bioshogi/{explain//345/233/262/343/201/204 → analysis//346/210/246/346/263/225}//347/276/275/347/224/237/346/265/201/345/217/263/347/216/211.kif +9 -7
  356. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/200/200/351/276/215/343/201/262/343/201/255/343/202/212/351/243/233/350/273/212.kif +6 -7
  357. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/200/200/351/276/215/345/233/233/351/226/223/351/243/233/350/273/212.kif +12 -9
  358. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/204/207/343/202/267/343/202/271/343/203/206/343/203/240.kif +8 -8
  359. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/205/260/346/216/233/343/201/221/351/212/200.kif +12 -9
  360. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/212/261/346/235/221/346/265/201/345/220/215/345/217/244/345/261/213/346/210/246/346/263/225.kif +14 -8
  361. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/213/261/343/201/241/343/202/203/343/202/223/346/265/201/344/270/255/351/243/233/350/273/212.kif +15 -12
  362. data/lib/bioshogi/{explain//346/210/246/345/236/213/ → analysis//346/210/246/346/263/225//350/213/261/346/230/245/346/265/201}/343/201/213/343/201/276/343/201/204/343/201/237/343/201/241/346/210/246/346/263/225.kif +23 -14
  363. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/213/261/346/230/245/346/265/201/343/202/253/343/203/241/343/203/254/343/202/252/343/203/263.kif +17 -12
  364. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/217/205/344/272/225/346/265/201/344/270/211/351/226/223/351/243/233/350/273/212.kif +24 -0
  365. data/lib/bioshogi/{explain//346/210/246/345/236/213//350/217/234/343/200/205/346/262/263/346/265/201/342/226/263/357/274/224 → analysis//346/210/246/346/263/225//350/217/234/343/200/205/346/262/263/346/265/201/342/226/2634}/345/233/233/350/247/222.kif +5 -4
  366. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/217/234/343/200/205/346/262/263/346/265/201/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +168 -0
  367. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/227/244/344/272/225/343/202/267/343/202/271/343/203/206/343/203/240.kif +9 -7
  368. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/227/244/346/243/256/346/265/201/346/200/245/346/210/246/347/237/242/345/200/211.kif +9 -8
  369. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/242/226/351/243/233/350/273/212.kif +261 -0
  370. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/243/217/343/202/242/343/203/222/343/203/253/346/210/246/346/263/225.kif +9 -7
  371. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/247/222/344/272/244/346/217/233/346/214/257/343/202/212/351/243/233/350/273/212.kif +116 -0
  372. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/247/222/346/217/233/343/202/217/343/202/212.kif +8 -5
  373. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/247/222/346/217/233/343/202/217/343/202/212/345/217/263/347/216/211.kif +137 -0
  374. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/247/222/346/217/233/343/202/217/343/202/212/346/227/251/347/271/260/343/202/212/351/212/200.kif +162 -0
  375. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/247/222/346/217/233/343/202/217/343/202/212/346/243/222/351/212/200.kif +12 -7
  376. data/lib/bioshogi/{explain//346/210/246/345/236/213//350/247/222/346/217/233/343/202/217/343/202/212/346/226/260/345/236/213.kif → analysis//346/210/246/346/263/225//350/247/222/346/217/233/343/202/217/343/202/212/350/205/260/346/216/233/343/201/221/351/212/200.kif} +9 -8
  377. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/247/222/346/217/233/343/202/217/343/202/212/350/205/260/346/216/233/343/201/221/351/212/200/346/227/247/345/236/213.kif +52 -0
  378. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/247/222/351/201/223/343/202/252/343/203/274/343/203/227/343/203/263/345/233/233/351/226/223/351/243/233/350/273/212.kif +13 -0
  379. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//350/247/222/351/240/255/346/255/251/346/210/246/346/263/225.kif +5 -6
  380. data/lib/bioshogi/analysis//346/210/246/346/263/225//350/266/205/346/200/245/346/210/246.kif +38 -0
  381. data/lib/bioshogi/{explain//346/210/246/345/236/213//350/266/205/351/200/237/342/226/262/357/274/223/344/270/203/351/212/200.kif → analysis//346/210/246/346/263/225//350/266/205/351/200/237/342/226/2623/344/270/203/351/212/200/346/210/246/346/263/225.kif} +13 -9
  382. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/200/206/346/243/222/351/212/200.kif +42 -0
  383. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/201/240/345/261/261/346/265/201.kif +12 -11
  384. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/203/275/346/210/220/346/265/201/342/226/2633/344/270/200/351/207/221.kif +43 -0
  385. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/207/221/346/262/242/346/265/201.kif +11 -0
  386. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/207/221/347/204/241/345/217/214/346/200/245/346/210/246.kif +51 -0
  387. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/207/221/351/212/200/346/251/213.kif +14 -11
  388. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/210/264/346/234/250/346/265/201/346/227/251/347/237/263/347/224/260.kif +40 -0
  389. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/212/200/351/233/262/351/233/200.kif +12 -8
  390. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/214/206/345/210/200/346/210/246/346/263/225.kif +54 -0
  391. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/216/226/351/216/214/351/212/200.kif +11 -8
  392. data/lib/bioshogi/{explain//346/210/246/345/236/213/ → analysis//346/210/246/346/263/225//351/226/223/345/256/256}/344/271/205/345/244/242/346/265/201.kif +10 -6
  393. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/230/252/347/224/260/346/265/2012/346/211/213/347/233/256/342/226/2639/345/233/233/346/255/251.kif +10 -0
  394. data/lib/bioshogi/{explain//346/210/246/345/236/213//351/230/252/347/224/260/346/265/201/345/220/221 → analysis//346/210/246/346/263/225//351/230/252/347/224/260/346/265/201/345/220/221/343/201/213/343/201/204}/351/243/233/350/273/212.kif +13 -6
  395. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/230/277/344/271/205/346/264/245/346/265/201/346/200/245/346/210/246/347/237/242/345/200/211.kif +13 -7
  396. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/231/275/345/213/225/346/214/257/343/202/212/351/243/233/350/273/212.kif +14 -0
  397. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/233/200/345/210/272/343/201/227.kif +94 -0
  398. data/lib/bioshogi/{explain//345/233/262/343/201/204 → analysis//346/210/246/346/263/225}//351/233/201/346/234/250/345/217/263/347/216/211.kif +13 -9
  399. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/235/222/351/207/216/346/265/201.kif +9 -7
  400. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/242/250/350/273/212.kif +8 -7
  401. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/243/233/351/250/250/343/201/256/344/270/255/351/243/233/350/273/212/345/220/210/346/216/214/351/200/240/343/202/212.kif +102 -0
  402. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/243/257/345/263/266/346/265/201/345/274/225/343/201/215/350/247/222/346/210/246/346/263/225.kif +9 -7
  403. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/243/257/345/263/266/346/265/201/347/233/270/346/216/233/343/201/213/343/202/212/345/274/225/343/201/215/350/247/222/346/210/246/346/263/225.kif +11 -9
  404. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/253/230/347/224/260/346/265/201/345/267/246/347/216/211.kif +15 -11
  405. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/254/274/345/205/255/346/265/201/343/201/251/343/201/243/343/201/213/343/202/223/351/243/233/350/273/212.kif +54 -0
  406. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/254/274/346/256/272/343/201/227.kif +26 -0
  407. data/lib/bioshogi/analysis//346/210/246/346/263/225//351/254/274/346/256/272/343/201/227/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +43 -0
  408. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/255/224/347/225/214/345/233/233/351/226/223/351/243/233/350/273/212.kif +5 -6
  409. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/263/245/345/210/272/343/201/227.kif +9 -7
  410. data/lib/bioshogi/{explain//346/210/246/345/236/213 → analysis//346/210/246/346/263/225}//351/267/272/345/256/256/345/256/232/350/267/241.kif +12 -6
  411. data/lib/bioshogi/analysis//346/211/213/347/255/213/2/346/256/265/343/203/255/343/202/261/343/203/203/343/203/210.kif +25 -0
  412. data/lib/bioshogi/analysis//346/211/213/347/255/213/3/346/256/265/343/203/255/343/202/261/343/203/203/343/203/210.kif +22 -0
  413. data/lib/bioshogi/analysis//346/211/213/347/255/213/4/346/256/265/343/203/255/343/202/261/343/203/203/343/203/210.kif +22 -0
  414. data/lib/bioshogi/analysis//346/211/213/347/255/213/5/346/256/265/343/203/255/343/202/261/343/203/203/343/203/210.kif +22 -0
  415. data/lib/bioshogi/analysis//346/211/213/347/255/213/6/346/256/265/343/203/255/343/202/261/343/203/203/343/203/210.kif +24 -0
  416. data/lib/bioshogi/analysis//346/211/213/347/255/213//343/201/223/343/201/263/343/202/223/346/224/273/343/202/201.kif +28 -0
  417. data/lib/bioshogi/analysis//346/211/213/347/255/213//343/201/237/343/201/231/343/201/215/343/201/256/350/247/222.kif +35 -0
  418. data/lib/bioshogi/analysis//346/211/213/347/255/213//343/201/237/343/201/231/343/201/215/343/201/256/351/212/200.kif +35 -0
  419. data/lib/bioshogi/analysis//346/211/213/347/255/213//343/201/237/343/201/237/343/201/215/343/201/256/346/255/251.kif +44 -0
  420. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//343/201/265/343/202/223/343/201/251/343/201/227/343/201/256/346/241/202.kif +0 -4
  421. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//343/203/221/343/203/263/343/203/204/343/202/222/350/204/261/343/201/220.kif +11 -15
  422. data/lib/bioshogi/analysis//346/211/213/347/255/213//344/270/200/351/226/223/347/253/234.kif +21 -0
  423. data/lib/bioshogi/analysis//346/211/213/347/255/213//344/275/215/343/201/256/347/242/272/344/277/235.kif +50 -0
  424. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//345/211/262/343/202/212/346/211/223/343/201/241/343/201/256/351/212/200.kif +0 -4
  425. data/lib/bioshogi/analysis//346/211/213/347/255/213//345/234/237/344/270/213/345/272/247/343/201/256/346/255/251.kif +22 -0
  426. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//345/236/202/343/202/214/346/255/251.kif +0 -4
  427. data/lib/bioshogi/analysis//346/211/213/347/255/213//345/260/273/351/212/200.kif +32 -0
  428. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//345/271/275/351/234/212/350/247/222.kif +7 -5
  429. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//346/241/202/351/240/255/343/201/256/351/212/200.kif +0 -4
  430. data/lib/bioshogi/analysis//346/211/213/347/255/213//346/255/251/351/240/255/343/201/256/346/241/202.kif +34 -0
  431. data/lib/bioshogi/analysis//346/211/213/347/255/213//347/224/260/346/245/275/345/210/272/343/201/227.kif +34 -0
  432. data/lib/bioshogi/analysis//346/211/213/347/255/213//347/252/201/343/201/215/351/201/225/343/201/204/343/201/256/346/255/251.kif +21 -0
  433. data/lib/bioshogi/analysis//346/211/213/347/255/213//347/253/257/347/216/211/343/201/253/343/201/257/347/253/257/346/255/251.kif +22 -0
  434. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//347/266/231/343/201/216/346/241/202.kif +2 -6
  435. data/lib/bioshogi/analysis//346/211/213/347/255/213//347/266/231/343/201/216/346/255/251.kif +46 -0
  436. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//350/205/271/351/212/200.kif +13 -10
  437. data/lib/bioshogi/analysis//346/211/213/347/255/213//351/200/243/346/211/223/343/201/256/346/255/251.kif +29 -0
  438. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//351/201/240/350/246/213/343/201/256/350/247/222.kif +15 -9
  439. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//351/207/221/345/272/225/343/201/256/346/255/251.kif +0 -4
  440. data/lib/bioshogi/analysis//346/211/213/347/255/213//351/212/200/343/201/260/343/201/225/343/201/277.kif +29 -0
  441. data/lib/bioshogi/{explain → analysis}//346/211/213/347/255/213//351/212/200/345/206/240/343/201/256/345/260/217/351/203/250/345/261/213.kif +13 -9
  442. data/lib/bioshogi/analysis.rb +4 -0
  443. data/lib/bioshogi/application_memory_record.rb +4 -11
  444. data/lib/bioshogi/assertion.rb +6 -2
  445. data/lib/bioshogi/assets/images/background/matrix.png +0 -0
  446. data/lib/bioshogi/assets/images/color_theme_preview/is_color_theme_club24.png +0 -0
  447. data/lib/bioshogi/assets/images/color_theme_preview/is_color_theme_paper.png +0 -0
  448. data/lib/bioshogi/assets/images/color_theme_preview/is_color_theme_piyo.png +0 -0
  449. data/lib/bioshogi/assets/images/color_theme_preview/is_color_theme_real.png +0 -0
  450. data/lib/bioshogi/assets/images/color_theme_preview/is_color_theme_shape.png +0 -0
  451. data/lib/bioshogi/assets/kifu_formats/sample.ki2 +3 -3
  452. data/lib/bioshogi/board/basic.rb +1 -1
  453. data/lib/bioshogi/board/csa_formatter.rb +2 -2
  454. data/lib/bioshogi/board/kakinoki_formatter.rb +5 -5
  455. data/lib/bioshogi/board/reader_methods.rb +8 -4
  456. data/lib/bioshogi/board_parser/compare_board_parser.rb +27 -4
  457. data/lib/bioshogi/board_parser/kakinoki_board_parser.rb +2 -2
  458. data/lib/bioshogi/container/checkmate_yomiage.rb +1 -1
  459. data/lib/bioshogi/container/core_methods.rb +2 -2
  460. data/lib/bioshogi/container/execute_methods.rb +1 -1
  461. data/lib/bioshogi/container/fast.rb +1 -1
  462. data/lib/bioshogi/container/simple.rb +1 -1
  463. data/lib/bioshogi/converter.rb +6 -2
  464. data/lib/bioshogi/csa_header_info.rb +2 -0
  465. data/lib/bioshogi/dimension/base.rb +49 -10
  466. data/lib/bioshogi/dimension/column.rb +131 -0
  467. data/lib/bioshogi/dimension/module_methods.rb +19 -20
  468. data/lib/bioshogi/dimension/row.rb +128 -0
  469. data/lib/bioshogi/errors.rb +2 -2
  470. data/lib/bioshogi/extreme_validator.rb +1 -1
  471. data/lib/bioshogi/formatter/animation/demo_builder.rb +1 -1
  472. data/lib/bioshogi/formatter/core.rb +25 -5
  473. data/lib/bioshogi/formatter/last_action_info.rb +26 -22
  474. data/lib/bioshogi/formatter/skill_embed.rb +147 -34
  475. data/lib/bioshogi/formatter/style_embed.rb +27 -0
  476. data/lib/bioshogi/formatter/sugatayaki_validator.rb +96 -0
  477. data/lib/bioshogi/hand/drop.rb +1 -1
  478. data/lib/bioshogi/hand/move.rb +6 -6
  479. data/lib/bioshogi/input_adapter/ki2_adapter.rb +10 -10
  480. data/lib/bioshogi/input_adapter/shared_validation.rb +1 -1
  481. data/lib/bioshogi/kanji_number.rb +0 -45
  482. data/lib/bioshogi/kifu_format_info.rb +5 -5
  483. data/lib/bioshogi/location.rb +22 -2
  484. data/lib/bioshogi/official_formatter.rb +37 -37
  485. data/lib/bioshogi/order_info.rb +5 -3
  486. data/lib/bioshogi/parser/base.rb +2 -2
  487. data/lib/bioshogi/parser/pi.rb +11 -0
  488. data/lib/bioshogi/piece/piece_scale.rb +9 -8
  489. data/lib/bioshogi/piece/piece_score.rb +14 -0
  490. data/lib/bioshogi/piece/piece_vector.rb +16 -10
  491. data/lib/bioshogi/piece.rb +33 -69
  492. data/lib/bioshogi/place.rb +155 -62
  493. data/lib/bioshogi/player/other_methods.rb +26 -6
  494. data/lib/bioshogi/player/soldier_methods.rb +2 -2
  495. data/lib/bioshogi/player.rb +1 -1
  496. data/lib/bioshogi/player_executor/base.rb +2 -2
  497. data/lib/bioshogi/player_executor/human.rb +1 -1
  498. data/lib/bioshogi/player_executor/{without_monitor.rb → without_analyzer.rb} +1 -1
  499. data/lib/bioshogi/preset_info.rb +1 -1
  500. data/lib/bioshogi/screen_image/core_methods.rb +3 -3
  501. data/lib/bioshogi/screen_image/pentagon.rb +2 -2
  502. data/lib/bioshogi/screen_image/soldier_methods.rb +1 -1
  503. data/lib/bioshogi/screen_image/stand.rb +5 -5
  504. data/lib/bioshogi/single_clock.rb +6 -6
  505. data/lib/bioshogi/soldier/technique_matcher_methods.rb +51 -0
  506. data/lib/bioshogi/soldier.rb +14 -79
  507. data/lib/bioshogi/soldier_walker.rb +1 -1
  508. data/lib/bioshogi/stat.rb +7 -0
  509. data/lib/bioshogi/tasks/chore.rake +1 -1
  510. data/lib/bioshogi/tasks/clean.rake +1 -1
  511. data/lib/bioshogi/tasks/demo.rake +2 -2
  512. data/lib/bioshogi/tasks/generate.rake +5 -5
  513. data/lib/bioshogi/tasks/normalize.rake +4 -4
  514. data/lib/bioshogi/tasks/{test.rake → spec.rake} +8 -6
  515. data/lib/bioshogi/tasks/tactic.rake +8 -0
  516. data/lib/bioshogi/tasks/tactic_validator.rake +1 -1
  517. data/lib/bioshogi/turn_info.rb +3 -3
  518. data/lib/bioshogi/v/preset_vectors.rb +129 -0
  519. data/lib/bioshogi/v.rb +4 -2
  520. data/lib/bioshogi/version.rb +1 -1
  521. data/lib/bioshogi.rb +13 -5
  522. data//347/275/256/343/201/215/346/217/233/343/201/210/346/216/250/345/245/250.txt +57 -0
  523. metadata +451 -353
  524. data/lib/bioshogi/dimension/place_x.rb +0 -27
  525. data/lib/bioshogi/dimension/place_y.rb +0 -57
  526. data/lib/bioshogi/explain/attack_info.rb +0 -199
  527. data/lib/bioshogi/explain/defense_info.rb +0 -130
  528. data/lib/bioshogi/explain/distribution_ratio.rb +0 -1895
  529. data/lib/bioshogi/explain/distribution_ratio_generator.rb +0 -48
  530. data/lib/bioshogi/explain/file_normalizer.rb +0 -20
  531. data/lib/bioshogi/explain/note_info.rb +0 -63
  532. data/lib/bioshogi/explain/tactic_hit_turn_table.rb +0 -320
  533. data/lib/bioshogi/explain/tactic_validator.rb +0 -40
  534. data/lib/bioshogi/explain/technique_info.rb +0 -28
  535. data/lib/bioshogi/explain/technique_matcher_info.rb +0 -298
  536. data/lib/bioshogi/explain//345/202/231/350/200/203//345/244/247/351/247/222/343/202/263/343/203/263/343/203/227/343/203/252/343/203/274/343/203/210.kif +0 -19
  537. data/lib/bioshogi/explain//345/202/231/350/200/203//345/244/247/351/247/222/345/205/250/346/266/210/345/244/261.kif +0 -19
  538. data/lib/bioshogi/explain//345/202/231/350/200/203//345/257/276/346/212/227/345/236/213.kif +0 -12
  539. data/lib/bioshogi/explain//345/202/231/350/200/203//345/257/276/346/214/257/343/202/212.kif +0 -12
  540. data/lib/bioshogi/explain//345/202/231/350/200/203//346/214/257/343/202/212/351/243/233/350/273/212.kif +0 -12
  541. data/lib/bioshogi/explain//345/202/231/350/200/203//347/233/270/345/261/205/351/243/233/350/273/212.kif +0 -8
  542. data/lib/bioshogi/explain//345/202/231/350/200/203//347/233/270/346/214/257/343/202/212.kif +0 -16
  543. data/lib/bioshogi/explain//345/202/231/350/200/203//350/203/214/346/260/264/343/201/256/351/231/243.kif +0 -34
  544. data/lib/bioshogi/explain//345/202/231/350/200/203//350/247/222/344/270/215/346/210/220.kif +0 -16
  545. data/lib/bioshogi/explain//345/202/231/350/200/203//351/247/222/346/237/261.kif +0 -48
  546. data/lib/bioshogi/explain//345/233/262/343/201/204//343/201/241/343/202/207/343/202/223/343/201/276/343/201/222/347/276/216/346/277/203.kif +0 -25
  547. data/lib/bioshogi/explain//345/233/262/343/201/204//343/202/242/343/203/222/343/203/253/345/233/262/343/201/204.kif +0 -148
  548. data/lib/bioshogi/explain//345/233/262/343/201/204//343/202/252/343/203/252/343/202/270/343/203/212/343/203/253/351/233/201/346/234/250.kif +0 -40
  549. data/lib/bioshogi/explain//345/233/262/343/201/204//343/202/253/343/202/256/345/233/262/343/201/204.kif +0 -40
  550. data/lib/bioshogi/explain//345/233/262/343/201/204//343/202/253/343/203/226/343/203/210/345/233/262/343/201/204.kif +0 -29
  551. data/lib/bioshogi/explain//345/233/262/343/201/204//343/203/204/343/203/216/351/212/200/345/236/213/345/217/263/347/216/211.kif +0 -45
  552. data/lib/bioshogi/explain//345/233/262/343/201/204//343/203/204/343/203/216/351/212/200/351/233/201/346/234/250.kif +0 -113
  553. data/lib/bioshogi/explain//345/233/262/343/201/204//343/203/237/343/203/254/343/203/213/343/202/242/343/203/240/345/233/262/343/201/204.kif +0 -96
  554. data/lib/bioshogi/explain//345/233/262/343/201/204//344/270/211/346/211/213/345/233/262/343/201/204.kif +0 -23
  555. data/lib/bioshogi/explain//345/233/262/343/201/204//344/270/211/346/256/265/345/217/263/347/216/211.kif +0 -50
  556. data/lib/bioshogi/explain//345/233/262/343/201/204//344/270/255/344/275/217/343/201/276/343/201/204.kif +0 -71
  557. data/lib/bioshogi/explain//345/233/262/343/201/204//344/270/255/345/216/237/345/233/262/343/201/204.kif +0 -69
  558. data/lib/bioshogi/explain//345/233/262/343/201/204//345/235/212/344/270/273/347/276/216/346/277/203.kif +0 -79
  559. data/lib/bioshogi/explain//345/233/262/343/201/204//345/244/251/351/207/216/347/237/242/345/200/211.kif +0 -76
  560. data/lib/bioshogi/explain//345/233/262/343/201/204//345/257/214/345/243/253/350/246/213/347/237/242/345/200/211.kif +0 -45
  561. data/lib/bioshogi/explain//345/233/262/343/201/204//345/261/205/351/243/233/350/273/212/347/251/264/347/206/212.kif +0 -76
  562. data/lib/bioshogi/explain//345/233/262/343/201/204//346/234/250/346/235/221/347/276/216/346/277/203.kif +0 -88
  563. data/lib/bioshogi/explain//345/233/262/343/201/204//347/204/241/346/225/265/345/233/262/343/201/204.kif +0 -136
  564. data/lib/bioshogi/explain//345/233/262/343/201/204//347/211/207/347/276/216/346/277/203/345/233/262/343/201/204.kif +0 -68
  565. data/lib/bioshogi/explain//345/233/262/343/201/204//347/251/272/344/270/255/346/245/274/351/226/243.kif +0 -126
  566. data/lib/bioshogi/explain//345/233/262/343/201/204//347/253/257/347/216/211/351/212/200/345/206/240.kif +0 -88
  567. data/lib/bioshogi/explain//345/233/262/343/201/204//347/256/261/345/205/245/343/202/212/345/250/230.kif +0 -72
  568. data/lib/bioshogi/explain//345/233/262/343/201/204//347/267/217/347/237/242/345/200/211.kif +0 -78
  569. data/lib/bioshogi/explain//345/233/262/343/201/204//347/276/216/346/277/203/345/233/262/343/201/204.kif +0 -52
  570. data/lib/bioshogi/explain//345/233/262/343/201/204//347/276/216/346/277/203/347/206/212/345/233/262/343/201/204.kif +0 -50
  571. data/lib/bioshogi/explain//345/233/262/343/201/204//350/210/237/345/233/262/343/201/204.kif +0 -67
  572. data/lib/bioshogi/explain//345/233/262/343/201/204//350/217/212/346/260/264/347/237/242/345/200/211.kif +0 -93
  573. data/lib/bioshogi/explain//345/233/262/343/201/204//350/247/222/346/217/233/343/202/217/343/202/212/345/217/263/347/216/211.kif +0 -45
  574. data/lib/bioshogi/explain//345/233/262/343/201/204//351/207/221/347/237/242/345/200/211.kif +0 -78
  575. data/lib/bioshogi/explain//345/233/262/343/201/204//351/212/200/345/206/240/347/251/264/347/206/212.kif +0 -89
  576. data/lib/bioshogi/explain//345/233/262/343/201/204//351/212/200/347/237/242/345/200/211.kif +0 -72
  577. data/lib/bioshogi/explain//345/233/262/343/201/204//351/212/200/347/253/213/343/201/241/347/237/242/345/200/211.kif +0 -90
  578. data/lib/bioshogi/explain//345/233/262/343/201/204//351/212/200/347/276/216/346/277/203.kif +0 -77
  579. data/lib/bioshogi/explain//346/210/246/345/236/213/2/346/211/213/347/233/256/342/226/26374/346/255/251/346/210/246/346/263/225.kif +0 -10
  580. data/lib/bioshogi/explain//346/210/246/345/236/213/5/347/255/213/344/275/215/345/217/226/343/202/212/344/270/255/351/243/233/350/273/212.kif +0 -16
  581. data/lib/bioshogi/explain//346/210/246/345/236/213/xaby/350/247/222/346/210/246/346/263/225.kif +0 -18
  582. data/lib/bioshogi/explain//346/210/246/345/236/213//342/226/262/357/274/223/344/270/203/351/212/200/346/210/246/346/263/225.kif +0 -74
  583. data/lib/bioshogi/explain//346/210/246/345/236/213//342/226/262/357/274/227/344/272/214/351/243/233/344/272/234/346/200/245/346/210/246.kif +0 -100
  584. data/lib/bioshogi/explain//346/210/246/345/236/213//342/226/262/357/274/227/345/205/253/351/243/233/346/210/246/346/263/225.kif +0 -12
  585. data/lib/bioshogi/explain//346/210/246/345/236/213//342/226/262/357/274/230/344/272/224/351/243/233/350/273/212/346/210/246/346/263/225.kif +0 -77
  586. data/lib/bioshogi/explain//346/210/246/345/236/213//343/201/257/343/201/217/345/274/217/345/233/233/351/226/223/351/243/233/350/273/212.kif +0 -34
  587. data/lib/bioshogi/explain//346/210/246/345/236/213//343/202/204/343/201/260/343/203/234/343/203/274/343/202/272/346/265/201.kif +0 -35
  588. data/lib/bioshogi/explain//346/210/246/345/236/213//343/202/242/343/203/222/343/203/253/346/210/246/346/263/225.kif +0 -65
  589. data/lib/bioshogi/explain//346/210/246/345/236/213//343/202/250/343/203/253/343/203/242/346/200/245/346/210/246.kif +0 -44
  590. data/lib/bioshogi/explain//346/210/246/345/236/213//343/202/253/343/203/213/343/202/253/343/203/213/351/212/200.kif +0 -83
  591. data/lib/bioshogi/explain//346/210/246/345/236/213//343/202/264/343/202/255/343/202/262/343/203/263/344/270/255/351/243/233/350/273/212.kif +0 -16
  592. data/lib/bioshogi/explain//346/210/246/345/236/213//343/203/204/343/203/216/351/212/200/344/270/255/351/243/233/350/273/212.kif +0 -103
  593. data/lib/bioshogi/explain//346/210/246/345/236/213//343/203/216/343/203/274/343/202/254/343/203/274/343/203/211/346/210/246/346/263/225.kif +0 -34
  594. data/lib/bioshogi/explain//346/210/246/345/236/213//343/203/235/343/203/263/343/203/235/343/203/263/346/241/202.kif +0 -115
  595. data/lib/bioshogi/explain//346/210/246/345/236/213//343/203/241/343/202/244/343/203/211/343/202/267/343/202/271/343/203/206/343/203/240.kif +0 -14
  596. data/lib/bioshogi/explain//346/210/246/345/236/213//343/203/241/343/203/252/343/202/261/343/203/263/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +0 -29
  597. data/lib/bioshogi/explain//346/210/246/345/236/213//344/270/200/346/211/213/346/220/215/350/247/222/346/217/233/343/202/217/343/202/212.kif +0 -14
  598. data/lib/bioshogi/explain//346/210/246/345/236/213//344/270/200/351/226/223/351/243/233/350/273/212.kif +0 -63
  599. data/lib/bioshogi/explain//346/210/246/345/236/213//344/270/200/351/226/223/351/243/233/350/273/212/347/251/264/347/206/212.kif +0 -30
  600. data/lib/bioshogi/explain//346/210/246/345/236/213//344/270/255/351/243/233/350/273/212/345/267/246/347/251/264/347/206/212.kif +0 -95
  601. data/lib/bioshogi/explain//346/210/246/345/236/213//344/270/270/345/261/261/343/203/257/343/202/257/343/203/201/343/203/263.kif +0 -23
  602. data/lib/bioshogi/explain//346/210/246/345/236/213//345/210/235/346/211/213/357/274/223/345/205/255/346/255/251/346/210/246/346/263/225.kif +0 -11
  603. data/lib/bioshogi/explain//346/210/246/345/236/213//345/217/263/345/233/233/351/226/223/351/243/233/350/273/212/346/200/245/346/210/246.kif +0 -79
  604. data/lib/bioshogi/explain//346/210/246/345/236/213//345/233/233/351/226/223/351/243/233/350/273/212.kif +0 -60
  605. data/lib/bioshogi/explain//346/210/246/345/236/213//345/234/260/344/270/213/351/211/204/351/243/233/350/273/212.kif +0 -102
  606. data/lib/bioshogi/explain//346/210/246/345/236/213//345/241/232/347/224/260/343/202/271/343/203/232/343/202/267/343/203/243/343/203/253.kif +0 -95
  607. data/lib/bioshogi/explain//346/210/246/345/236/213//345/254/211/351/207/216/346/265/201.kif +0 -9
  608. data/lib/bioshogi/explain//346/210/246/345/236/213//345/267/246/347/276/216/346/277/203/346/200/245/346/210/246.kif +0 -76
  609. data/lib/bioshogi/explain//346/210/246/345/236/213//345/271/263/347/233/256.kif +0 -110
  610. data/lib/bioshogi/explain//346/210/246/345/236/213//346/211/213/345/276/227/350/247/222/344/272/244/346/217/233/345/236/213.kif +0 -14
  611. data/lib/bioshogi/explain//346/210/246/345/236/213//346/211/213/346/220/215/350/247/222/344/272/244/346/217/233/345/236/213.kif +0 -12
  612. data/lib/bioshogi/explain//346/210/246/345/236/213//346/226/260/344/270/270/345/261/261/343/203/257/343/202/257/343/203/201/343/203/263.kif +0 -24
  613. data/lib/bioshogi/explain//346/210/246/345/236/213//346/226/260/345/254/211/351/207/216/346/265/201.kif +0 -15
  614. data/lib/bioshogi/explain//346/210/246/345/236/213//346/226/260/347/237/263/347/224/260/346/265/201.kif +0 -90
  615. data/lib/bioshogi/explain//346/210/246/345/236/213//346/226/260/347/261/263/351/225/267/347/216/211.kif +0 -10
  616. data/lib/bioshogi/explain//346/210/246/345/236/213//346/226/260/351/254/274/346/256/272/343/201/227.kif +0 -113
  617. data/lib/bioshogi/explain//346/210/246/345/236/213//346/227/251/347/237/263/347/224/260.kif +0 -68
  618. data/lib/bioshogi/explain//346/210/246/345/236/213//346/243/222/347/216/211.kif +0 -80
  619. data/lib/bioshogi/explain//346/210/246/345/236/213//346/243/222/351/212/200.kif +0 -65
  620. data/lib/bioshogi/explain//346/210/246/345/236/213//346/243/256/344/270/213/343/202/267/343/202/271/343/203/206/343/203/240.kif +0 -118
  621. data/lib/bioshogi/explain//346/210/246/345/236/213//347/216/211/351/240/255/351/212/200.kif +0 -68
  622. data/lib/bioshogi/explain//346/210/246/345/236/213//347/233/270/346/214/257/343/202/212/351/243/233/350/273/212.kif +0 -14
  623. data/lib/bioshogi/explain//346/210/246/345/236/213//347/233/270/346/216/233/343/201/213/343/202/212.kif +0 -45
  624. data/lib/bioshogi/explain//346/210/246/345/236/213//347/237/242/345/200/211/344/270/255/351/243/233/350/273/212.kif +0 -71
  625. data/lib/bioshogi/explain//346/210/246/345/236/213//347/253/213/347/237/263/346/265/201/345/233/233/351/226/223/351/243/233/350/273/212.kif +0 -43
  626. data/lib/bioshogi/explain//346/210/246/345/236/213//350/217/205/344/272/225/346/265/201/344/270/211/351/226/223/351/243/233/350/273/212.kif +0 -23
  627. data/lib/bioshogi/explain//346/210/246/345/236/213//350/217/234/343/200/205/346/262/263/346/265/201/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +0 -24
  628. data/lib/bioshogi/explain//346/210/246/345/236/213//350/242/226/351/243/233/350/273/212.kif +0 -60
  629. data/lib/bioshogi/explain//346/210/246/345/236/213//350/247/222/344/272/244/346/217/233/345/236/213.kif +0 -19
  630. data/lib/bioshogi/explain//346/210/246/345/236/213//350/247/222/344/272/244/346/217/233/346/214/257/343/202/212/351/243/233/350/273/212.kif +0 -64
  631. data/lib/bioshogi/explain//346/210/246/345/236/213//350/247/222/346/217/233/343/202/217/343/202/212/346/227/251/347/271/260/343/202/212/351/212/200.kif +0 -76
  632. data/lib/bioshogi/explain//346/210/246/345/236/213//350/247/222/346/217/233/343/202/217/343/202/212/350/205/260/346/216/233/343/201/221/351/212/200.kif +0 -76
  633. data/lib/bioshogi/explain//346/210/246/345/236/213//350/247/222/351/201/223/343/202/252/343/203/274/343/203/227/343/203/263/345/233/233/351/226/223/351/243/233/350/273/212.kif +0 -12
  634. data/lib/bioshogi/explain//346/210/246/345/236/213//350/266/205/346/200/245/346/210/246.kif +0 -28
  635. data/lib/bioshogi/explain//346/210/246/345/236/213//351/203/275/346/210/220/346/265/201/342/226/263/357/274/223/344/270/200/351/207/221.kif +0 -28
  636. data/lib/bioshogi/explain//346/210/246/345/236/213//351/231/275/345/213/225/346/214/257/343/202/212/351/243/233/350/273/212.kif +0 -62
  637. data/lib/bioshogi/explain//346/210/246/345/236/213//351/233/200/345/210/272/343/201/227.kif +0 -140
  638. data/lib/bioshogi/explain//346/210/246/345/236/213//351/254/274/346/256/272/343/201/227.kif +0 -173
  639. data/lib/bioshogi/explain//346/210/246/345/236/213//351/254/274/346/256/272/343/201/227/345/220/221/343/201/213/343/201/204/351/243/233/350/273/212.kif +0 -73
  640. data/lib/bioshogi/explain//346/210/246/345/236/213//357/274/224/342/206/222/357/274/223/346/210/246/346/263/225.kif +0 -72
@@ -1,13 +1,11 @@
1
- # -*- coding: utf-8; compile-command: "bundle execute rspec ../../spec/piece_spec.rb" -*-
2
1
  # frozen-string-literal: true
3
- #
2
+
4
3
  # Piece.s_to_h("飛0 角 竜1 馬2 龍2") # => {:rook=>3, :bishop=>3}
5
4
  # Piece.h_to_a(rook: 2, bishop: 1).collect(&:name) # => ["飛", "飛", "角"]
6
5
  # Piece.s_to_a("飛0 角 竜1 馬2 龍2 飛").collect(&:name) # => ["飛", "飛", "飛", "飛", "角", "角", "角"]
7
6
  # Piece.a_to_s([:bishop, "竜", "竜"]) # => "飛二 角"
8
7
  # Piece.s_to_h2("▲歩2 飛 △歩二飛 ▲金") # => {:black=>{:pawn=>2, :rook=>1, :gold=>1}, :white=>{:pawn=>2, :rook=>1}}
9
8
  # Piece.h_to_s(bishop: 1, rook: 2) # => "飛二 角"
10
- #
11
9
 
12
10
  module Bioshogi
13
11
  class Piece
@@ -99,14 +97,14 @@ module Bioshogi
99
97
 
100
98
  include ApplicationMemoryRecord
101
99
  memory_record [
102
- { key: :king, name: "玉", basic_alias: "王", promoted_name: nil, promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "K", promotable: false, always_alive: true, stronger: false, },
103
- { key: :rook, name: "飛", basic_alias: nil, promoted_name: "龍", promoted_formal_sheet_name: nil, other_matched_promoted_names: "竜", sfen_char: "R", promotable: true, always_alive: true, stronger: true, },
104
- { key: :bishop, name: "角", basic_alias: nil, promoted_name: "馬", promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "B", promotable: true, always_alive: true, stronger: true, },
105
- { key: :gold, name: "金", basic_alias: nil, promoted_name: nil, promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "G", promotable: false, always_alive: true, stronger: false, },
106
- { key: :silver, name: "銀", basic_alias: nil, promoted_name: "全", promoted_formal_sheet_name: "成銀", other_matched_promoted_names: nil, sfen_char: "S", promotable: true, always_alive: true, stronger: false, },
107
- { key: :knight, name: "桂", basic_alias: nil, promoted_name: "圭", promoted_formal_sheet_name: "成桂", other_matched_promoted_names: "今", sfen_char: "N", promotable: true, always_alive: false, stronger: false, },
108
- { key: :lance, name: "香", basic_alias: nil, promoted_name: "杏", promoted_formal_sheet_name: "成香", other_matched_promoted_names: "仝", sfen_char: "L", promotable: true, always_alive: false, stronger: false, },
109
- { key: :pawn, name: "歩", basic_alias: nil, promoted_name: "と", promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "P", promotable: true, always_alive: false, stronger: false, },
100
+ { key: :king, name: "玉", basic_alias: "王", promoted_name: nil, promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "K", promotable: false, always_alive: true, stronger: false, dengaku_target: true, tatakare_target: true, maesusumeru: true, },
101
+ { key: :rook, name: "飛", basic_alias: nil, promoted_name: "龍", promoted_formal_sheet_name: nil, other_matched_promoted_names: "竜", sfen_char: "R", promotable: true, always_alive: true, stronger: true, dengaku_target: true, tatakare_target: true, maesusumeru: true, },
102
+ { key: :bishop, name: "角", basic_alias: nil, promoted_name: "馬", promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "B", promotable: true, always_alive: true, stronger: true, dengaku_target: true, tatakare_target: false, maesusumeru: false, },
103
+ { key: :gold, name: "金", basic_alias: nil, promoted_name: nil, promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "G", promotable: false, always_alive: true, stronger: false, dengaku_target: false, tatakare_target: true, maesusumeru: true, },
104
+ { key: :silver, name: "銀", basic_alias: nil, promoted_name: "全", promoted_formal_sheet_name: "成銀", other_matched_promoted_names: nil, sfen_char: "S", promotable: true, always_alive: true, stronger: false, dengaku_target: false, tatakare_target: true, maesusumeru: true, },
105
+ { key: :knight, name: "桂", basic_alias: nil, promoted_name: "圭", promoted_formal_sheet_name: "成桂", other_matched_promoted_names: "今", sfen_char: "N", promotable: true, always_alive: false, stronger: false, dengaku_target: false, tatakare_target: false, maesusumeru: false, },
106
+ { key: :lance, name: "香", basic_alias: nil, promoted_name: "杏", promoted_formal_sheet_name: "成香", other_matched_promoted_names: "仝", sfen_char: "L", promotable: true, always_alive: false, stronger: false, dengaku_target: false, tatakare_target: false, maesusumeru: true, },
107
+ { key: :pawn, name: "歩", basic_alias: nil, promoted_name: "と", promoted_formal_sheet_name: nil, other_matched_promoted_names: nil, sfen_char: "P", promotable: true, always_alive: false, stronger: false, dengaku_target: false, tatakare_target: false, maesusumeru: true, },
110
108
  ]
111
109
 
112
110
  class << self
@@ -141,6 +139,10 @@ module Bioshogi
141
139
  attributes
142
140
  end
143
141
 
142
+ def promotable?
143
+ promotable
144
+ end
145
+
144
146
  concerning :NameMethods do
145
147
  class_methods do
146
148
  def all_names
@@ -209,76 +211,38 @@ module Bioshogi
209
211
  end
210
212
  end
211
213
 
212
- concerning :CsaMethods do
213
- def csa
214
- @csa ||= PieceCsa.fetch(key)
215
- end
214
+ def csa
215
+ @csa ||= PieceCsa.fetch(key)
216
216
  end
217
217
 
218
- concerning :OtherMethods do
219
- def promotable?
220
- promotable
221
- end
218
+ def piece_vector
219
+ @piece_vector ||= PieceVector.fetch(key)
222
220
  end
221
+ delegate *PieceVector::DELEGATE_METHODS, to: :piece_vector
223
222
 
224
- concerning :VectorMethods do
225
- included do
226
- delegate :brave?, :all_vectors, to: :piece_vector
227
- end
228
-
229
- def piece_vector
230
- @piece_vector ||= PieceVector.fetch(key)
231
- end
223
+ def piece_scale
224
+ @piece_scale ||= PieceScale.fetch(key)
232
225
  end
226
+ delegate :scale, to: :piece_scale
233
227
 
234
- concerning :ScaleMethods do
235
- included do
236
- delegate :scale, to: :piece_scale
237
- end
238
-
239
- def piece_scale
240
- @piece_scale ||= PieceScale.fetch(key)
241
- end
228
+ def piece_score
229
+ @piece_score ||= PieceScore.fetch(key)
242
230
  end
231
+ delegate :any_weight, :basic_weight, :promoted_weight, :hold_weight, to: :piece_score
243
232
 
244
- concerning :ScoreMethods do
245
- included do
246
- delegate :any_weight, :basic_weight, :promoted_weight, :hold_weight, to: :piece_score
247
- end
248
-
249
- def piece_score
250
- @piece_score ||= PieceScore.fetch(key)
251
- end
233
+ def piece_pressure
234
+ @piece_pressure ||= PiecePressure.fetch(key)
252
235
  end
236
+ delegate :attack_level, :promoted_attack_level, :defense_level, :promoted_defense_level, :standby_level, to: :piece_pressure
253
237
 
254
- concerning :PressureMethods do
255
- included do
256
- delegate :attack_level, :promoted_attack_level, :defense_level, :promoted_defense_level, :standby_level, to: :piece_pressure
257
- end
258
-
259
- def piece_pressure
260
- @piece_pressure ||= PiecePressure.fetch(key)
261
- end
238
+ def yomiage_piece_info
239
+ @yomiage_piece_info ||= YomiagePieceInfo.fetch(key)
262
240
  end
241
+ delegate :yomiage, to: :yomiage_piece_info
263
242
 
264
- concerning :KifuyomiMethods do
265
- included do
266
- delegate :yomiage, to: :yomiage_piece_info
267
- end
268
-
269
- def yomiage_piece_info
270
- @yomiage_piece_info ||= YomiagePieceInfo.fetch(key)
271
- end
272
- end
273
-
274
- concerning :EkScoreInfoMethods do
275
- included do
276
- delegate :ek_score, to: :ek_score_info
277
- end
278
-
279
- def ek_score_info
280
- @ek_score_info ||= EkScoreInfo.fetch(key)
281
- end
243
+ def ek_score_info
244
+ @ek_score_info ||= EkScoreInfo.fetch(key)
282
245
  end
246
+ delegate :ek_score, to: :ek_score_info
283
247
  end
284
248
  end
@@ -9,19 +9,19 @@
9
9
 
10
10
  module Bioshogi
11
11
  class Place
12
- attr_accessor :x, :y
13
-
14
12
  class << self
15
13
  private :new
16
14
 
17
- include Enumerable
15
+ begin
16
+ include Enumerable
18
17
 
19
- def each(&block)
20
- Dimension::PlaceY.dimension.times.flat_map { |y|
21
- Dimension::PlaceX.dimension.times.collect { |x|
22
- self[[x, y]]
23
- }
24
- }.each(&block)
18
+ def each(&block)
19
+ Dimension::Row.dimension_size.times.flat_map { |row|
20
+ Dimension::Column.dimension_size.times.collect { |column|
21
+ self[[column, row]]
22
+ }
23
+ }.each(&block)
24
+ end
25
25
  end
26
26
 
27
27
  def fetch(value)
@@ -33,28 +33,30 @@ module Bioshogi
33
33
  return value
34
34
  end
35
35
 
36
- x = nil
37
- y = nil
36
+ column = nil
37
+ row = nil
38
38
 
39
39
  case value
40
40
  when Array
41
41
  a, b = value
42
- x = Dimension::PlaceX.lookup(a)
43
- y = Dimension::PlaceY.lookup(b)
42
+ column = Dimension::Column.lookup(a)
43
+ row = Dimension::Row.lookup(b)
44
44
  when String
45
45
  a, b = value.chars
46
- x = Dimension::PlaceX.lookup(a)
47
- y = Dimension::PlaceY.lookup(b)
46
+ column = Dimension::Column.lookup(a)
47
+ row = Dimension::Row.lookup(b)
48
48
  else
49
49
  if respond_to?(:to_a)
50
50
  return lookup(value.to_a)
51
51
  end
52
52
  end
53
53
 
54
- if x && y
55
- @memo ||= {}
56
- @memo[x] ||= {}
57
- @memo[x][y] ||= new(x, y).freeze
54
+ # 座標は最大で99なのでインスタンスを使いまわす
55
+ # ただしグローバルな寸法が変わると不整合な状態になるため cache_clear を適切に呼ばないといけない
56
+ if column && row
57
+ @cache ||= {}
58
+ @cache[column] ||= {}
59
+ @cache[column][row] ||= new(column, row)
58
60
  end
59
61
  end
60
62
 
@@ -62,91 +64,121 @@ module Bioshogi
62
64
  lookup(value)
63
65
  end
64
66
 
67
+ def cache_clear
68
+ if @cache
69
+ @cache.each_value do |hv|
70
+ hv.each_value(&:cache_clear)
71
+ end
72
+ end
73
+ end
74
+
65
75
  def regexp
66
76
  /[一二三四五六七八九1-91-9]{2}/
67
77
  end
68
78
  end
69
79
 
70
- def initialize(x, y)
71
- @x = x
72
- @y = y
73
- end
80
+ attr_accessor :column, :row
74
81
 
75
- def inspect
76
- "#<#{self.class.name} #{name}>"
82
+ # for Soldier
83
+ DELEGATE_METHODS = [
84
+ *Dimension::Column::DELEGATE_METHODS,
85
+ *Dimension::Row::DELEGATE_METHODS,
86
+
87
+ :relative_move_to,
88
+ :move_to_xy,
89
+ :king_default_place?,
90
+
91
+ :move_to_bottom_edge,
92
+ :move_to_top_edge,
93
+ :move_to_left_edge,
94
+ :move_to_right_edge,
95
+ ]
96
+
97
+ def initialize(column, row)
98
+ @column = column
99
+ @row = row
100
+ @cache = {}
101
+ freeze
77
102
  end
78
103
 
79
- # 180度回転 ※上下対象ではない
80
- def flip
81
- self.class.fetch([@x.flip, @y.flip])
104
+ def cache_clear
105
+ to_a.each(&:cache_clear)
106
+ @cache.clear
82
107
  end
83
108
 
84
- # x座標のみ反転
85
- def flop
86
- self.class.fetch([@x.flip, @y])
109
+ def inspect
110
+ "#<#{self.class.name} #{name}>"
87
111
  end
88
112
 
89
- def flip_if_white(location)
90
- if Location[location].key == :white
91
- flip
92
- else
93
- self
94
- end
113
+ ################################################################################
114
+
115
+ def to_s
116
+ name
95
117
  end
96
118
 
97
119
  def name
98
- to_a.collect { |e| e.name }.join
120
+ @cache[:name] ||= to_a.collect(&:name).join
99
121
  end
100
122
 
101
123
  def zenkaku_number
102
- to_a.collect(&:zenkaku_number).join
124
+ @cache[:zenkaku_number] ||= to_a.collect(&:zenkaku_number).join
103
125
  end
104
126
 
105
127
  def hankaku_number
106
- to_a.collect(&:hankaku_number).join
128
+ @cache[:hankaku_number] ||= to_a.collect(&:hankaku_number).join
107
129
  end
108
130
 
109
131
  def yomiage
110
- to_a.collect(&:yomiage).join
111
- end
112
-
113
- def to_s
114
- name
132
+ @cache[:yomiage] ||= to_a.collect(&:yomiage).join
115
133
  end
116
134
 
117
135
  def to_sfen
118
- to_a.collect(&:to_sfen).join
136
+ @cache[:to_sfen] ||= to_a.collect(&:to_sfen).join
119
137
  end
120
138
 
121
139
  def to_xy
122
- [@x.value, @y.value]
140
+ @cache[:to_xy] ||= to_a.collect(&:value)
123
141
  end
124
142
 
125
143
  # "6八銀" なら [6, 8]
144
+ # キャッシュすると3倍速くなる
126
145
  def to_human_int
127
- to_a.collect(&:to_human_int)
146
+ @cache[:to_human_int] ||= to_a.collect(&:to_human_int)
128
147
  end
129
148
 
130
- # "6八銀" なら {x:6, y:8}
149
+ # "6八銀" なら {column:6, row:8}
150
+ # キャッシュすると2倍速くなる
131
151
  def to_human_h
132
- { x: @x.to_human_int, y: @y.to_human_int }
152
+ @cache[:to_human_h] ||= Hash[[:column, :row].zip(to_human_int)]
133
153
  end
134
154
 
155
+ # ほぼキャッシュ効果なし。それどころか少し遅くなる。ただ配列を再生成しないのでこれでいいことにする。
135
156
  def to_a
136
- [@x, @y]
157
+ @cache[:to_a] ||= [@column, @row]
137
158
  end
138
159
 
139
- def vector_add(vector)
140
- self.class.lookup([@x.value + vector.x, @y.value + vector.y])
160
+ ################################################################################
161
+
162
+ # 180度回転
163
+ def flip
164
+ @cache[:flip] ||= self.class.fetch(to_a.collect(&:flip))
141
165
  end
142
166
 
143
- # def valid?
144
- # @x.valid? && @y.valid?
145
- # end
146
- #
147
- # def invalid?
148
- # !valid?
149
- # end
167
+ # column座標のみ反転
168
+ def flop
169
+ @cache[:flop] ||= self.class.fetch([@column.flip, @row])
170
+ end
171
+
172
+ # Soldier では独自に定義しているためここに Soldier からここに委譲してはいけない
173
+ def white_then_flip(location)
174
+ if Location[location].key == :white
175
+ flip
176
+ else
177
+ self
178
+ end
179
+ end
180
+
181
+ ################################################################################
150
182
 
151
183
  def ==(other)
152
184
  eql?(other)
@@ -164,8 +196,69 @@ module Bioshogi
164
196
  self.class == other.class && to_xy == other.to_xy
165
197
  end
166
198
 
167
- def promotable?(location)
168
- @y.promotable?(location)
199
+ ################################################################################ 移動
200
+
201
+ # より抽象的な方法で移動した位置を返す
202
+ def relative_move_to(location, vector, magnification: 1)
203
+ if vector.kind_of?(Symbol)
204
+ vector = V.public_send(vector)
205
+ end
206
+ xy_add(*(vector * location.sign_dir * magnification))
207
+ end
208
+
209
+ # 自玉の位置にいる?
210
+ def king_default_place?(location)
211
+ column_is_center?(location) && bottom_spaces(location) == 0
212
+ end
213
+
214
+ def xy_add(x, y)
215
+ self.class.lookup([@column.value + x, @row.value + y])
216
+ end
217
+ private :xy_add
218
+
219
+ def vector_add(vector)
220
+ xy_add(vector.x, vector.y)
221
+ end
222
+
223
+ # 上下左右 -1 +1 -1 +1 に進んだ位置を返す (white側の場合も考慮する)
224
+ # 2つ進んだ位置などを一発で調べたいときに使う
225
+ # なるべく使うな
226
+ def move_to_xy(location, x, y)
227
+ xy_add(x * location.sign_dir, y * location.sign_dir)
169
228
  end
229
+
230
+ ################################################################################ location から見た上下左右に寄せた位置を返す
231
+
232
+ def move_to_bottom_edge(location)
233
+ self.class.fetch([column, location.bottom])
234
+ end
235
+
236
+ def move_to_top_edge(location)
237
+ self.class.fetch([column, location.top])
238
+ end
239
+
240
+ def move_to_left_edge(location)
241
+ self.class.fetch([location.left, row])
242
+ end
243
+
244
+ def move_to_right_edge(location)
245
+ self.class.fetch([location.right, row])
246
+ end
247
+
248
+ ################################################################################ location から見た情報を返す
249
+
250
+ Dimension::Column::DELEGATE_METHODS.each do |name|
251
+ define_method(name) do |location|
252
+ @column.white_then_flip(location).public_send(name)
253
+ end
254
+ end
255
+
256
+ Dimension::Row::DELEGATE_METHODS.each do |name|
257
+ define_method(name) do |location|
258
+ @row.white_then_flip(location).public_send(name)
259
+ end
260
+ end
261
+
262
+ ################################################################################
170
263
  end
171
264
  end
@@ -24,26 +24,31 @@ module Bioshogi
24
24
  @used_piece_counts ||= Hash.new(0)
25
25
  end
26
26
 
27
+ ################################################################################
28
+
27
29
  # 大駒コンプリートしている?
28
30
  def stronger_piece_completed?
29
31
  stronger_piece_have_count >= 4
30
32
  end
31
33
 
34
+ # 大駒の数
32
35
  def stronger_piece_have_count
33
- c = 0
36
+ count = 0
34
37
 
35
38
  # 持駒の大駒
36
- c += piece_box[:rook] || 0
37
- c += piece_box[:bishop] || 0
39
+ count += piece_box[:rook] || 0
40
+ count += piece_box[:bishop] || 0
38
41
 
39
42
  # 盤上の大駒
40
43
  key = location.key
41
- c += board.piece_count_of(key, :rook)
42
- c += board.piece_count_of(key, :bishop)
44
+ count += board.piece_count_of(key, :rook)
45
+ count += board.piece_count_of(key, :bishop)
43
46
 
44
- c
47
+ count
45
48
  end
46
49
 
50
+ ################################################################################
51
+
47
52
  # 入玉宣言時の得点合計(仮)
48
53
  def ek_score_without_cond
49
54
  soldiers_ek_score + piece_box.ek_score
@@ -51,10 +56,25 @@ module Bioshogi
51
56
 
52
57
  # 入玉宣言時の得点合計(最終)
53
58
  def ek_score_with_cond
59
+ # 「入玉」かつ「玉を除く駒が10毎以上相手陣に入っている」なら
54
60
  if king_soldier_entered? && many_soliders_are_in_the_opponent_area?
55
61
  ek_score_without_cond
56
62
  end
57
63
  end
64
+
65
+ ################################################################################
66
+
67
+ # 総合得点(先後とも正)
68
+ def current_score
69
+ soldiers.sum(&:abs_weight) + piece_box.score
70
+ end
71
+
72
+ # 圧倒的なスコアがある?
73
+ def overwhelming_score?
74
+ current_score >= Piece::PieceScore.sure_victory_score
75
+ end
76
+
77
+ ################################################################################
58
78
  end
59
79
  end
60
80
  end
@@ -23,7 +23,7 @@ module Bioshogi
23
23
  # 入玉している?
24
24
  def king_soldier_entered?
25
25
  if soldier = king_soldier
26
- soldier.place.promotable?(location)
26
+ soldier.place.opp_side?(location)
27
27
  end
28
28
  end
29
29
 
@@ -36,7 +36,7 @@ module Bioshogi
36
36
  def entered_soldiers
37
37
  soldiers.find_all do |e|
38
38
  if e.piece.key != :king
39
- e.place.promotable?(location)
39
+ e.place.opp_side?(location)
40
40
  end
41
41
  end
42
42
  end
@@ -90,7 +90,7 @@ module Bioshogi
90
90
  end
91
91
 
92
92
  def skill_set
93
- @skill_set ||= Explain::SkillSet.new
93
+ @skill_set ||= Analysis::SkillSet.new
94
94
  end
95
95
  delegate :attack_infos, :defense_infos, to: :skill_set
96
96
 
@@ -62,7 +62,7 @@ module Bioshogi
62
62
  move_hand_process(move_hand)
63
63
  end
64
64
 
65
- perform_skill_monitor
65
+ perform_analyzer
66
66
 
67
67
  clock_add_process
68
68
  turn_ended_process
@@ -92,7 +92,7 @@ module Bioshogi
92
92
  def turn_ended_process
93
93
  end
94
94
 
95
- def perform_skill_monitor
95
+ def perform_analyzer
96
96
  end
97
97
 
98
98
  def turn_changed_process
@@ -2,7 +2,7 @@ module Bioshogi
2
2
  module PlayerExecutor
3
3
  class Human < Base
4
4
  include HandLogsMod
5
- include Explain::MonitorMod
5
+ include Analysis::AnalyzerMod
6
6
  end
7
7
  end
8
8
  end
@@ -1,6 +1,6 @@
1
1
  module Bioshogi
2
2
  module PlayerExecutor
3
- class WithoutMonitor < Base
3
+ class WithoutAnalyzer < Base
4
4
  include HandLogsMod # FIXME: 配列ではなく最後の手だけを持ちたい
5
5
  end
6
6
  end
@@ -125,6 +125,6 @@ module Bioshogi
125
125
  handicap ? 1 : 0
126
126
  end
127
127
 
128
- include Explain::ShapeInfoRelation
128
+ include Analysis::ShapeInfoRelation
129
129
  end
130
130
  end
@@ -17,7 +17,7 @@ module Bioshogi
17
17
 
18
18
  # 文字の大きさの割合
19
19
  # ※割合はすべてセルの大きさを1.0とする
20
- :soldier_font_scale => 0.85, # 盤上駒
20
+ :soldier_font_scale => 0.85, # PieceScale に掛ける共通倍率。かなり印象が変わる。1.00 だと暑苦しい。
21
21
  :piece_scale_map => {},
22
22
 
23
23
  # 駒(文字)の位置調整
@@ -31,8 +31,8 @@ module Bioshogi
31
31
  :lattice_stroke_width => 1, # 格子の線の太さ
32
32
  :inner_frame_stroke_width => 2, # 枠の線お太さ(nil なら lattice_stroke_width を代用)
33
33
  :inner_frame_fill_color => nil, # 基本透明とする(基本指定なしでよい)
34
- :dimension_w => Dimension::PlaceX.dimension, # 横のセル数
35
- :dimension_h => Dimension::PlaceY.dimension, # 縦のセル数
34
+ :dimension_w => Dimension::Column.dimension_size, # 横のセル数
35
+ :dimension_h => Dimension::Row.dimension_size, # 縦のセル数
36
36
  :fg_file => nil, # 盤テクスチャ
37
37
 
38
38
  # optional
@@ -109,8 +109,8 @@ module Bioshogi
109
109
  cx, cy = *px(v + V.half) # 中央
110
110
  pentagon_points.flat_map do |x, y|
111
111
  [
112
- cx + x * scale * location.value_sign,
113
- cy + y * scale * location.value_sign,
112
+ cx + x * scale * location.sign_dir,
113
+ cy + y * scale * location.sign_dir,
114
114
  ]
115
115
  end
116
116
  end
@@ -125,7 +125,7 @@ module Bioshogi
125
125
  # フォントの位置を微調整
126
126
  def piece_char_adjust(location)
127
127
  @piece_char_adjust ||= {}
128
- @piece_char_adjust[location.key] ||= V[*params[:piece_char_adjust][location.key]] * location.value_sign
128
+ @piece_char_adjust[location.key] ||= V[*params[:piece_char_adjust][location.key]] * location.sign_dir
129
129
  end
130
130
 
131
131
  def soldier_font_scale(piece)
@@ -37,7 +37,7 @@ module Bioshogi
37
37
 
38
38
  container.players.each do |player|
39
39
  location = player.location
40
- s = location.value_sign
40
+ s = location.sign_dir
41
41
 
42
42
  if player.location.key == :black
43
43
  v = v_bottom_right_outer
@@ -85,7 +85,7 @@ module Bioshogi
85
85
  def piece_count_draw(v:, count:, location:)
86
86
  if count >= 2
87
87
  w = count <= 9 ? :single : :double
88
- v = v + V[*params[:piece_count_position_adjust][w]] * location.value_sign
88
+ v = v + V[*params[:piece_count_position_adjust][w]] * location.sign_dir
89
89
  piece_count_bg_draw(v: v, location: location)
90
90
  char_draw(
91
91
  :layer => @d_piece_count_layer,
@@ -106,9 +106,9 @@ module Bioshogi
106
106
  draw_context(@d_piece_count_layer) do |g|
107
107
  g.fill(params[:piece_count_bg_color])
108
108
 
109
- # v2 = v + V[*params[:piece_count_bg_adjust][w]] * location.value_sign
110
- # v2 = v + (V.half + V[*params[:piece_count_bg_adjust]]) * location.value_sign
111
- # g.ellipse(*px(v2), *(cell_rect * params[:piece_count_bg_scale] * location.value_sign), 0, 360) # x, y, w, h, angle(0 to 360)
109
+ # v2 = v + V[*params[:piece_count_bg_adjust][w]] * location.sign_dir
110
+ # v2 = v + (V.half + V[*params[:piece_count_bg_adjust]]) * location.sign_dir
111
+ # g.ellipse(*px(v2), *(cell_rect * params[:piece_count_bg_scale] * location.sign_dir), 0, 360) # x, y, w, h, angle(0 to 360)
112
112
  # g.ellipse(*px(v2), *cell_rect, 0, 360) # x, y, w, h, angle(0 to 360)
113
113
 
114
114
  # 個数は左上を原点とした枠の中心(CenterGravity)で表示するのでその位置に移動する