5) The ‘River Crossing’ puzzle is a typical rule-driven exercise. It draws inspiration from the classic puzzle that asks learners to help a wolf, a sheep, and a cabbage cross a river on a single raft based on restrictions on leaving any two of the above unattended on the same river bank. Both this version of the puzzle as well as a more complex one in which a group of grown-ups and children must cross a river taking into account constrains and restrictions have been implemented. Through this activity students are encouraged to build a smart and flexible algorithm using loops and conditional statements [28].
Fig. 5– The River Crossing activity