Question: ANYONE who knows prolog...please help? I need a solution to the "BLOCKS WORLD" problem.\nI need to be able to give this at the prompt and get a solution....\nsolve(start_state, list_of_moves, goal_state)\nwhere I could pass it two of the arguments and get the third argument back. such as...\n?- solve([on(a,b),on(b,table),on(c,table)], X, [on(a,table), on(c,b), on(b,table)])\nand get back the list of moves returned in X.\nemail me if you have any questions.

Answer: You should not be tackling a problem as difficult as this without having WORKED OUT the solutions to quite a few easier problems.  You are probably stuck on this one because you copied the answers to the easier ones, and learned nothing from them.  It's time to wake up.  Prolog is already difficult enough without making it even more difficult for yourself by trying to take short cuts which just leave you in a dead end like this.
This question from the Yahoo Q&A forum is categorized in the topic: Computers & Internet