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
@@ -0,0 +1,96 @@
1
+ module Bioshogi
2
+ module Formatter
3
+ class SugatayakiValidator
4
+ delegate :win_side_location, :container, to: :@skill_embed
5
+
6
+ def initialize(skill_embed)
7
+ @skill_embed = skill_embed
8
+ end
9
+
10
+ def call
11
+ if valid?
12
+ win_player.skill_set.list_push(tag)
13
+
14
+ # 最後の手にも入れておく
15
+ container.hand_logs.last&.then do |hand_log|
16
+ hand_log.skill_set.list_push(tag)
17
+ end
18
+
19
+ # tp info
20
+ end
21
+ end
22
+
23
+ def tag
24
+ Analysis::NoteInfo["穴熊の姿焼き"]
25
+ end
26
+
27
+ def info
28
+ {
29
+ "閾値" => Piece::PieceScore.sure_victory_score,
30
+ "勝者の得点" => win_player.current_score,
31
+ "敗者の得点" => lose_player.current_score,
32
+ "得点差" => win_player.current_score - lose_player.current_score,
33
+ }
34
+ end
35
+
36
+ def valid?
37
+ unless win_side_location # 勝ち負けがはっきりしているか?
38
+ return
39
+ end
40
+ unless anaguma_formation? # 相手が穴熊状態か?
41
+ return
42
+ end
43
+ # unless stronger_piece_completed? # 大駒コンプリートしている? → overwhelming_score? の方が汎用的
44
+ # return
45
+ # end
46
+ unless win_player.overwhelming_score? # 自分が圧倒的な戦力を持っているか?
47
+ return
48
+ end
49
+ true
50
+ end
51
+
52
+ # 左右どちらかに相手の穴熊が存在する?
53
+ def anaguma_formation?
54
+ sub_anaguma_formation?(false) || sub_anaguma_formation?(true)
55
+ end
56
+
57
+ # 角に相手の穴熊が存在する?
58
+ def sub_anaguma_formation?(flop)
59
+ true &&
60
+ lose_side_soldier_at("19", flop).try { piece.key == :king } && # 角に玉がある
61
+ lose_side_soldier_at("18", flop) &&
62
+ lose_side_soldier_at("29", flop) &&
63
+ lose_side_soldier_at("28", flop)
64
+ end
65
+
66
+ # 勝ったプレイヤー
67
+ def win_player
68
+ @win_player ||= container.player_at(win_side_location)
69
+ end
70
+
71
+ # 負けたプレイヤー
72
+ def lose_player
73
+ @lose_player ||= container.player_at(lose_side_location)
74
+ end
75
+
76
+ # 負けた側
77
+ def lose_side_location
78
+ @lose_side_location ||= win_side_location.flip
79
+ end
80
+
81
+ # 負けた方の盤上の駒を得る
82
+ def lose_side_soldier_at(place, flop)
83
+ place = Place[place]
84
+ if flop
85
+ place = place.flop
86
+ end
87
+ place = place.white_then_flip(lose_side_location)
88
+ if soldier = container.board[place]
89
+ if soldier.location == lose_side_location
90
+ soldier
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -59,7 +59,7 @@ module Bioshogi
59
59
  end
60
60
 
61
61
  def type
62
- "t_drop"
62
+ :t_drop
63
63
  end
64
64
 
65
65
  def to_akf(options = {})
@@ -35,8 +35,8 @@ module Bioshogi
35
35
  end
36
36
 
37
37
  # 成れる状態だった?
38
- def promotable?
39
- origin_soldier.next_promotable?(soldier.place)
38
+ def state_where_it_can_become_promote?
39
+ origin_soldier.tsugini_nareru_on?(soldier.place)
40
40
  end
41
41
 
42
42
  # 人間には読みやすいがパースは大変
@@ -84,14 +84,14 @@ module Bioshogi
84
84
  end
85
85
 
86
86
  def type
87
- if promotable?
87
+ if state_where_it_can_become_promote?
88
88
  if promote_trigger?
89
- "t_promote_on"
89
+ :t_promote_on
90
90
  else
91
- "t_promote_throw"
91
+ :t_promote_throw
92
92
  end
93
93
  else
94
- "t_move"
94
+ :t_move
95
95
  end
96
96
  end
97
97
 
@@ -86,13 +86,13 @@ module Bioshogi
86
86
  if md = v.match(/[左右]/)
87
87
  if piece.brave?
88
88
  m = {"左" => :first, "右" => :last}.fetch(md.to_s)
89
- m = flip_if_white(m)
90
- list = list.sort_by { |e| e.place.x.value }.send(m, 1)
89
+ m = white_then_flip(m)
90
+ list = list.sort_by { |e| e.place.column.value }.send(m, 1)
91
91
  else
92
92
  m = {"左" => :>, "右" => :<}.fetch(md.to_s)
93
- m = flip_if_white(m)
93
+ m = white_then_flip(m)
94
94
  list = list.find_all do |e|
95
- place.x.value.send(m, e.place.x.value)
95
+ place.column.value.send(m, e.place.column.value)
96
96
  end
97
97
  end
98
98
  end
@@ -103,9 +103,9 @@ module Bioshogi
103
103
  if v = up_down
104
104
  if md = v.match(/[上引]/)
105
105
  m = {"上" => :<, "引" => :>}.fetch(md.to_s)
106
- m = flip_if_white(m)
106
+ m = white_then_flip(m)
107
107
  list = list.find_all do |e|
108
- place.y.value.send(m, e.place.y.value)
108
+ place.row.value.send(m, e.place.row.value)
109
109
  end
110
110
  end
111
111
  end
@@ -115,7 +115,7 @@ module Bioshogi
115
115
  if list.size >= 2
116
116
  if v = up_down
117
117
  if v.include?("寄")
118
- list = list.find_all { |e| e.place.y == place.y }
118
+ list = list.find_all { |e| e.place.row == place.row }
119
119
  end
120
120
  end
121
121
  end
@@ -123,9 +123,9 @@ module Bioshogi
123
123
  # 真下にあるもの
124
124
  if list.size >= 2
125
125
  if one_up?
126
- y = place.y.value + player.location.which_value(1, -1)
126
+ y = place.row.value + player.location.which_value(1, -1)
127
127
  list = list.find_all { |e|
128
- e.place.x == place.x && e.place.y.value == y
128
+ e.place.column == place.column && e.place.row.value == y
129
129
  }
130
130
  end
131
131
  end
@@ -144,7 +144,7 @@ module Bioshogi
144
144
  !promoted && !suffix_exist? && candidate_soldiers.empty?
145
145
  end
146
146
 
147
- def flip_if_white(key)
147
+ def white_then_flip(key)
148
148
  if player.location.key == :white
149
149
  key = self.class.flip_table[key]
150
150
  end
@@ -12,7 +12,7 @@ module Bioshogi
12
12
  end
13
13
 
14
14
  if move_hand.promote_trigger?
15
- unless origin_soldier.next_promotable?(place)
15
+ unless origin_soldier.tsugini_nareru_on?(place)
16
16
  errors_add NotPromotable, "#{origin_soldier.place}から#{place}への移動では成れません"
17
17
  end
18
18
  end
@@ -1,7 +1,3 @@
1
- if $0 == __FILE__
2
- require "active_support/core_ext/module/attribute_accessors"
3
- end
4
-
5
1
  module Bioshogi
6
2
  module KanjiNumber
7
3
  extend self
@@ -84,45 +80,4 @@ module Bioshogi
84
80
  s.scan(regexp, &block)
85
81
  end
86
82
  end
87
-
88
- if $0 == __FILE__
89
- KanjiNumber.kanji_to_number_string("") # => ""
90
- KanjiNumber.kanji_to_number_string("歩") # => "歩"
91
- KanjiNumber.kanji_to_number_string("歩〇") # => "歩0"
92
- KanjiNumber.kanji_to_number_string("歩九") # => "歩9"
93
- KanjiNumber.kanji_to_number_string("歩十") # => "歩10"
94
- KanjiNumber.kanji_to_number_string("歩十〇") # => "歩10"
95
- KanjiNumber.kanji_to_number_string("歩十一") # => "歩11"
96
- KanjiNumber.kanji_to_number_string("歩十九") # => "歩19"
97
- KanjiNumber.kanji_to_number_string("歩二十") # => "歩20"
98
- KanjiNumber.kanji_to_number_string("歩二十〇") # => "歩20"
99
- KanjiNumber.kanji_to_number_string("歩二十一") # => "歩21"
100
- KanjiNumber.kanji_to_number_string("歩百二十三") # => "歩123"
101
- KanjiNumber.kanji_to_number_string("歩千二百三十四") # => "歩1234"
102
-
103
- KanjiNumber.kanji_to_number_string("歩十") # => "歩10"
104
- KanjiNumber.kanji_to_number_string("歩百") # => "歩100"
105
- KanjiNumber.kanji_to_number_string("歩千") # => "歩1000"
106
- KanjiNumber.kanji_to_number_string("歩1万") # => "歩10000"
107
- KanjiNumber.kanji_to_number_string("歩1憶") # => "歩100000"
108
- KanjiNumber.kanji_to_number_string("歩1兆") # => "歩1000000"
109
-
110
- KanjiNumber.number_to_kanji(0) # => "〇"
111
- KanjiNumber.number_to_kanji(1) # => "一"
112
- KanjiNumber.number_to_kanji(10) # => "十"
113
- KanjiNumber.number_to_kanji(12) # => "十二"
114
- KanjiNumber.number_to_kanji(2) # => "二"
115
- KanjiNumber.number_to_kanji(23) # => "二十三"
116
- KanjiNumber.number_to_kanji(123) # => "百二十三"
117
- KanjiNumber.number_to_kanji(120) # => "百二十"
118
- KanjiNumber.number_to_kanji(100) # => "百"
119
- KanjiNumber.number_to_kanji(1000) # => "千"
120
- KanjiNumber.number_to_kanji(10000) # => "一万"
121
- KanjiNumber.number_to_kanji(100000) # => "一憶"
122
- KanjiNumber.number_to_kanji(1000000) # => "一兆"
123
- KanjiNumber.number_to_kanji(1234.5678) # => "千二百三十四"
124
-
125
- KanjiNumber.extract("歩百二十三") # => ["百二十三"]
126
- KanjiNumber.regexp # => /[十百千万憶兆〇一二三四五六七八九]+/
127
- end
128
83
  end
@@ -2,14 +2,14 @@ module Bioshogi
2
2
  class KifuFormatInfo
3
3
  include ApplicationMemoryRecord
4
4
  memory_record [
5
- { key: "kif", },
6
- { key: "ki2", },
7
- { key: "csa", },
8
- { key: "sfen", },
5
+ { key: :kif, },
6
+ { key: :ki2, },
7
+ { key: :csa, },
8
+ { key: :sfen, },
9
9
  ]
10
10
 
11
11
  def name
12
- @name ||= key.to_s.upcase
12
+ super.upcase
13
13
  end
14
14
  end
15
15
  end
@@ -12,8 +12,8 @@ module Bioshogi
12
12
  class Location
13
13
  include ApplicationMemoryRecord
14
14
  memory_record [
15
- { key: :black, name: "▲", pentagon_mark: "☗", equality_name: "先手", handicap_name: "下手", equality_yomiage: "先手", handicap_yomiage: "したて", flip_mark: "▼", varrow: " ", csa_sign: "+", angle: 0, other_match_chars: ["☗"], to_sfen: "b", normalize_key: :itself, value_sign: +1, checkmate_yomiage: "せめかた", },
16
- { key: :white, name: "△", pentagon_mark: "☖", equality_name: "後手", handicap_name: "上手", equality_yomiage: "後手", handicap_yomiage: "うわて", flip_mark: "▽", varrow: "v", csa_sign: "-", angle: 180, other_match_chars: ["☖"], to_sfen: "w", normalize_key: :flip, value_sign: -1, checkmate_yomiage: "gyokugata", },
15
+ { key: :black, name: "▲", pentagon_mark: "☗", equality_name: "先手", handicap_name: "下手", equality_yomiage: "先手", handicap_yomiage: "したて", flip_mark: "▼", varrow: " ", csa_sign: "+", angle: 0, other_match_chars: ["☗"], to_sfen: "b", normalize_key: :itself, sign_dir: +1, checkmate_yomiage: "せめかた", },
16
+ { key: :white, name: "△", pentagon_mark: "☖", equality_name: "後手", handicap_name: "上手", equality_yomiage: "後手", handicap_yomiage: "うわて", flip_mark: "▽", varrow: "v", csa_sign: "-", angle: 180, other_match_chars: ["☖"], to_sfen: "w", normalize_key: :flip, sign_dir: -1, checkmate_yomiage: "gyokugata", },
17
17
  ]
18
18
 
19
19
  class << self
@@ -118,6 +118,26 @@ module Bioshogi
118
118
  end
119
119
  end
120
120
 
121
+ ################################################################################
122
+
123
+ def top
124
+ Dimension::Row.top.white_then_flip(self)
125
+ end
126
+
127
+ def bottom
128
+ Dimension::Row.bottom.white_then_flip(self)
129
+ end
130
+
131
+ def left
132
+ Dimension::Column.left.white_then_flip(self)
133
+ end
134
+
135
+ def right
136
+ Dimension::Column.right.white_then_flip(self)
137
+ end
138
+
139
+ ################################################################################
140
+
121
141
  private
122
142
 
123
143
  def call_name_method_name(handicap)
@@ -40,7 +40,7 @@ module Bioshogi
40
40
  s << @options[:separator]
41
41
  end
42
42
 
43
- if type == "t_drop"
43
+ if type == :t_drop
44
44
  s << piece_name
45
45
  # 日本将棋連盟 棋譜の表記方法
46
46
  # https://www.shogi.or.jp/faq/kihuhyouki.html
@@ -53,15 +53,15 @@ module Bioshogi
53
53
  if @options[:force_drop] || !candidate_soldiers.empty?
54
54
  s << kw("打")
55
55
  end
56
- elsif type == "t_promote_on"
56
+ elsif type == :t_promote_on
57
57
  s << piece_name
58
58
  s << motion
59
59
  s << kw("成")
60
- elsif type == "t_promote_throw"
60
+ elsif type == :t_promote_throw
61
61
  s << piece_name
62
62
  s << motion
63
63
  s << kw("不成") # or "生"
64
- elsif type == "t_move"
64
+ elsif type == :t_move
65
65
  s << soldier_name
66
66
  s << motion
67
67
  else
@@ -80,26 +80,26 @@ module Bioshogi
80
80
 
81
81
  def to_debug_hash
82
82
  {
83
- :place_from => place_from,
84
- :place_to => place_to,
85
- :candidate_soldiers => candidate_soldiers.collect(&:name),
86
- :koreru_c => koreru_c,
87
- :_migi_idou => _migi_idou?,
88
- :_hidari_idou => _hidari_idou?,
89
- :_ue_idou => _ue_idou?,
90
- :_shita_idou => _shita_idou?,
91
- :_hidari_kara_c => _hidari_kara_c,
92
- :_migi_kara_c => _migi_kara_c,
93
- :yoreru_c => yoreru_c,
94
- :agareru_c => agareru_c,
95
- :sagareru_c => sagareru_c,
96
- :shita_y => shita_y,
97
- :_tx => _tx,
98
- :_ty => _ty,
99
- :_ox => _ox,
100
- :_oy => _oy,
101
- :_xr => _xr,
102
- :_yr => _yr,
83
+ :place_from => place_from,
84
+ :place_to => place_to,
85
+ :candidate_soldiers => candidate_soldiers.collect(&:name),
86
+ :koreru_c => koreru_c,
87
+ :_migi_idou => _migi_idou?,
88
+ :_hidari_idou => _hidari_idou?,
89
+ :_ue_idou => _ue_idou?,
90
+ :_shita_idou => _shita_idou?,
91
+ :_hidari_kara_c => _hidari_kara_c,
92
+ :_migi_kara_c => _migi_kara_c,
93
+ :yoreru_c => yoreru_c,
94
+ :agareru_c => agareru_c,
95
+ :sagareru_c => sagareru_c,
96
+ :shita_y => shita_y,
97
+ :_tx => _tx,
98
+ :_ty => _ty,
99
+ :_ox => _ox,
100
+ :_oy => _oy,
101
+ :_xr => _xr,
102
+ :_yr => _yr,
103
103
  }
104
104
  end
105
105
 
@@ -281,37 +281,37 @@ module Bioshogi
281
281
 
282
282
  # 左からこれる駒の数
283
283
  def _hidari_kara_c
284
- candidate_soldiers.count { |s| s.place.x.value < _tx }
284
+ candidate_soldiers.count { |s| s.place.column.value < _tx }
285
285
  end
286
286
 
287
287
  # 右からこれる駒の数
288
288
  def _migi_kara_c
289
- candidate_soldiers.count { |s| s.place.x.value > _tx }
289
+ candidate_soldiers.count { |s| s.place.column.value > _tx }
290
290
  end
291
291
 
292
292
  # 水平に寄れる駒の数
293
293
  def yoreru_c
294
- candidate_soldiers.count { |s| s.place.y.value == _ty }
294
+ candidate_soldiers.count { |s| s.place.row.value == _ty }
295
295
  end
296
296
 
297
297
  # 上がれる駒の数(移動先より下にある数)
298
298
  def agareru_c
299
- candidate_soldiers.count { |s| s.place.y.value.send(_i(:>), _ty) }
299
+ candidate_soldiers.count { |s| s.place.row.value.send(_i(:>), _ty) }
300
300
  end
301
301
 
302
302
  # 下がれる駒の数(移動先より上にある数)
303
303
  def sagareru_c
304
- candidate_soldiers.count { |s| s.place.y.value.send(_i(:<), _ty) }
304
+ candidate_soldiers.count { |s| s.place.row.value.send(_i(:<), _ty) }
305
305
  end
306
306
 
307
307
  # 移動先X
308
308
  def _tx
309
- @_tx ||= place_to.x.value
309
+ @_tx ||= place_to.column.value
310
310
  end
311
311
 
312
312
  # 移動元Y
313
313
  def _ty
314
- @_ty ||= place_to.y.value
314
+ @_ty ||= place_to.row.value
315
315
  end
316
316
 
317
317
  # プレイヤー視点から見た移動先の一つ下
@@ -326,31 +326,31 @@ module Bioshogi
326
326
 
327
327
  # 移動元X
328
328
  def _ox
329
- @_ox ||= place_from.x.value
329
+ @_ox ||= place_from.column.value
330
330
  end
331
331
 
332
332
  # 移動先Y
333
333
  def _oy
334
- @_oy ||= place_from.y.value
334
+ @_oy ||= place_from.row.value
335
335
  end
336
336
 
337
337
  # 候補手の座標範囲
338
338
  def _xr
339
- @_xr ||= Range.new(*candidate_soldiers.collect { |e| e.place.x.value }.minmax)
339
+ @_xr ||= Range.new(*candidate_soldiers.collect { |e| e.place.column.value }.minmax)
340
340
  end
341
341
 
342
342
  def _yr
343
- @_yr ||= Range.new(*candidate_soldiers.collect { |e| e.place.y.value }.minmax)
343
+ @_yr ||= Range.new(*candidate_soldiers.collect { |e| e.place.row.value }.minmax)
344
344
  end
345
345
 
346
346
  # 移動元で二つの龍が水平線上にいる?
347
347
  def idou_moto_no_ryu_ga_suihei_ni_iru?
348
- candidate_soldiers.collect { |e| e.place.y.value }.uniq.size == 1
348
+ candidate_soldiers.collect { |e| e.place.row.value }.uniq.size == 1
349
349
  end
350
350
 
351
351
  # 移動先の水平線上よりすべて上 or すべて下
352
352
  # つまり、移動先のYが候補のYの範囲に含まれている
353
- # だから candidate_soldiers.all?{|s|s.place.y.value < _ty} || candidate_soldiers.all?{|s|s.place.y.value > _ty} から !_yr.cover?(_ty) に変更できる
353
+ # だから candidate_soldiers.all?{|s|s.place.row.value < _ty} || candidate_soldiers.all?{|s|s.place.row.value > _ty} から !_yr.cover?(_ty) に変更できる
354
354
  def idousakino_suiheisenjou_yori_subete_ue_mataha_shita?
355
355
  !_yr.cover?(_ty)
356
356
  end
@@ -1,12 +1,14 @@
1
1
  # frozen-string-literal: true
2
2
 
3
- # ▲△とは関係がない
3
+ # ▲△と混同しがちだが▲△は場所のことであって順番とは関係がない。
4
+ # たとえば駒落ちの場合は△から指すため「△=後手」と解釈しているとおかしくなる。
5
+
4
6
  module Bioshogi
5
7
  class OrderInfo
6
8
  include ApplicationMemoryRecord
7
9
  memory_record [
8
- { key: :sente, name: "先手"}, # 奇数回に指す側
9
- { key: :gote, name: "後手"}, # 偶数回に指す側
10
+ { key: :order_first, name: "先手"}, # 奇数回に指す側
11
+ { key: :order_second, name: "後手"}, # 偶数回に指す側
10
12
  ]
11
13
  end
12
14
  end
@@ -25,8 +25,8 @@ module Bioshogi
25
25
  # skip: 棋譜には記さない
26
26
  # false: 例外を出す(デフォルト)
27
27
  :typical_error_case => false,
28
- :skill_monitor_enable => true,
29
- :skill_monitor_technique_enable => true,
28
+ :analyzer_enable => true,
29
+ :analyzer_technique_enable => true,
30
30
  :candidate_enable => true, # ki2にしないのであれば指定するとかなり速くなる
31
31
 
32
32
  :validate_enable => true, # 将棋ウォーズの棋譜なら指定すると少し速くなる
@@ -40,6 +40,17 @@ module Bioshogi
40
40
  def clock_nothing?
41
41
  !clock_exist?
42
42
  end
43
+
44
+ # 勝ち負けがついた一般的な終わり方をしたか?
45
+ def win_player_collect_p
46
+ if last_action_params
47
+ if last_action_key = last_action_params[:last_action_key]
48
+ if last_action_info = Formatter::LastActionInfo[last_action_key]
49
+ last_action_info.win_player_collect_p
50
+ end
51
+ end
52
+ end
53
+ end
43
54
  end
44
55
  end
45
56
  end
@@ -5,14 +5,15 @@ module Bioshogi
5
5
  class PieceScale
6
6
  include ApplicationMemoryRecord
7
7
  memory_record [
8
- { key: :king, scale: 1.00, },
9
- { key: :rook, scale: 1.00, },
10
- { key: :bishop, scale: 1.00, },
11
- { key: :gold, scale: 0.97, },
12
- { key: :silver, scale: 0.94, },
13
- { key: :knight, scale: 0.91, },
14
- { key: :lance, scale: 0.88, },
15
- { key: :pawn, scale: 0.85, },
8
+ # http://kijishi.html.xdomain.jp/komanosize.htm
9
+ { key: :king, scale: 1.00, }, # 王が一番大きい
10
+ { key: :rook, scale: 0.99, }, # 飛車と角の大きさは同じでよい
11
+ { key: :bishop, scale: 0.99, },
12
+ { key: :gold, scale: 0.98, }, # 金・銀の大きさは同じ
13
+ { key: :silver, scale: 0.98, },
14
+ { key: :knight, scale: 0.97, }, # 桂馬の香車の差は大きい
15
+ { key: :lance, scale: 0.95, },
16
+ { key: :pawn, scale: 0.94, },
16
17
  ]
17
18
  end
18
19
  end
@@ -15,6 +15,20 @@ module Bioshogi
15
15
  { key: :pawn, basic_weight: 100, promoted_weight: 1200, hold_weight: 105, },
16
16
  ]
17
17
 
18
+ class << self
19
+ # このスコア以上であれば必勝(姿焼き判定)とする
20
+ def sure_victory_score
21
+ @sure_victory_score ||= [
22
+ self[:king].basic_weight, # 玉
23
+ self[:rook].promoted_weight, # 龍
24
+ self[:bishop].promoted_weight, # 馬
25
+ self[:rook].hold_weight, # 飛 (持駒)
26
+ self[:bishop].hold_weight, # 角 (持駒)
27
+ self[:gold].basic_weight * 4, # 金相当 * 4 (と金などを含む)
28
+ ].sum
29
+ end
30
+ end
31
+
18
32
  def piece
19
33
  Piece.fetch(key)
20
34
  end
@@ -10,21 +10,27 @@ module Bioshogi
10
10
  class PieceVector
11
11
  include ApplicationMemoryRecord
12
12
  memory_record [
13
- { key: :king, basic_once_vectors: :pattern_king, basic_repeat_vectors: nil, promoted_once_vectors: nil, promoted_repeat_vectors: nil, },
14
- { key: :rook, basic_once_vectors: nil, basic_repeat_vectors: :pattern_plus, promoted_once_vectors: :pattern_x, promoted_repeat_vectors: :pattern_plus, },
15
- { key: :bishop, basic_once_vectors: nil, basic_repeat_vectors: :pattern_x, promoted_once_vectors: :pattern_plus, promoted_repeat_vectors: :pattern_x, },
16
- { key: :gold, basic_once_vectors: :pattern_gold, basic_repeat_vectors: nil, promoted_once_vectors: nil, promoted_repeat_vectors: nil, },
17
- { key: :silver, basic_once_vectors: :pattern_silver, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
18
- { key: :knight, basic_once_vectors: :pattern_knight, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
19
- { key: :lance, basic_once_vectors: nil, basic_repeat_vectors: :pattern_pawn, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
20
- { key: :pawn, basic_once_vectors: :pattern_pawn, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
13
+ { key: :king, basic_once_vectors: :pattern_king, basic_repeat_vectors: nil, promoted_once_vectors: nil, promoted_repeat_vectors: nil, },
14
+ { key: :rook, basic_once_vectors: nil, basic_repeat_vectors: :pattern_plus, promoted_once_vectors: :pattern_x, promoted_repeat_vectors: :pattern_plus, },
15
+ { key: :bishop, basic_once_vectors: nil, basic_repeat_vectors: :pattern_x, promoted_once_vectors: :pattern_plus, promoted_repeat_vectors: :pattern_x, },
16
+ { key: :gold, basic_once_vectors: :pattern_gold, basic_repeat_vectors: nil, promoted_once_vectors: nil, promoted_repeat_vectors: nil, },
17
+ { key: :silver, basic_once_vectors: :pattern_silver, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
18
+ { key: :knight, basic_once_vectors: :pattern_knight, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
19
+ { key: :lance, basic_once_vectors: nil, basic_repeat_vectors: :pattern_pawn, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
20
+ { key: :pawn, basic_once_vectors: :pattern_pawn, basic_repeat_vectors: nil, promoted_once_vectors: :pattern_gold, promoted_repeat_vectors: nil, },
21
+ ]
22
+
23
+ DELEGATE_METHODS = [
24
+ :brave?,
25
+ :all_vectors,
21
26
  ]
22
27
 
23
28
  def brave?
24
29
  attributes[:promoted_repeat_vectors]
25
30
  end
26
31
 
27
- def all_vectors(promoted:, location:)
32
+ # すべてはこれで足りるので他のメソッドを public にするべからず
33
+ def all_vectors(location:, promoted: false)
28
34
  @all_vectors ||= {}
29
35
  @all_vectors[[promoted, location.key]] ||= yield_self do
30
36
  vectors = select_vectors(promoted)
@@ -49,7 +55,7 @@ module Bioshogi
49
55
  end
50
56
 
51
57
  def normalized_vectors(location, vectors)
52
- vectors.collect { |e| e * location.value_sign }
58
+ vectors.collect { |e| e * location.sign_dir }
53
59
  end
54
60
 
55
61
  def basic_vectors