Skip to content

Commit

Permalink
Added 4 SVG images
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
habere-et-dispertire authored Nov 21, 2024
1 parent b5e9272 commit a662612
Showing 1 changed file with 35 additions and 15 deletions.
50 changes: 35 additions & 15 deletions exercises/eliuds-eggs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,56 @@ The position information encoding is calculated as follows:
2. Convert the number from binary to decimal.
3. Show the result on the display.

Example 1:
## Example 1

![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)

```text
Chicken Coop:
_ _ _ _ _ _ _
|E| |E|E| | |E|
```

### Resulting Binary

Resulting Binary:
1 0 1 1 0 0 1
![1011001](https://assets.exercism.org/images/exercises/eliuds-eggs/example-1-binary.svg)

```text
_ _ _ _ _ _ _
|1|0|1|1|0|0|1|
```

### Decimal number on the display

Decimal number on the display:
89

Actual eggs in the coop:
### Actual eggs in the coop

4


Check failure on line 41 in exercises/eliuds-eggs/introduction.md

View workflow job for this annotation

GitHub Actions / Lint markdown files

Multiple consecutive blank lines

exercises/eliuds-eggs/introduction.md:41 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
## Example 2

![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)


Check failure on line 46 in exercises/eliuds-eggs/introduction.md

View workflow job for this annotation

GitHub Actions / Lint markdown files

Multiple consecutive blank lines

exercises/eliuds-eggs/introduction.md:46 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
```text
_ _ _ _ _ _ _
| | | |E| | | |
```

Example 2:
### Resulting Binary

![0001000](https://assets.exercism.org/images/exercises/eliuds-eggs/example-2-binary.svg)

```text
Chicken Coop:
_ _ _ _ _ _ _ _
| | | |E| | | | |
_ _ _ _ _ _ _
|0|0|0|1|0|0|0|
```

Resulting Binary:
0 0 0 1 0 0 0 0
### Decimal number on the display

Decimal number on the display:
16

Actual eggs in the coop:
### Actual eggs in the coop

1
```

0 comments on commit a662612

Please sign in to comment.