a simple console app enforcing einstein's zebra riddle
The riddle is a logic puzzle supposedly written by Einstein.
The riddle describes a five person street in which each neighbor has 5 unique properties:
- House Color
- Nationality
- Beverage
- Cigar Brand
- Pet
The possible house color of each neighbor is one of the following:
- Blue
- Green
- White
- Red
- Yellow
The possible nationality of each neighbor is one of the following:
- British
- Danish
- German
- Norwegian
- Swedish
The possible beverage of each neighbor is one of the following:
- Beer
- Coffee
- Milk
- Tea
- Water
The possible cigar brand of each neighbor is one of the following:
- BlueMaster
- Dunhill
- AllMall
- Prince
- Blend
The possible pet of each neighbor is one of the following:
- Cat
- Bird
- Dog
- Fish
- Horse
With a set of 15 hints, the goal is to find out who has the pet fish.
- brit lives in red House
- swede keeps dog as Pet
- dane drinks tea
- green house to the left of the white house next to it
- green owner drinks coffee
- the person who smokes pall mall rears birds
- the owner of the yellow house smokes Dunhill
- the owner living in the house in the center drinks milk
- the norwegian lives in the first house
- the man who smokes blend lives next to the one who keeps cats
- the man who keeps horses lives next to the man who smokes dunhill
- the owner who smokes blue master drinks beer
- the german smokes prince
- the norwegian lives next to the blue house
- the man who smokes blend has a neighbor who drinks water