home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / huprolog_1 / Help! / l next >
Encoding:
Text File  |  1994-12-21  |  3.1 KB  |  108 lines

  1.  
  2. episode :-
  3.         tab(15),
  4.         write('" A T O L L  L O U N G E . "'),nl,
  5.         tab(15),
  6.         write('----------------------------'),nl,nl.
  7.  
  8. /*
  9.      "After the coup jewelry was cached both in the Atoll Lounge and in 
  10.      the ship's videogames arcade. These items to be lowered overboard the 
  11.      next day into the fruit wallah's boat.                
  12.      This achieved, the valuable pieces eventually found their way into 
  13.      Sullah the Magnificent's mountain top residence. The delighted new 
  14.      owners were Jasmine, Nina, Beryl, Helen,  Nina, and Ruby.
  15.  
  16.             
  17.    The emerald ring was one of the two most valuable items, the other was not 
  18.    the beryl pendant. Neither ring was tucked into the armchair.
  19.  
  20.    The least valuable item was neither of the rings or the pearls and the most
  21.    valuable piece did not go to Jasmine.
  22.  
  23.    One of the jewels Sullah presented to a lady who bore the same name. Ruby
  24.    was enchanted with the ring she received.
  25.  
  26.    Nina was not the recipient of either the ruby brooch, or the item that was 
  27.    cached in an armchair. The piece that was in fact hidden in the armchair 
  28.    was worth less than the jewel that was secreted underneath the video 
  29.    football game. 
  30.  
  31.    The valuable that was cached behind the display panel in the video games 
  32.     arcade, and which was not the pearls, did not go to Jasmine. The item that 
  33.     did however was more expensive than that which Helen received.
  34.  
  35.   The item that was secured below the corner edge of the bar counter by a 
  36.     piece of plasticine was not the emerald ring." 
  37.  
  38.   The pearl necklace, which did not go to Jasmine, was a little more valuable 
  39.   than the diamond solitaire."
  40.  
  41.  The more valuable of the two rings, which had been secreted below
  42.     the video football game, went to the other of Sullah's ladies who was 
  43.     blessed with the name of a jewel. 
  44.  
  45.  The pearls were secreted behind a panel in the video games arcade as was 
  46.   the ruby brooch. 
  47. */
  48.  
  49.  
  50.  
  51. group([sterling180k,sterling170k,sterling78k,sterling72k,sterling14k]).
  52. group([berylpendant,diamondring,emeraldring,rubybrooch,pearls]).
  53. group([displaypanel,wallpanel,armchair,videogame,barcounter]).
  54. group([jasmine,nina,beryl,helen,ruby]).
  55.  
  56.  
  57.  c(beryl,berylpendant). 
  58.  c(pearls,sterling78k).
  59.  c(diamondring,sterling72k).
  60.         
  61.  
  62.  i(emeraldring,sterling14k).
  63.  i(emeraldring,sterling72k).
  64.  i(emeraldring,sterling78k).
  65.  i(emeraldring,armchair).
  66.  i(diamondring,armchair).
  67.  i(berylpendant,sterling180k).
  68.  i(berylpendant,sterling170k).
  69.  i(jasmine,sterling180k).
  70.  
  71.  i(sterling14k,diamondring).
  72.  i(sterling14k,emeraldring).
  73.  i(sterling14k,pearls).
  74.  
  75.  i(ruby,pearls).
  76.  i(ruby,rubybrooch).
  77.  i(ruby,armchair).
  78.  
  79.  i(nina,rubybrooch).
  80.  i(nina,armchair).   
  81.  i(armchair,sterling180k).
  82.  i(videogame,sterling14k).
  83.  
  84.  i(displaypanel,pearls).
  85.  i(displaypanel,jasmine).
  86.  i(jasmine,sterling14k).
  87.  i(helen,sterling180k).
  88.  
  89.  i(barcounter,emeraldring). 
  90.  
  91.  i(pearls,jasmine).
  92.  
  93.  i(videogame,sterling72k).
  94.  i(videogame,sterling14k).
  95.  i(ruby,pearls).
  96.  i(ruby,berylpendant).
  97.  i(ruby,rubybrooch).
  98.  
  99.  i(pearls,barcounter).
  100.  i(pearls,armchair).
  101.  i(pearls,videogame).
  102.  
  103.  i(rubybrooch,barcounter).
  104.  i(rubybrooch,armchair).
  105.  i(rubybrooch,videogame).
  106.  
  107.  
  108.