Hint: The cannibals cannot eat each other
If you need some help working out this problem, go here:
http://www.learn4good.com/games/puzzle/boat.htm
Hint: The cannibals cannot eat each other
If you need some help working out this problem, go here:
http://www.learn4good.com/games/puzzle/boat.htm
The goal is to have the code simulation to have input (1111 1) (all three missionaries and cannibals exist and move to the right (=1)) while the output is (1101) (= 3 missionaries and 1 cannibal). Verilog Code: (a part is given) module missionarycannibal (missionarycurr, cannibalcurr, direction missionarynext, cannibalnext). Correct answers: 3 question: Introduction about briefly explain about how the challenge has been conducted on cannibals and missionaries game? Plz help for my assignment. (subject is thinking skill). Cannibals and Missionaries - Back to the River Crossing Puzzles. Three missionaries and three cannibals want to get to the other side of a river. There is a small boat, which can fit only two. To prevent a tragedy, there can never be more cannibals than missionaries together. This old topic is locked since it was answered many times. Jan 22, 2009 1.Bring missionary and cannibal across in boat. Drop cannibal off. Go back and put the other two cannibals in boat. Drop one off and go across. Now put two missionaries in boat.
1) Send 1 cannibal and 1 missionary across the river.
2) Drop off the cannibal at side B and send back the missionary to side A.
3) Drop off the missionary at side A and send over 2 cannibals to side B.
4)Drop 1 off at side B and then go back to side A.
5) Drop off the cannibal at Side A and send over 2 missionaries.
6) Drop 1 off at side B, then pick up a cannibal from side B and go back to side A.
7) Drop off the cannibal at side A and pick up a missionary from Side.
8) Drop off both missionaries at side B and then send 1 cannibal from side B back.
9) Pick up a cannibal from side A and take him to side B.
10) Drop 1 off at side B and go back to side A.
11) Pick up the final cannibal from side A and take him over to side B.
12) Drop off both cannibals.
And that's all there to it!
A lot of people think it's impossible but it's really simple when you use the right logic.