Skip to content

Commit a662612

Browse files
Added 4 SVG images
I added appropriate alternate text for the SVG images. I kept the ASCII Art for the interactive prompt but adjusted for a fence post error in the second example.
1 parent b5e9272 commit a662612

File tree

1 file changed

+35
-15
lines changed

1 file changed

+35
-15
lines changed

exercises/eliuds-eggs/introduction.md

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,56 @@ The position information encoding is calculated as follows:
1212
2. Convert the number from binary to decimal.
1313
3. Show the result on the display.
1414

15-
Example 1:
15+
## Example 1
16+
17+
![Seven individual nest boxes arranged in a row whose first, third, fourth and seventh nests each have a single egg.](https://assets.exercism.org/images/exercises/eliuds-eggs/example-1-coop.svg)
1618

1719
```text
18-
Chicken Coop:
1920
_ _ _ _ _ _ _
2021
|E| |E|E| | |E|
22+
```
23+
24+
### Resulting Binary
2125

22-
Resulting Binary:
23-
1 0 1 1 0 0 1
26+
![1011001](https://assets.exercism.org/images/exercises/eliuds-eggs/example-1-binary.svg)
27+
28+
```text
29+
_ _ _ _ _ _ _
30+
|1|0|1|1|0|0|1|
31+
```
32+
33+
### Decimal number on the display
2434

25-
Decimal number on the display:
2635
89
2736

28-
Actual eggs in the coop:
37+
### Actual eggs in the coop
38+
2939
4
40+
41+
42+
## Example 2
43+
44+
![Seven individual nest boxes arranged in a row where only the fourth nest has an egg.](https://assets.exercism.org/images/exercises/eliuds-eggs/example-2-coop.svg)
45+
46+
47+
```text
48+
_ _ _ _ _ _ _
49+
| | | |E| | | |
3050
```
3151

32-
Example 2:
52+
### Resulting Binary
53+
54+
![0001000](https://assets.exercism.org/images/exercises/eliuds-eggs/example-2-binary.svg)
3355

3456
```text
35-
Chicken Coop:
36-
_ _ _ _ _ _ _ _
37-
| | | |E| | | | |
57+
_ _ _ _ _ _ _
58+
|0|0|0|1|0|0|0|
59+
```
3860

39-
Resulting Binary:
40-
0 0 0 1 0 0 0 0
61+
### Decimal number on the display
4162

42-
Decimal number on the display:
4363
16
4464

45-
Actual eggs in the coop:
65+
### Actual eggs in the coop
66+
4667
1
47-
```

0 commit comments

Comments
 (0)