Banish the smokers from the zebra puzzle#2459
Conversation
| @@ -1,7 +1,7 @@ | |||
| # Introduction | |||
|
|
|||
| The Zebra Puzzle is a famous logic puzzle in which there are five houses, each painted a different color. | |||
There was a problem hiding this comment.
I think it might help to state that this is a modified version of the Zebra Puzzle (or something similar along those lines). A student who Googles "Zebra Puzzle" will likely find the previous version. For example, the previous version are on Wikipedia and The Dinner Table.
Perhaps, something along the lines of:
The Zebra Puzzle is a famous logic puzzle in which there are five houses.
In this version, each house is painted a different color, ....
There was a problem hiding this comment.
The exercise does have a source URL and the name isn't changed. Are you concerned that students will be confused that this version is different from another version?
There was a problem hiding this comment.
Yeah, I was thinking it might be confusing for the student if they see another version, especially as the source URL points to Wikipedia, which describes the puzzle with the previous wording. Although the Wikiepdia page also does state that there are different versions of the puzzle, I think stating it will help to reduce that confusion.
There was a problem hiding this comment.
I think that students will see the versions differ if they compare the exercises. I don't think that needs pointing out. If they compare versions and notice they are different, I think most people will realize Exercism opted for different specifics for some reason. I don't especially think we need to spell that out in the instructions.
I'm curious to hear what others think!
There was a problem hiding this comment.
I've seen many variations used when researching the exercise, so I think it's fine to have us use a variation.
This is to match changes made to exercism/problem-specifications#2459.
* Check if list exists in map before appending Fixes an issue in grade school and zebra puzzle where items were being appended to an uninitialized list. In the latest unreleased version of V, this was causing the list to remain empty. * Apply formatter to zebra puzzle example This is to fix formatting. * Use int instead of u8 in zebra puzzle example This is to simplify the example and reduce the amount of casting needed. * Update activities in Zebra puzzle example This is to match changes made to exercism/problem-specifications#2459.
From the forum.