It is a simple game made with javascript. In this game three missionaries and three cannibals need to be crossed a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present on the bank, they cannot be outnumbered by cannibals (if they were, the cannibals would eat the missionaries). The boat cannot cross the river by itself with no people on board.
-
Notifications
You must be signed in to change notification settings - Fork 1
In this game, three missionaries and three cannibals need to be crossed a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present on the bank, they cannot be outnumbered by cannibals.
License
amankumar6/missionaries-and-cannibals
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
In this game, three missionaries and three cannibals need to be crossed a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present on the bank, they cannot be outnumbered by cannibals.