codebreakergem 0.1.14 → 0.1.15
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 +4 -4
- data/lib/codebreakergem/version.rb +1 -1
- data/lib/locales/en.yml +27 -33
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae8b8f97ebd4ef14b7786e7f53698d843eedb948d43c2e809239247a1b103274
|
|
4
|
+
data.tar.gz: 13786f33799c7ad15d64755db84f26634fb4caef88c318755907243570cc1017
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43a495a0d703bc01ef254044d8654bf0a6429276f25bef2ae8f1a974bf278aea8ad79bbf5f328f45438fc0c46af1d5f79cd98fd5427111f5092061f20d0d1d63
|
|
7
|
+
data.tar.gz: 2f441a4471d45b4ea41673ceb4aa8aede3060eae159467ce86de1f700e56069c50a9e026e3ff1ab5b04f42845cc9cb3aadcf0541000bf2753a25bca511b279d4
|
data/lib/locales/en.yml
CHANGED
|
@@ -18,36 +18,30 @@ en:
|
|
|
18
18
|
- Hell\n"
|
|
19
19
|
invalid_command: 'You have passed unexpected command. Please choose one from listed commands'
|
|
20
20
|
out_of_attempts: 'Unfortunately you have no more attempts'
|
|
21
|
-
rules: "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
| * If codebreaker inputs the exact number as a secret number - codebreaker wins the |\n
|
|
49
|
-
| game. If all attempts are spent - codebreaker loses. |\n
|
|
50
|
-
| |\n
|
|
51
|
-
| * Codebreaker also has some number of hints(depends on chosen difficulty). If a user |\n
|
|
52
|
-
| takes a hint - he receives back a separate digit of the secret code. |\n
|
|
53
|
-
|____________________________________________________________________________________________|"
|
|
21
|
+
rules: " * Codebreaker is a logic game in which a code-breaker tries to break a secret code \n
|
|
22
|
+
created by a code-maker. The codemaker, which will be played by the application we’re \n
|
|
23
|
+
going to write, creates a secret code of four numbers between 1 and 6. \n
|
|
24
|
+
\n
|
|
25
|
+
* The codebreaker gets some number of chances to break the code (depends on chosen \n
|
|
26
|
+
difficulty). In each turn, the codebreaker makes a guess of 4 numbers. The codemaker \n
|
|
27
|
+
then marks the guess with up to 4 signs - '+' or '-' or empty spaces. \n
|
|
28
|
+
\n
|
|
29
|
+
* A + indicates an exact match: one of the numbers in the guess is the same as one of the \n
|
|
30
|
+
numbers in the secret code and in the same position. For example: \n
|
|
31
|
+
Secret number - 1234 \n
|
|
32
|
+
Input number - 6264 \n
|
|
33
|
+
Number of pluses - 2 (second and fourth position) \n
|
|
34
|
+
\n
|
|
35
|
+
* A - indicates a number match: one of the numbers in the guess is the same as one of the \n
|
|
36
|
+
numbers in the secret code but in a different position. For example: \n
|
|
37
|
+
Secret number - 1234 \n
|
|
38
|
+
Input number - 6462 \n
|
|
39
|
+
Number of minuses - 2 (second and fourth position) \n
|
|
40
|
+
\n
|
|
41
|
+
* An empty space indicates that there is not a current digit in a secret number. \n
|
|
42
|
+
\n
|
|
43
|
+
* If codebreaker inputs the exact number as a secret number - codebreaker wins the \n
|
|
44
|
+
game. If all attempts are spent - codebreaker loses. \n
|
|
45
|
+
\n
|
|
46
|
+
* Codebreaker also has some number of hints(depends on chosen difficulty). If a user \n
|
|
47
|
+
takes a hint - he receives back a separate digit of the secret code. \n"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: codebreakergem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sasha
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|