Skip to content

Commit dc998f7

Browse files
authored
Rework bob documentation (#2205)
This tweaks the bob exercise splitting the description into two files, per the v3 change. - introduction.md which gives context, and - instructions.md which tells the student what the task actually consists of. It also slightly tweaks the introduction to feel more friendly, and structures the instructions to help clarify exactly what responses are in Bob's repertoire.
1 parent 7e63459 commit dc998f7

File tree

3 files changed

+29
-16
lines changed

3 files changed

+29
-16
lines changed

exercises/bob/description.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

exercises/bob/instructions.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Instructions
2+
3+
Your task is to determine what Bob will reply to someone when they say something to him or ask him a question.
4+
5+
Bob only ever answers one of five things:
6+
7+
- **"Sure."**
8+
This is his response if you ask him a question, such as "How are you?"
9+
The convention used for questions is that it ends with a question mark.
10+
- **"Whoa, chill out!"**
11+
This is his answer if you YELL AT HIM.
12+
The convention used for yelling is ALL CAPITAL LETTERS.
13+
- **"Calm down, I know what I'm doing!"**
14+
This is what he says if you yell a question at him.
15+
- **"Fine. Be that way!"**
16+
This is how he responds to silence.
17+
The convention used for silence is nothing, or various combinations of whitespace characters.
18+
- **"Whatever."**
19+
This is what he answers to anything else.

exercises/bob/introduction.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Introduction
2+
3+
Bob is a [lackadaisical][] teenager.
4+
He likes to think that he's very cool.
5+
And he definitely doesn't get excited about things.
6+
That wouldn't be cool.
7+
8+
When people talk to him, his responses are pretty limited.
9+
10+
[lackadaisical]: https://www.collinsdictionary.com/dictionary/english/lackadaisical

0 commit comments

Comments
 (0)