# coding=utf-8 name = 'prog_8puzzle/2' slug = '8-puzzle-solving language' description = '''\
Write a DCG for solving 8-puzzles. The first symbol in every word is [begin]
, followed by any sequence of "instruction" symbols from the set {left
, right
, up
, down
}, and finally [end]
. The starting symbol should be named prog_8puzzle
.
Example words: [begin,left,down,right,end]
, [begin,down,end]
.