Cannibals & Missionaries>>>solve it!!

Nash'

Member
Nov 19, 2006
3,953
6
0
right here....
Cannibals & Missionaries

Who can solve this??? :eek:

Read the instructions and all who can solve it....put some screen shots or post the solution here....!!:yes:




;) 1st download this 1MB Flash File....and TRY IT!!! ;)




cannbls1fe2.jpg



cnnbls2pq1.jpg


:lol: Let's see who can solve it!!!:lol:
 
Last edited:

dasun

Active member
  • Jul 25, 2006
    3,846
    0
    36
    36
    kotte
    ha ha mamath karaa its easy
    aththama kiwwoth mama kare forward karapu eka thamaa
    ethakota game eka iwarai
    game eka play karala dinanna widihak mama nam danne natho
     
    Last edited:

    x-pert

    Member
    Jun 13, 2006
    20,952
    77
    0
    Trip 1 - 2 cannibals.
    Trip 2 - 1 cannibal comes back.
    Trip 3 - 2 cannibals (leaving 3 missionaries on this bank).
    Trip 4 - 1 cannibal comes back.
    Trip 5 - 2 missionaries - leaves one of each on this side and 2 of each on the other side.
    Trip 6 - 1 cannibal and 1 missionary come back (there are now 2 of each on this side and 1 of each across).
    Trip 7 - the last 2 missionaries cross, leaving 2 cannibals on this side and three missionaries and one cannibal across.
    The missionaries can now walk along while the cannibal goes back to get his mates.


    Thanks for sharing this Bro Nash'

    :D

    This is actually a great computer programming logic (AI) example which I did for my Degree... :)
     

    Nash'

    Member
    Nov 19, 2006
    3,953
    6
    0
    right here....
    x-pert said:
    Trip 1 - 2 cannibals.
    Trip 2 - 1 cannibal comes back.
    Trip 3 - 2 cannibals (leaving 3 missionaries on this bank).
    Trip 4 - 1 cannibal comes back.
    Trip 5 - 2 missionaries - leaves one of each on this side and 2 of each on the other side.
    Trip 6 - 1 cannibal and 1 missionary come back (there are now 2 of each on this side and 1 of each across).
    Trip 7 - the last 2 missionaries cross, leaving 2 cannibals on this side and three missionaries and one cannibal across.
    The missionaries can now walk along while the cannibal goes back to get his mates.


    cooool!!!
    micky also taught me the solution!!
    and thnks for sharin the solution too bro!!!

    ela!!!
    well dun!! :) :)