ImpUnit 0.2.8 → 0.3.2
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 +5 -3
- 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: 9a8c68f75fe135d9c3dd69bea906b491c6597b3be8c4213c9eeb39dc17e3fdbf
|
4
|
+
data.tar.gz: 23cdc8d14bfcb63404796319fa486efc30fd918a198f1e2077ffdd2b8e05f5b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c482de7dc2ea438381cd3f02d4528c4b83a361e95480aec76d7c4e117113ea151719e58e244fd0190593b175d86c64d28c3d82bf71f1473cba3b41962428bdcd
|
7
|
+
data.tar.gz: f5661663d0ed69921cddf62d11b1d53043186efabc8c326f9b71a7e9911aaa5f71f16706d22d2a89eba605bb7e470c90a440deab88fcbf247f38de0df2eea6ec
|
data/lib/ImpUnit/version.rb
CHANGED
data/lib/ImpUnit.rb
CHANGED
@@ -543,18 +543,20 @@ end"
|
|
543
543
|
if current_wingset == current_botwings
|
544
544
|
ImpUnit::BotWings.use_form
|
545
545
|
else
|
546
|
-
if
|
547
|
-
|
546
|
+
if bot_choice > 2
|
547
|
+
ImpUnit::BotWings.reset_evo
|
548
548
|
end
|
549
549
|
|
550
550
|
puts "Form status: Changing form..."
|
551
551
|
|
552
|
-
new_value =
|
552
|
+
new_value = bot_choice + 1
|
553
553
|
|
554
554
|
open("data/bot_input/input.txt", "w") { |f|
|
555
555
|
f.puts new_value
|
556
556
|
}
|
557
557
|
|
558
|
+
sleep(0.5)
|
559
|
+
|
558
560
|
ImpUnit::BotWings.reshape
|
559
561
|
end
|
560
562
|
|