hangman-cli 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +1 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +62 -0
- data/bin/bundle +114 -0
- data/bin/byebug +29 -0
- data/bin/hangman +8 -0
- data/bin/htmldiff +29 -0
- data/bin/ldiff +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/bin/ruby-parse +29 -0
- data/bin/ruby-rewrite +29 -0
- data/lib/answer.rb +16 -0
- data/lib/dictionary.rb +23 -0
- data/lib/display.rb +90 -0
- data/lib/gallows.rb +97 -0
- data/lib/game.rb +132 -0
- data/lib/game_save.rb +28 -0
- data/lib/guess.rb +36 -0
- data/lib/guess_logic.rb +49 -0
- data/lib/hangman.rb +7 -0
- data/lib/player.rb +10 -0
- data/lib/player_name.rb +25 -0
- data/lib/word_to_guess.rb +10 -0
- data/spec/answer_spec.rb +42 -0
- data/spec/dictionary_spec.rb +31 -0
- data/spec/display_spec.rb +234 -0
- data/spec/gallows_spec.rb +119 -0
- data/spec/game_save_spec.rb +35 -0
- data/spec/game_spec.rb +107 -0
- data/spec/guess_logic_spec.rb +138 -0
- data/spec/guess_spec.rb +51 -0
- data/spec/player_name_spec.rb +62 -0
- data/spec/player_spec.rb +11 -0
- data/spec/spec_helper.rb +105 -0
- data/spec/word_to_guess_spec.rb +16 -0
- data/static/test_file.txt +9 -0
- data/static/words.txt +61406 -0
- metadata +82 -0
metadata
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: hangman-cli
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 2.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ben Daniels
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: CLI version of the classic hangman game
|
|
14
|
+
email:
|
|
15
|
+
- benbanj@hotmail.com
|
|
16
|
+
executables:
|
|
17
|
+
- hangman
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- ".rspec"
|
|
22
|
+
- Gemfile
|
|
23
|
+
- Gemfile.lock
|
|
24
|
+
- bin/bundle
|
|
25
|
+
- bin/byebug
|
|
26
|
+
- bin/hangman
|
|
27
|
+
- bin/htmldiff
|
|
28
|
+
- bin/ldiff
|
|
29
|
+
- bin/rspec
|
|
30
|
+
- bin/rubocop
|
|
31
|
+
- bin/ruby-parse
|
|
32
|
+
- bin/ruby-rewrite
|
|
33
|
+
- lib/answer.rb
|
|
34
|
+
- lib/dictionary.rb
|
|
35
|
+
- lib/display.rb
|
|
36
|
+
- lib/gallows.rb
|
|
37
|
+
- lib/game.rb
|
|
38
|
+
- lib/game_save.rb
|
|
39
|
+
- lib/guess.rb
|
|
40
|
+
- lib/guess_logic.rb
|
|
41
|
+
- lib/hangman.rb
|
|
42
|
+
- lib/player.rb
|
|
43
|
+
- lib/player_name.rb
|
|
44
|
+
- lib/word_to_guess.rb
|
|
45
|
+
- spec/answer_spec.rb
|
|
46
|
+
- spec/dictionary_spec.rb
|
|
47
|
+
- spec/display_spec.rb
|
|
48
|
+
- spec/gallows_spec.rb
|
|
49
|
+
- spec/game_save_spec.rb
|
|
50
|
+
- spec/game_spec.rb
|
|
51
|
+
- spec/guess_logic_spec.rb
|
|
52
|
+
- spec/guess_spec.rb
|
|
53
|
+
- spec/player_name_spec.rb
|
|
54
|
+
- spec/player_spec.rb
|
|
55
|
+
- spec/spec_helper.rb
|
|
56
|
+
- spec/word_to_guess_spec.rb
|
|
57
|
+
- static/test_file.txt
|
|
58
|
+
- static/words.txt
|
|
59
|
+
homepage: https://github.com/bendee48/hangman-2.0
|
|
60
|
+
licenses:
|
|
61
|
+
- OML
|
|
62
|
+
metadata: {}
|
|
63
|
+
post_install_message:
|
|
64
|
+
rdoc_options: []
|
|
65
|
+
require_paths:
|
|
66
|
+
- lib
|
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
|
+
requirements:
|
|
69
|
+
- - ">="
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: 2.6.0
|
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '0'
|
|
77
|
+
requirements: []
|
|
78
|
+
rubygems_version: 3.1.4
|
|
79
|
+
signing_key:
|
|
80
|
+
specification_version: 4
|
|
81
|
+
summary: The game hangman
|
|
82
|
+
test_files: []
|