If you have trouble installing the required software, or have questions regarding the assignment itself, please post your questions first on Piazza. You must implement your solutions in Python 3, and write your report using markdown, in a file called report.md. In this assignment, you'll implement algorithms that will make plans to get everyone across the river in time for lunch, without any missionaries becoming lunch. If at any time there are more cannibals than missionaries on either side of the river, then those missionaries get eaten. The boat can carry up to two people at one time, but doesn't row itself - at least one person must be in the boat for the boat to move. They would like to cross to the other side of the river. Three missionaries and three cannibals come to the bank of a river. Here is some provided code to get you started.
0 Comments
Leave a Reply. |