cbreaker 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fe8fd091a8293c6d61e70d43958105df3277f4a3b18a4d828de9b7e30809b238
4
+ data.tar.gz: 630e4c92eac147de6e4643e21938642cba06c17982b146d941b49ac122de61c4
5
+ SHA512:
6
+ metadata.gz: 5ca846ecf8601aa3e366c36e2ac97bced533d9ab824274204aa6aade7ab5d4db64e0b4e8bcc2ccf95f5504047a1bd830ca861893826fb44d23a36528009cb32f
7
+ data.tar.gz: 96b4de5e52ef9d83a3195646dd40d75a11415a33505848b75fb5a8670da77d25c1417b09467dbdf1aa7e5c7cfffe4f29cc6d5c15b81a9e7ca062234e1ec50323
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ .lock
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,5 @@
1
+ Style/FrozenStringLiteralComment:
2
+ Enabled: false
3
+
4
+ Style/Documentation:
5
+ Enabled: false
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 1.17.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in cbreaker.gemspec
6
+ gem 'fasterer'
7
+ gem 'terminal-table'
8
+ gemspec
@@ -0,0 +1,47 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cbreaker (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ colorize (0.8.1)
10
+ diff-lcs (1.4.4)
11
+ fasterer (0.8.3)
12
+ colorize (~> 0.7)
13
+ ruby_parser (>= 3.14.1)
14
+ rake (10.5.0)
15
+ rspec (3.9.0)
16
+ rspec-core (~> 3.9.0)
17
+ rspec-expectations (~> 3.9.0)
18
+ rspec-mocks (~> 3.9.0)
19
+ rspec-core (3.9.2)
20
+ rspec-support (~> 3.9.3)
21
+ rspec-expectations (3.9.2)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.9.0)
24
+ rspec-mocks (3.9.1)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.9.0)
27
+ rspec-support (3.9.3)
28
+ ruby_parser (3.14.2)
29
+ sexp_processor (~> 4.9)
30
+ sexp_processor (4.15.0)
31
+ terminal-table (1.8.0)
32
+ unicode-display_width (~> 1.1, >= 1.1.1)
33
+ unicode-display_width (1.7.0)
34
+
35
+ PLATFORMS
36
+ ruby
37
+
38
+ DEPENDENCIES
39
+ bundler (~> 1.17)
40
+ cbreaker!
41
+ fasterer
42
+ rake (~> 10.0)
43
+ rspec (~> 3.0)
44
+ terminal-table
45
+
46
+ BUNDLED WITH
47
+ 1.17.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ # Cbreaker
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/cbreaker`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'cbreaker'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install cbreaker
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cbreaker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Cbreaker project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/cbreaker/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'cbreaker'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,39 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'cbreaker/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'cbreaker'
7
+ spec.version = Cbreaker::VERSION
8
+ spec.authors = ['Anastasiia04']
9
+ spec.email = ['anastasiamoskalenko04@gmail.com']
10
+
11
+ spec.summary = 'This gem is designed for help to create a guessing game.'
12
+ spec.homepage = 'https://rubygems.org/gems/cbreaker'
13
+ spec.license = 'MIT'
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ #if spec.respond_to?(:metadata)
18
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
19
+
20
+ #spec.metadata['homepage_uri'] = spec.homepage
21
+ #spec.metadata['source_code_uri'] = 'https://rubygems.org/gems/cbreaker'
22
+ #else
23
+ # raise 'RubyGems 2.0 or newer is required to protect against ' \
24
+ # 'public gem pushes.'
25
+ #end
26
+
27
+ # Specify which files should be added to the gem when it is released.
28
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
29
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
30
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
31
+ end
32
+ spec.bindir = 'exe'
33
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
34
+ spec.require_paths = ['lib']
35
+
36
+ spec.add_development_dependency 'bundler', '~> 1.17'
37
+ spec.add_development_dependency 'rake', '~> 10.0'
38
+ spec.add_development_dependency 'rspec', '~> 3.0'
39
+ end
@@ -0,0 +1,6 @@
1
+ require 'cbreaker/version'
2
+
3
+ module Cbreaker
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,108 @@
1
+ require 'terminal-table'
2
+ require_relative 'validate.rb'
3
+
4
+ class Game
5
+ PATH = 'statistics.yml'.freeze
6
+ include Validate
7
+ attr_accessor :user_name, :difficulty, :attempts, :hints, :total_attempts, :total_hints, :win,
8
+ :secret_hash, :symbol_guess_position, :symbol_guess_number, :count_minus, :count_plus
9
+
10
+ def initialize
11
+ @attempts = 0
12
+ @hints = 0
13
+ @difficulty = ''
14
+ @count_minus = 0
15
+ @count_plus = 0
16
+ @symbol_guess_position = '+'
17
+ @symbol_guess_number = '-'
18
+ end
19
+
20
+ def enter_user_name(string)
21
+ validate_name(string)
22
+ @user_name = string
23
+ end
24
+
25
+ DIFFICULTY = {
26
+ "easy": [15, 2, '1 easy'],
27
+ "medium": [10, 1, '2 medium'],
28
+ "hell": [5, 1, '3 hell']
29
+ }.freeze
30
+
31
+ def choose_difficulty(choose_difficult_string)
32
+ @difficulty = DIFFICULTY[choose_difficult_string.to_sym]
33
+ @attempts = @difficulty[0]
34
+ @hints = @difficulty[1]
35
+ @difficulty = @difficulty[2]
36
+ @total_attempts = @attempts
37
+ @total_hints = @hint
38
+ end
39
+
40
+ def add_rating
41
+ rating = 1
42
+ new_sort_arr = []
43
+ sort_data.each do |data|
44
+ new_sort_arr << { rating: rating }.merge!(data)
45
+ rating += 1
46
+ end
47
+ new_sort_arr
48
+ end
49
+
50
+ def stats
51
+ rows = []
52
+ add_rating.each { |d| rows << d.map { |_k, v| v } }
53
+ to_table(rows)
54
+ end
55
+
56
+ def sort_data
57
+ data = Psych.load_stream(File.read(PATH))
58
+ data.sort_by { |h| [h[:difficult], h[:attempts], h[:hints]] }.reverse
59
+ end
60
+
61
+ def to_table(rows)
62
+ Terminal::Table.new headings:
63
+ ['Rating', 'Name', 'Difficulty', 'Attempts Total', 'Attempts Used', 'Hints Total', 'Hints Used'], rows: rows
64
+ end
65
+
66
+ def start
67
+ @secret_hash = Hash[(0...4).zip Array.new(4) { rand(1...6) }]
68
+ end
69
+
70
+ def show_hint
71
+ return false if @hints.zero?
72
+
73
+ @hints -= 1
74
+ secret_arr_value = @secret_hash.values
75
+ secret_arr_value.delete_at(rand(secret_arr_value.length))
76
+ end
77
+
78
+ def check_attempt(user_string)
79
+ @user_hash = Hash[(0...4).zip user_string.split('').map(&:to_i)]
80
+ array_of_guess_position = []
81
+ @attempts -= 1
82
+ compare_hashes
83
+ @count_plus.times { array_of_guess_position << @symbol_guess_position }
84
+ @count_minus.times { array_of_guess_position << @symbol_guess_number }
85
+ array_of_guess_position
86
+ end
87
+
88
+ def compare_hashes
89
+ @secret_hash.merge(@user_hash) { |k, o, n| @secret_hash.reject! { |key| key == k } && @count_plus += 1 if o == n }
90
+ @secret_hash.select { |_, value| @user_hash.value? value }.size.times { @count_minus += 1 }
91
+ end
92
+
93
+ def save?(string)
94
+ hash = { name: @user_name, difficult: @difficulty,
95
+ total_attempts: @total_attempts, attempts: @attempts,
96
+ total_hints: @total_hints, hints: @hints }
97
+ File.open(PATH, 'a') { |file| file.write(hash.to_yaml) } if string == 'yes'
98
+ end
99
+
100
+ def play_again?(string)
101
+ @attempts = @total_attempts
102
+ @hints = @total_hints
103
+ @count_minus = 0
104
+ @count_plus = 0
105
+ return true if string == 'yes'
106
+ return false if string == 'no'
107
+ end
108
+ end
@@ -0,0 +1,12 @@
1
+ module Validate
2
+ def validate_name(user_string)
3
+ user_string.size >= 3 && user_string.size <= 20 ? true : false
4
+ end
5
+
6
+ def validate_attempt(user_string)
7
+ return false unless user_string.to_i.positive? || user_string.size < 4 || user_string.size > 4
8
+
9
+ arr_of_num = user_string.to_i.digits.map { |num| num if (1..6).to_a.include? num }.compact
10
+ arr_of_num.size >= 4 ? (return true) : (return false)
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ module Cbreaker
2
+ VERSION = '0.1.1'.freeze
3
+ end
@@ -0,0 +1,112 @@
1
+ ---
2
+ :name: nnbb
3
+ :difficult: 1 easy
4
+ :total_attempts: 15
5
+ :attempts: 15
6
+ :total_hints:
7
+ :hints: 2
8
+ ---
9
+ :name: nnbb
10
+ :difficult: 3 hell
11
+ :total_attempts: 5
12
+ :attempts: 5
13
+ :total_hints:
14
+ :hints: 1
15
+ ---
16
+ :name: nnbb
17
+ :difficult: 1 easy
18
+ :total_attempts: 15
19
+ :attempts: 15
20
+ :total_hints:
21
+ :hints: 2
22
+ ---
23
+ :name: nnbb
24
+ :difficult: 3 hell
25
+ :total_attempts: 5
26
+ :attempts: 5
27
+ :total_hints:
28
+ :hints: 1
29
+ ---
30
+ :name: nnbb
31
+ :difficult: 1 easy
32
+ :total_attempts: 15
33
+ :attempts: 15
34
+ :total_hints:
35
+ :hints: 2
36
+ ---
37
+ :name: nnbb
38
+ :difficult: 3 hell
39
+ :total_attempts: 5
40
+ :attempts: 5
41
+ :total_hints:
42
+ :hints: 1
43
+ ---
44
+ :name: nnbb
45
+ :difficult: 1 easy
46
+ :total_attempts: 15
47
+ :attempts: 15
48
+ :total_hints:
49
+ :hints: 2
50
+ ---
51
+ :name: nnbb
52
+ :difficult: 3 hell
53
+ :total_attempts: 5
54
+ :attempts: 5
55
+ :total_hints:
56
+ :hints: 1
57
+ ---
58
+ :name: nnbb
59
+ :difficult: 1 easy
60
+ :total_attempts: 15
61
+ :attempts: 15
62
+ :total_hints:
63
+ :hints: 2
64
+ ---
65
+ :name: nnbb
66
+ :difficult: 3 hell
67
+ :total_attempts: 5
68
+ :attempts: 5
69
+ :total_hints:
70
+ :hints: 1
71
+ ---
72
+ :name: nnbb
73
+ :difficult: 1 easy
74
+ :total_attempts: 15
75
+ :attempts: 15
76
+ :total_hints:
77
+ :hints: 2
78
+ ---
79
+ :name: nnbb
80
+ :difficult: 3 hell
81
+ :total_attempts: 5
82
+ :attempts: 5
83
+ :total_hints:
84
+ :hints: 1
85
+ ---
86
+ :name: nnbb
87
+ :difficult: 1 easy
88
+ :total_attempts: 15
89
+ :attempts: 15
90
+ :total_hints:
91
+ :hints: 2
92
+ ---
93
+ :name: nnbb
94
+ :difficult: 3 hell
95
+ :total_attempts: 5
96
+ :attempts: 5
97
+ :total_hints:
98
+ :hints: 1
99
+ ---
100
+ :name: nnbb
101
+ :difficult: 1 easy
102
+ :total_attempts: 15
103
+ :attempts: 15
104
+ :total_hints:
105
+ :hints: 2
106
+ ---
107
+ :name: nnbb
108
+ :difficult: 3 hell
109
+ :total_attempts: 5
110
+ :attempts: 5
111
+ :total_hints:
112
+ :hints: 1
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cbreaker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Anastasiia04
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-07-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.17'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description:
56
+ email:
57
+ - anastasiamoskalenko04@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".rubocop.yml"
65
+ - ".travis.yml"
66
+ - CODE_OF_CONDUCT.md
67
+ - Gemfile
68
+ - Gemfile.lock
69
+ - LICENSE.txt
70
+ - README.md
71
+ - Rakefile
72
+ - bin/console
73
+ - bin/setup
74
+ - cbreaker.gemspec
75
+ - lib/cbreaker.rb
76
+ - lib/cbreaker/game.rb
77
+ - lib/cbreaker/validate.rb
78
+ - lib/cbreaker/version.rb
79
+ - statistics.yml
80
+ homepage: https://rubygems.org/gems/cbreaker
81
+ licenses:
82
+ - MIT
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubygems_version: 3.0.3
100
+ signing_key:
101
+ specification_version: 4
102
+ summary: This gem is designed for help to create a guessing game.
103
+ test_files: []