trackler 2.2.1.177 → 2.2.1.178
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/go/config/exercise_readme.go.tmpl +3 -3
- data/tracks/go/docs/TESTS.md +1 -1
- data/tracks/go/exercises/accumulate/README.md +3 -3
- data/tracks/go/exercises/acronym/README.md +3 -3
- data/tracks/go/exercises/all-your-base/README.md +3 -3
- data/tracks/go/exercises/allergies/README.md +3 -3
- data/tracks/go/exercises/alphametics/README.md +3 -3
- data/tracks/go/exercises/anagram/README.md +3 -3
- data/tracks/go/exercises/armstrong-numbers/README.md +4 -4
- data/tracks/go/exercises/atbash-cipher/README.md +3 -3
- data/tracks/go/exercises/bank-account/README.md +3 -3
- data/tracks/go/exercises/beer-song/README.md +3 -3
- data/tracks/go/exercises/binary-search-tree/README.md +3 -3
- data/tracks/go/exercises/binary-search/README.md +3 -3
- data/tracks/go/exercises/binary/README.md +3 -3
- data/tracks/go/exercises/bob/README.md +3 -3
- data/tracks/go/exercises/book-store/README.md +3 -3
- data/tracks/go/exercises/bowling/README.md +3 -3
- data/tracks/go/exercises/bracket-push/README.md +3 -3
- data/tracks/go/exercises/change/README.md +3 -3
- data/tracks/go/exercises/circular-buffer/README.md +3 -3
- data/tracks/go/exercises/clock/README.md +3 -3
- data/tracks/go/exercises/collatz-conjecture/README.md +3 -3
- data/tracks/go/exercises/connect/README.md +3 -3
- data/tracks/go/exercises/counter/README.md +3 -3
- data/tracks/go/exercises/crypto-square/README.md +30 -27
- data/tracks/go/exercises/custom-set/README.md +3 -3
- data/tracks/go/exercises/diamond/README.md +3 -3
- data/tracks/go/exercises/difference-of-squares/README.md +3 -3
- data/tracks/go/exercises/diffie-hellman/README.md +3 -3
- data/tracks/go/exercises/dominoes/README.md +3 -3
- data/tracks/go/exercises/error-handling/README.md +3 -3
- data/tracks/go/exercises/etl/README.md +3 -3
- data/tracks/go/exercises/flatten-array/README.md +3 -3
- data/tracks/go/exercises/food-chain/README.md +3 -3
- data/tracks/go/exercises/forth/README.md +3 -3
- data/tracks/go/exercises/gigasecond/README.md +3 -3
- data/tracks/go/exercises/grade-school/README.md +3 -3
- data/tracks/go/exercises/grains/README.md +3 -3
- data/tracks/go/exercises/grep/README.md +3 -3
- data/tracks/go/exercises/hamming/README.md +7 -6
- data/tracks/go/exercises/hello-world/README.md +3 -3
- data/tracks/go/exercises/hello-world/hello_test.go +1 -1
- data/tracks/go/exercises/hexadecimal/README.md +3 -3
- data/tracks/go/exercises/house/README.md +3 -3
- data/tracks/go/exercises/isbn-verifier/README.md +3 -3
- data/tracks/go/exercises/isogram/README.md +3 -3
- data/tracks/go/exercises/kindergarten-garden/README.md +3 -3
- data/tracks/go/exercises/largest-series-product/README.md +3 -3
- data/tracks/go/exercises/leap/README.md +3 -3
- data/tracks/go/exercises/ledger/README.md +3 -3
- data/tracks/go/exercises/linked-list/README.md +20 -27
- data/tracks/go/exercises/luhn/README.md +3 -3
- data/tracks/go/exercises/markdown/README.md +3 -3
- data/tracks/go/exercises/matrix/README.md +3 -3
- data/tracks/go/exercises/meetup/README.md +3 -3
- data/tracks/go/exercises/minesweeper/README.md +3 -3
- data/tracks/go/exercises/nth-prime/README.md +3 -3
- data/tracks/go/exercises/nucleotide-count/README.md +3 -3
- data/tracks/go/exercises/ocr-numbers/README.md +3 -3
- data/tracks/go/exercises/octal/README.md +3 -3
- data/tracks/go/exercises/paasio/README.md +3 -3
- data/tracks/go/exercises/palindrome-products/README.md +3 -3
- data/tracks/go/exercises/pangram/README.md +3 -3
- data/tracks/go/exercises/parallel-letter-frequency/README.md +3 -3
- data/tracks/go/exercises/pascals-triangle/README.md +3 -3
- data/tracks/go/exercises/perfect-numbers/README.md +3 -3
- data/tracks/go/exercises/phone-number/README.md +3 -3
- data/tracks/go/exercises/pig-latin/README.md +3 -3
- data/tracks/go/exercises/poker/README.md +3 -3
- data/tracks/go/exercises/pov/README.md +3 -3
- data/tracks/go/exercises/prime-factors/README.md +3 -3
- data/tracks/go/exercises/protein-translation/README.md +3 -3
- data/tracks/go/exercises/proverb/README.md +3 -3
- data/tracks/go/exercises/pythagorean-triplet/README.md +3 -3
- data/tracks/go/exercises/queen-attack/README.md +3 -3
- data/tracks/go/exercises/rail-fence-cipher/README.md +3 -3
- data/tracks/go/exercises/raindrops/README.md +3 -3
- data/tracks/go/exercises/react/README.md +3 -3
- data/tracks/go/exercises/rectangles/README.md +3 -3
- data/tracks/go/exercises/reverse-string/README.md +3 -3
- data/tracks/go/exercises/rna-transcription/README.md +3 -3
- data/tracks/go/exercises/robot-name/README.md +3 -3
- data/tracks/go/exercises/robot-simulator/README.md +3 -3
- data/tracks/go/exercises/roman-numerals/README.md +3 -3
- data/tracks/go/exercises/rotational-cipher/README.md +3 -3
- data/tracks/go/exercises/run-length-encoding/README.md +3 -3
- data/tracks/go/exercises/saddle-points/README.md +3 -3
- data/tracks/go/exercises/say/README.md +4 -4
- data/tracks/go/exercises/scale-generator/README.md +12 -19
- data/tracks/go/exercises/scrabble-score/README.md +3 -3
- data/tracks/go/exercises/secret-handshake/README.md +3 -3
- data/tracks/go/exercises/series/README.md +9 -9
- data/tracks/go/exercises/sieve/README.md +8 -6
- data/tracks/go/exercises/simple-cipher/README.md +3 -3
- data/tracks/go/exercises/simple-linked-list/README.md +3 -3
- data/tracks/go/exercises/space-age/README.md +3 -3
- data/tracks/go/exercises/spiral-matrix/README.md +3 -3
- data/tracks/go/exercises/strain/README.md +3 -3
- data/tracks/go/exercises/sublist/README.md +3 -3
- data/tracks/go/exercises/sum-of-multiples/README.md +3 -3
- data/tracks/go/exercises/tournament/README.md +3 -3
- data/tracks/go/exercises/transpose/README.md +3 -3
- data/tracks/go/exercises/tree-building/README.md +3 -3
- data/tracks/go/exercises/triangle/README.md +3 -3
- data/tracks/go/exercises/triangle/triangle.go +2 -2
- data/tracks/go/exercises/trinary/README.md +3 -3
- data/tracks/go/exercises/twelve-days/README.md +3 -3
- data/tracks/go/exercises/two-bucket/README.md +3 -3
- data/tracks/go/exercises/two-fer/README.md +3 -3
- data/tracks/go/exercises/variable-length-quantity/README.md +3 -3
- data/tracks/go/exercises/word-count/README.md +3 -3
- data/tracks/go/exercises/word-search/README.md +3 -3
- data/tracks/go/exercises/wordy/README.md +3 -3
- data/tracks/go/exercises/yacht/README.md +9 -10
- data/tracks/go/exercises/zebra-puzzle/README.md +3 -3
- metadata +2 -2
@@ -32,10 +32,10 @@ On the twelfth day of Christmas my true love gave to me, twelve Drummers Drummin
|
|
32
32
|
|
33
33
|
To run the tests run the command `go test` from within the exercise directory.
|
34
34
|
|
35
|
-
If the test suite contains benchmarks, you can run these with the
|
36
|
-
|
35
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
36
|
+
flags:
|
37
37
|
|
38
|
-
go test -bench .
|
38
|
+
go test -v --bench . --benchmem
|
39
39
|
|
40
40
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
41
41
|
different specs, so the results from these benchmark tests may vary.
|
@@ -71,10 +71,10 @@ which occurs when the two bucket sizes are not relatively prime to one another.
|
|
71
71
|
|
72
72
|
To run the tests run the command `go test` from within the exercise directory.
|
73
73
|
|
74
|
-
If the test suite contains benchmarks, you can run these with the
|
75
|
-
|
74
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
75
|
+
flags:
|
76
76
|
|
77
|
-
go test -bench .
|
77
|
+
go test -v --bench . --benchmem
|
78
78
|
|
79
79
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
80
80
|
different specs, so the results from these benchmark tests may vary.
|
@@ -16,10 +16,10 @@ If no name is given, the result should be "One for you, one for me."
|
|
16
16
|
|
17
17
|
To run the tests run the command `go test` from within the exercise directory.
|
18
18
|
|
19
|
-
If the test suite contains benchmarks, you can run these with the
|
20
|
-
|
19
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
20
|
+
flags:
|
21
21
|
|
22
|
-
go test -bench .
|
22
|
+
go test -v --bench . --benchmem
|
23
23
|
|
24
24
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
25
25
|
different specs, so the results from these benchmark tests may vary.
|
@@ -35,10 +35,10 @@ Here are examples of integers as 32-bit values, and the variable length quantiti
|
|
35
35
|
|
36
36
|
To run the tests run the command `go test` from within the exercise directory.
|
37
37
|
|
38
|
-
If the test suite contains benchmarks, you can run these with the
|
39
|
-
|
38
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
39
|
+
flags:
|
40
40
|
|
41
|
-
go test -bench .
|
41
|
+
go test -v --bench . --benchmem
|
42
42
|
|
43
43
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
44
44
|
different specs, so the results from these benchmark tests may vary.
|
@@ -15,10 +15,10 @@ free: 1
|
|
15
15
|
|
16
16
|
To run the tests run the command `go test` from within the exercise directory.
|
17
17
|
|
18
|
-
If the test suite contains benchmarks, you can run these with the
|
19
|
-
|
18
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
19
|
+
flags:
|
20
20
|
|
21
|
-
go test -bench .
|
21
|
+
go test -v --bench . --benchmem
|
22
22
|
|
23
23
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
24
24
|
different specs, so the results from these benchmark tests may vary.
|
@@ -30,10 +30,10 @@ letter of each word.
|
|
30
30
|
|
31
31
|
To run the tests run the command `go test` from within the exercise directory.
|
32
32
|
|
33
|
-
If the test suite contains benchmarks, you can run these with the
|
34
|
-
|
33
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
34
|
+
flags:
|
35
35
|
|
36
|
-
go test -bench .
|
36
|
+
go test -v --bench . --benchmem
|
37
37
|
|
38
38
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
39
39
|
different specs, so the results from these benchmark tests may vary.
|
@@ -55,10 +55,10 @@ If you'd like, handle exponentials.
|
|
55
55
|
|
56
56
|
To run the tests run the command `go test` from within the exercise directory.
|
57
57
|
|
58
|
-
If the test suite contains benchmarks, you can run these with the
|
59
|
-
|
58
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
59
|
+
flags:
|
60
60
|
|
61
|
-
go test -bench .
|
61
|
+
go test -v --bench . --benchmem
|
62
62
|
|
63
63
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
64
64
|
different specs, so the results from these benchmark tests may vary.
|
@@ -1,4 +1,7 @@
|
|
1
1
|
# Yacht
|
2
|
+
|
3
|
+
# Score a single throw of dice in *Yacht*
|
4
|
+
|
2
5
|
The dice game [Yacht](https://en.wikipedia.org/wiki/Yacht_(dice_game)) is from
|
3
6
|
the same family as Poker Dice, Generala and particularly Yahtzee, of which it
|
4
7
|
is a precursor. In the game, five dice are rolled and the result can be entered
|
@@ -7,7 +10,7 @@ category chosen.
|
|
7
10
|
|
8
11
|
## Scores in Yacht
|
9
12
|
|
10
|
-
Category
|
13
|
+
Category Score Example
|
11
14
|
Ones 1 × number of ones 1 1 1 4 5 scores 3
|
12
15
|
Twos 2 × number of twos 2 2 3 4 5 scores 4
|
13
16
|
Threes 3 × number of threes 3 3 3 3 3 scores 15
|
@@ -32,19 +35,14 @@ of the category your solution should return 0. You can assume that five values
|
|
32
35
|
will always be presented, and the value of each will be between one and six
|
33
36
|
inclusively. You should not assume that the dice are ordered.
|
34
37
|
|
35
|
-
## Bonus tasks
|
36
|
-
* Adapt the program for other similar games.
|
37
|
-
|
38
|
-
* Create a function that finds the highest scoring category for five dice.
|
39
|
-
|
40
38
|
## Running the tests
|
41
39
|
|
42
40
|
To run the tests run the command `go test` from within the exercise directory.
|
43
41
|
|
44
|
-
If the test suite contains benchmarks, you can run these with the
|
45
|
-
|
42
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
43
|
+
flags:
|
46
44
|
|
47
|
-
go test -bench .
|
45
|
+
go test -v --bench . --benchmem
|
48
46
|
|
49
47
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
50
48
|
different specs, so the results from these benchmark tests may vary.
|
@@ -55,7 +53,8 @@ For more detailed information about the Go track, including how to get help if
|
|
55
53
|
you're having trouble, please visit the exercism.io [Go language page](http://exercism.io/languages/go/about).
|
56
54
|
|
57
55
|
## Source
|
58
|
-
|
56
|
+
|
57
|
+
James Kilfiger, using wikipedia [https://en.wikipedia.org/wiki/Yacht_(dice_game)](https://en.wikipedia.org/wiki/Yacht_(dice_game))
|
59
58
|
|
60
59
|
## Submitting Incomplete Solutions
|
61
60
|
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
@@ -55,10 +55,10 @@ and determines the two correct answers.
|
|
55
55
|
|
56
56
|
To run the tests run the command `go test` from within the exercise directory.
|
57
57
|
|
58
|
-
If the test suite contains benchmarks, you can run these with the
|
59
|
-
|
58
|
+
If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem`
|
59
|
+
flags:
|
60
60
|
|
61
|
-
go test -bench .
|
61
|
+
go test -v --bench . --benchmem
|
62
62
|
|
63
63
|
Keep in mind that each reviewer will run benchmarks on a different machine, with
|
64
64
|
different specs, so the results from these benchmark tests may vary.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trackler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.1.
|
4
|
+
version: 2.2.1.178
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|