Author
Topic: How much clever are you? (Read 7751 times)

Only two persons on the raft at a time. The father cannot stay with any of the daughters without their mother's presence. The mother cannot stay with any of the sons without their father's presence. The thief (striped shirt) cannot stay with any family member if the policeman is not there. Only the father, the mother and the policeman know how to operate the raft.

To start, click on the big blue circle on the right. To move the people, click on them. To move the raft, click on the pole on the opposite side of the river

Logged

IndianaBrown

I think there is a small flaw in the program logic because I kept getting a 'you can't do that' graphic between the mother and a son even though they were on opposite sides of the river... but I worked around it.

Its the same type of algorithm needed for the guy who wants to get a goose, a fox and a sack of grain across the river but he can only take one thing at a time in a canoe. Kinda fun though. Thanks for sharing.