User talk:Ledrug: Difference between revisions

Line 76:
 
Cudos for catching this! :) I remembered to fix the one thing but forgot about the other... Cheers. [[User:WillNess|WillNess]] 06:41, 3 December 2011 (UTC)
 
Is there any documentation for the version of the code that is written and runs as PERL?
The setting up of the "property names and values" is straight forward, but the "constraints" section is a bit difficult to figure out.
Confused by the required order of the constraints and what to do when the hint is stated as the separation of two houses.
 
Trying to set up the following variant of the puzzle:
 
# Puzzle: Given the following, where does everybody live?
 
# There is one house between the person eating potatoes and the person eating pancakes.
# The fourth house is white.
# The German drinks water.
# The German lives directly to the right of the horses.
# The butterflies live directly next to the brown house.
# The person in house two eats eggs.
# The person in house one drinks icetea.
# The person smoking pipe lives directly to the right of the person eating pancakes.
# The person eating spaghetties lives directly to the right of the white house.
# The Swede does not live in house one.
# There are two houses between the house of the person drinking coffee and the black house on the right
# There are two houses between the Spanish and the Dunhill smoking person on the left
# The person smoking Chersterfields lives directly to the left of the person smoking Cubans.
# The person eating potatoes lives directly next to the blue house.
# The British lives directly to the left of the birds.
# There are two houses between the turtles and the person drinking milk on the right
# The first house is brown.
# The person smoking Cubans eats spaghetties.
 
# Answer: Should be: Spanish (4), German (5), Swede (3), British (2), Greek (1)
 
== Amazon links ==
Anonymous user