From aacfe3120a6a130a3f4e85f3fffdc80bca159093 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Fri, 22 Jul 2022 20:09:23 +0200 Subject: [PATCH] Add README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..61b19ed --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# River Crossing + +## Task + +A farmer has five animals on one side. He needs to get all animals to the other +side of the river. Unfortunately, he only has two spaces available on his boat +and some animals cannot be left on their own. Find a series of boat crossings to +get all animals to the other side. + +## Animals + +* 2 Wolves +* 1 Fox +* 1 Chicken +* 1 Worm + +## Constraints + +* Wolves eat foxes. +* Foxes eat chickens. +* Chickens eat worms.