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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd60fc09319122a0390969975782cb0d7935ea5d639653e83f2be4baf127490d
4
- data.tar.gz: 154a9a877f291e6a2538422e1d1d04d0384e4093d9707029ce3341887b4421c0
3
+ metadata.gz: 739cefa7216b5554c05a969852f142017947976397137dc6805746280b2e09cc
4
+ data.tar.gz: 863beb28f03448ddf0870c35e924f3c9684c6d088c35fe431b96707f3357200a
5
5
  SHA512:
6
- metadata.gz: af591ac60324a430671c699cd201162656804eb350b23e3d27fffba934a10bd6c75167055432fd8846840ad2cd029e1bdc7433866aede14b4bda5f1a131d4193
7
- data.tar.gz: b8ba798f7bfac9ae2fd0ec17a596ef7bdf530b673dd40a17ea7289df1ac77c98db66ec54b0eb5759c789ea733d6ac945bda7b17f33c576f5fecfd48f59cd0586
6
+ metadata.gz: 3c7a3160062b3206da1f7139883d4f6297c5bcd8b39770c3930fae16b51afe488c3acfb4163bcc02f5384cb973e50fce59c4805cd7426511735e9610084c786e
7
+ data.tar.gz: 6fa2ccef8dc96bdff3796b03807a81f9309f75c0ab7bf0b10a777751c45c9d48346d1f835c067e1ecd60bacca766957355c7fe7a5718fe46bebbf2fb19494707
@@ -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 current wing model is: #{current_wingset}', 'en'")
46
- system("tts 'The current bot wing model is: #{current_botwings}', 'en'")
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
@@ -1,3 +1,3 @@
1
1
  module Botwings
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botwings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gitea