tracks/objective-c/exercises/crypto-square/README.md in trackler-2.2.1.103 vs tracks/objective-c/exercises/crypto-square/README.md in trackler-2.2.1.104
- old
+ new
@@ -24,11 +24,11 @@
and `r` is the number of rows.
Our normalized text is 54 characters long, dictating a rectangle with
`c = 8` and `r = 7`:
-```plain
+```text
ifmanwas
meanttos
tayonthe
groundgo
dwouldha
@@ -39,26 +39,28 @@
The coded message is obtained by reading down the columns going left to
right.
The message above is coded as:
-```plain
+```text
imtgdvsfearwermayoogoanouuiontnnlvtwttddesaohghnsseoau
```
-Output the encoded text in chunks. Phrases that fill perfect squares
-`(r X r)` should be output in `r`-length chunks separated by spaces.
-Imperfect squares will have `n` empty spaces. Those spaces should be distributed evenly across the last `n` rows.
+Output the encoded text in chunks. Phrases that fill perfect rectangles
+`(r X c)` should be output `c` chunks of `r` length, separated by spaces.
+Phrases that do not fill perfect rectangles will have `n` empty spaces.
+Those spaces should be distributed evenly, added to the end of the last
+`n` chunks.
-```plain
-imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau
+```text
+imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau
```
Notice that were we to stack these, we could visually decode the
cyphertext back in to the original message:
-```plain
+```text
imtgdvs
fearwer
mayoogo
anouuio
ntnnlvt
@@ -74,15 +76,21 @@
- Create an Xcode project with a test target which will run the tests.
- Use the ruby gem `objc` as a test runner utility.
Both are described in more detail here: http://exercism.io/languages/objective-c
-
### Submitting Exercises
When submitting an exercise, make sure your solution file is in the same directory as the test code.
-For example, if you're submitting `Bob.m` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/objective-c/bob/Bob.m`.
+The submit command will look something like:
+
+```shell
+exercism submit <path-to-exercism-workspace>/objective-c/crypto-square/CryptoSquare.m
+```
+
+You can find the Exercism workspace by running `exercism debug` and looking for the line beginning
+with Workspace.
## Source
J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html)