Three knights crossing the river
Three knights, Sir Kay [bk], Sir Bors [rk] and Sir Tristan
[gk] wishes to cross the river Tweed together with their pageboys [bp rp gp].
They are all together six, however the boat on the river bank can accept only
two persons at a time. All three knights have a very fierce reputation, so the
pageboys are so afraid of them, that none of them dare to accompany another
knight withought his own master. But how can they cross the river then? Please
help them!
(Symbols: b-blue, r-red, g-green, k-knight, p-pageboy)
Take care: if you make a wrong move, the program does not react!