codebreakergem 0.1.14 → 0.1.15

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: bccc4880e3d18e01161677ec4222aedf6bc930f7e337ce2c0ceda5f68e60b35c
4
- data.tar.gz: 2cff9492fd1aee2071a989a73f480bad9d11138071d35f265df4239bfac0d946
3
+ metadata.gz: ae8b8f97ebd4ef14b7786e7f53698d843eedb948d43c2e809239247a1b103274
4
+ data.tar.gz: 13786f33799c7ad15d64755db84f26634fb4caef88c318755907243570cc1017
5
5
  SHA512:
6
- metadata.gz: b397ac7f58a4139b0a6864bc2f9c7c528b1177b2c7ae347e21638503e9af1fa7e2d83e556d7725212960cc8dbdac30529896028848c5fcdb07856df638d93bdc
7
- data.tar.gz: 8dbdb2082f180d5ebb3e366da2f472d1e22f1f9c011e3140b4a6cdde2e5d8e4dc345ba815f1924fc6b7f493bd3e59023cbf6b428e8fa086e80707f6273844e49
6
+ metadata.gz: 43a495a0d703bc01ef254044d8654bf0a6429276f25bef2ae8f1a974bf278aea8ad79bbf5f328f45438fc0c46af1d5f79cd98fd5427111f5092061f20d0d1d63
7
+ data.tar.gz: 2f441a4471d45b4ea41673ceb4aa8aede3060eae159467ce86de1f700e56069c50a9e026e3ff1ab5b04f42845cc9cb3aadcf0541000bf2753a25bca511b279d4
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Codebreakergem
4
- VERSION = '0.1.14'
4
+ VERSION = '0.1.15'
5
5
  end
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: " ____________________________________________________________________________________________\n
22
- | |\n
23
- | Rules |\n
24
- |____________________________________________________________________________________________|\n
25
- | |\n
26
- | * Codebreaker is a logic game in which a code-breaker tries to break a secret code |\n
27
- | created by a code-maker. The codemaker, which will be played by the application we’re |\n
28
- | going to write, creates a secret code of four numbers between 1 and 6. |\n
29
- | |\n
30
- | * The codebreaker gets some number of chances to break the code (depends on chosen |\n
31
- | difficulty). In each turn, the codebreaker makes a guess of 4 numbers. The codemaker |\n
32
- | then marks the guess with up to 4 signs - '+' or '-' or empty spaces. |\n
33
- | |\n
34
- | * A + indicates an exact match: one of the numbers in the guess is the same as one of the |\n
35
- | numbers in the secret code and in the same position. For example: |\n
36
- | Secret number - 1234 |\n
37
- | Input number - 6264 |\n
38
- | Number of pluses - 2 (second and fourth position) |\n
39
- | |\n
40
- | * A - indicates a number match: one of the numbers in the guess is the same as one of the |\n
41
- | numbers in the secret code but in a different position. For example: |\n
42
- | Secret number - 1234 |\n
43
- | Input number - 6462 |\n
44
- | Number of minuses - 2 (second and fourth position) |\n
45
- | |\n
46
- | * An empty space indicates that there is not a current digit in a secret number. |\n
47
- | |\n
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.14
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-01-12 00:00:00.000000000 Z
11
+ date: 2020-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler