Bläddra i källkod

update READMEs

Samuel Warner 8 år sedan
förälder
incheckning
8608cf08c3

+ 2
- 0
exercises/bob/README.md Visa fil

6
 
6
 
7
 He answers 'Whoa, chill out!' if you yell at him.
7
 He answers 'Whoa, chill out!' if you yell at him.
8
 
8
 
9
+He answers 'Calm down, I know what I'm doing!' if you yell a question at him.
10
+
9
 He says 'Fine. Be that way!' if you address him without actually saying
11
 He says 'Fine. Be that way!' if you address him without actually saying
10
 anything.
12
 anything.
11
 
13
 

+ 1
- 0
exercises/parallel-letter-frequency/README.md Visa fil

15
 
15
 
16
 As a stretch goal, consider if your implementation will work for characters with [diacritics or accents](https://en.wikipedia.org/wiki/Diacritic). For example, such solutions should not consider e and ë the same character. An example text for this case is [Wilhelmus](https://en.wikipedia.org/wiki/Wilhelmus), the Dutch national anthem.
16
 As a stretch goal, consider if your implementation will work for characters with [diacritics or accents](https://en.wikipedia.org/wiki/Diacritic). For example, such solutions should not consider e and ë the same character. An example text for this case is [Wilhelmus](https://en.wikipedia.org/wiki/Wilhelmus), the Dutch national anthem.
17
 
17
 
18
+
18
 # Running the tests
19
 # Running the tests
19
 
20
 
20
 You can run all the tests for an exercise by entering
21
 You can run all the tests for an exercise by entering

+ 16
- 10
exercises/proverb/README.md Visa fil

1
-# Proverb in Java
1
+# Proverb
2
 
2
 
3
-For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Dynamically output the full test of this proverbial rhyme.
3
+For want of a horseshoe nail, a kingdom was lost, or so the saying goes.
4
 
4
 
5
-> For want of a nail the shoe was lost.<br>
6
-> For want of a shoe the horse was lost.<br>
7
-> For want of a horse the rider was lost.<br>
8
-> For want of a rider the message was lost.<br>
9
-> For want of a message the battle was lost.<br>
10
-> For want of a battle the kingdom was lost.<br>
11
-> And all for the want of a horseshoe nail.<br>
5
+Given a list of inputs, generate the relevant proverb. For example, given the list `["nail", "shoe", "horse", "rider", "message", "battle", "kingdom"]`, you will output the full text of this proverbial rhyme:
6
+
7
+```text
8
+For want of a nail the shoe was lost.
9
+For want of a shoe the horse was lost.
10
+For want of a horse the rider was lost.
11
+For want of a rider the message was lost.
12
+For want of a message the battle was lost.
13
+For want of a battle the kingdom was lost.
14
+And all for the want of a nail.
15
+```
16
+
17
+Note that the list of inputs may vary; your solution should be able to handle lists of arbitrary length and content. No line of the output text should be a static, unchanging string; all should vary according to the input given.
12
 
18
 
13
 # Running the tests
19
 # Running the tests
14
 
20
 
22
 
28
 
23
 ## Source
29
 ## Source
24
 
30
 
25
-Wikipedia [https://en.wikipedia.org/wiki/For_Want_of_a_Nail](https://en.wikipedia.org/wiki/For_Want_of_a_Nail)
31
+Wikipedia [http://en.wikipedia.org/wiki/For_Want_of_a_Nail](http://en.wikipedia.org/wiki/For_Want_of_a_Nail)
26
 
32
 
27
 ## Submitting Incomplete Solutions
33
 ## Submitting Incomplete Solutions
28
 
34
 

+ 5
- 6
exercises/rail-fence-cipher/README.md Visa fil

58
 
58
 
59
 If you now read along the zig-zag shape you can read the original message.
59
 If you now read along the zig-zag shape you can read the original message.
60
 
60
 
61
+# Running the tests
61
 
62
 
62
-
63
-To run the tests:
63
+You can run all the tests for an exercise by entering
64
 
64
 
65
 ```sh
65
 ```sh
66
 $ gradle test
66
 $ gradle test
67
 ```
67
 ```
68
 
68
 
69
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
70
-
69
+in your terminal.
71
 
70
 
72
 ## Source
71
 ## Source
73
 
72
 
74
-[Wikipedia](https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher)
73
+Wikipedia [https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher](https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher)
75
 
74
 
76
 ## Submitting Incomplete Solutions
75
 ## Submitting Incomplete Solutions
76
+
77
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
77
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
78
-i

+ 1
- 1
exercises/two-fer/README.md Visa fil

66
 
66
 
67
 ## Source
67
 ## Source
68
 
68
 
69
-This is an exercise to introduce users to basic programming constructs, just after hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
69
+This is an exercise to introduce users to basic programming constructs, just after Hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
70
 
70
 
71
 ## Submitting Incomplete Solutions
71
 ## Submitting Incomplete Solutions
72
 
72