botwings 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/botwings.rb +4 -2
- data/lib/botwings/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 739cefa7216b5554c05a969852f142017947976397137dc6805746280b2e09cc
|
4
|
+
data.tar.gz: 863beb28f03448ddf0870c35e924f3c9684c6d088c35fe431b96707f3357200a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c7a3160062b3206da1f7139883d4f6297c5bcd8b39770c3930fae16b51afe488c3acfb4163bcc02f5384cb973e50fce59c4805cd7426511735e9610084c786e
|
7
|
+
data.tar.gz: 6fa2ccef8dc96bdff3796b03807a81f9309f75c0ab7bf0b10a777751c45c9d48346d1f835c067e1ecd60bacca766957355c7fe7a5718fe46bebbf2fb19494707
|
data/lib/botwings.rb
CHANGED
@@ -33,6 +33,8 @@ module Botwings
|
|
33
33
|
def self.reshape
|
34
34
|
system("clear")
|
35
35
|
|
36
|
+
model_type = File.read("data/model_model_type.txt").strip
|
37
|
+
|
36
38
|
bot_choice = File.read("data/bot_input/input.txt").strip.to_i
|
37
39
|
number = File.read("data/number/input.txt").strip.to_i
|
38
40
|
|
@@ -42,8 +44,8 @@ module Botwings
|
|
42
44
|
current_wingset = usr_wings[number]
|
43
45
|
current_botwings = bot_wings[bot_choice]
|
44
46
|
|
45
|
-
system("tts 'The
|
46
|
-
system("tts 'The
|
47
|
+
system("tts 'The user #{model_type} model is: #{current_wingset}', 'en'")
|
48
|
+
system("tts 'The bot #{model_type} model is: #{current_botwings}', 'en'")
|
47
49
|
|
48
50
|
if current_wingset == current_botwings
|
49
51
|
use_form
|
data/lib/botwings/version.rb
CHANGED