Created famous 3 missionaries 3 cannibals crossing the river game. With the help of python.
Rules:
- Number of missionaries on either side should never be less than number of cannibals
- Only one or 2 people can travel through boat at a time.
- You win the game when all missionaries and cannibals on the right go to the left side.
Initial stages looks like given below:
Your task is to help crossing all missionaries and cannibals on the right go to the left side. onces you completed, It will show you the output given below: