bioshogi 0.0.4 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.org +1 -1
- data/bin/bioshogi +1 -1
- data/lib/bioshogi/cli.rb +2 -5
- data/lib/bioshogi/explain/distribution_ratio.rb +1239 -1193
- data/lib/bioshogi/explain/shape_info.rb +3 -3
- data/lib/bioshogi/input_parser.rb +9 -0
- data/lib/bioshogi/piece.rb +9 -1
- data/lib/bioshogi/version.rb +1 -1
- data/lib/bioshogi.rb +1 -2
- metadata +2 -5
- data/lib/bioshogi/cli/.gitignore +0 -1
- data/lib/bioshogi/cli/input_checker.rb +0 -21
- data/lib/bioshogi/cli/piece.rb +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9661e5b3f4d6149182df60ac752e177371b15a6f7361d4236dec55f9cca56f9c
|
4
|
+
data.tar.gz: 693962ce586e3d3beec7b101fdf86338ce20ddc94a6da1a8a21bb3aaf81532a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d3c5ce4270b1adf385231fe15b7daa106d52db76836eba9f775ecddb319117c87f7c85a7f4f5dd3236b53d0341ed8d58939d4af093792b79f03e2926510ec79
|
7
|
+
data.tar.gz: 625c7b5b3c8ec149b87eb30f55415bc89767993ec418ec120a0e9f668f8e73fa62de03515c9fecc6b2467567613bddee54319f23b4ce1d0efae2e23b1754872f
|
data/Gemfile.lock
CHANGED
data/README.org
CHANGED
@@ -688,7 +688,7 @@ Web Page:(Web Page)
|
|
688
688
|
Commands:
|
689
689
|
bioshogi convert # 棋譜フォーマット変換
|
690
690
|
bioshogi help [COMMAND] # Describe available commands or one specific command
|
691
|
-
bioshogi
|
691
|
+
bioshogi input_match # 入力
|
692
692
|
bioshogi piece # 駒一覧
|
693
693
|
bioshogi versus # CPU同士の対戦
|
694
694
|
|
data/bin/bioshogi
CHANGED
data/lib/bioshogi/cli.rb
CHANGED
@@ -5,14 +5,11 @@ require "thor"
|
|
5
5
|
|
6
6
|
module Bioshogi
|
7
7
|
class CLI < Thor
|
8
|
-
class_option :debug, type: :boolean
|
9
|
-
class_option :quiet, type: :boolean
|
10
|
-
|
11
8
|
include Converter::CLI
|
12
9
|
include AI::Versus::CLI
|
10
|
+
include InputParser::CLI
|
11
|
+
include Piece::CLI
|
13
12
|
end
|
14
|
-
|
15
|
-
Pathname(__dir__).glob("cli/*.rb").each { |e| require e }
|
16
13
|
end
|
17
14
|
|
18
15
|
if $0 == __FILE__
|