ImpUnit 0.2.1 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ImpUnit/version.rb +1 -1
- data/lib/ImpUnit.rb +9 -7
- 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: a20204a7f15dd5184c0d059d304b56385f49f7e05611fd8f8614261f81418638
|
4
|
+
data.tar.gz: d703d29db68f109cf6be3bea41af3564ca6c26d45e85618061a12f1d7787d4f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46f3f0e72307a6338c282587ea5c38c8b6a3973d08632eda5c83be78ab594c45929a8bc8b0514cd165e4ddfda827a7a6f854e5a2de2c1eaf312ae1c6ae178169
|
7
|
+
data.tar.gz: b26cd202cdd435740ae9cedc2e2d4e11d178ce9f6dde476eaff09613302c48d86be523f87ccdc41cba85c08e2ba9e2089e9581138f17f6aabdc658c62b4183f7
|
data/lib/ImpUnit/version.rb
CHANGED
data/lib/ImpUnit.rb
CHANGED
@@ -506,7 +506,7 @@ end"
|
|
506
506
|
end
|
507
507
|
|
508
508
|
def self.use_form
|
509
|
-
|
509
|
+
puts "Form status: Suitable..."
|
510
510
|
|
511
511
|
sleep(3)
|
512
512
|
|
@@ -537,26 +537,28 @@ end"
|
|
537
537
|
current_wingset = usr_wings[number]
|
538
538
|
current_botwings = bot_wings[bot_choice]
|
539
539
|
|
540
|
-
|
541
|
-
|
540
|
+
print "The user #{model_type} model has: #{current_wingset}"
|
541
|
+
print "The bot #{model_type} model has: #{current_botwings}"
|
542
542
|
|
543
543
|
if current_wingset == current_botwings
|
544
544
|
ImpUnit::BotWings.use_form
|
545
545
|
|
546
546
|
sleep(3)
|
547
|
-
|
548
|
-
about
|
549
547
|
# ImpUnit::BotWings.reset_evo
|
550
548
|
else
|
551
|
-
system("tts 'Form status: Changing form...', 'en'")
|
549
|
+
# system("tts 'Form status: Changing form...', 'en'")
|
550
|
+
|
551
|
+
puts "Form status: Changing form..."
|
552
552
|
|
553
553
|
sleep(3)
|
554
554
|
|
555
555
|
new_value = number + 1
|
556
556
|
|
557
|
-
open("data/
|
557
|
+
open("data/bot_wings/input.txt", "w") { |f|
|
558
558
|
f.puts new_value
|
559
559
|
}
|
560
|
+
|
561
|
+
ImpUnit::BotWings.reshape
|
560
562
|
end
|
561
563
|
|
562
564
|
ImpUnit::BotWings.reshape
|