River Crossing: how to solve the wolf, goat and cabbage and its variants
In a river crossing puzzle you have to ferry a group to the other bank in a boat that is too small, while some of them cannot be left together. The best known is the wolf, the goat and the cabbage, and its solution takes seven trips. The step almost everyone misses is the same in every variant: sometimes you have to bring a passenger back.
The rules, as the app states them
Ferry everyone across without leaving trouble behind.
- Tap a passenger on the bank where the boat is to put them in the boat. Tap them in the boat to take them out. Press Cross to send the boat to the other bank.
- The boat never crosses empty: someone from the oar card must be on board. It holds no more passengers than it has seats and, when there is a weight card, no more weight than its limit.
- A card with two passengers, a red mark and a third passenger means the first two cannot be together without the third, on either bank or in the boat. Whoever sits in the docked boat counts as being on that bank. You win when everyone is on the far bank.
What a river crossing puzzle is
The wolf, goat and cabbage is one of the oldest puzzles still in circulation. It appears in a collection of problems "to sharpen the young" attributed to Alcuin of York, written around the year 800. The same collection has two more crossings: one about people who cannot be left in each other's company, and one about travelers too heavy to share the boat.
Those three ideas are still the whole genre: who can be left with whom, how many fit, and who is able to row. What makes these puzzles interesting is that progress is not a straight line. Counting who is already across tells you little. What matters is the arrangement on both banks, and a good move can leave fewer passengers across than before.
The rules in detail
In River Crossing everyone begins on the starting bank. You tap passengers on the boat's bank to put them in the boat, and press Cross to send it over. Each crossing, in either direction, is one trip. The level's rule cards say what is allowed.
- Seats. The boat has two or three, and whoever rows takes one.
- The oar card. It shows who can row. The boat never crosses empty, and never without one of them on board.
- Conflict cards. Two passengers, a red mark and a third passenger: the first two cannot be together unless the third is with them. The wording varies (one would eat the other, they would fight, they cannot be left together), and the rule is the same.
- The weight card. On some levels each passenger shows a weight and the boat has a maximum load.
- The trip limit. Some levels give you a maximum number of trips.
Two details are easy to overlook. A conflict card applies in three places: on the bank you leave, on the bank you reach and inside the boat. And the rules are checked only at the moment the boat crosses. Someone sitting in the docked boat counts as being on that bank, so you can load and unload freely while you think. The level is solved when everyone is on the far bank.
Where to start: find the passenger in the middle
Read the conflict cards and look for a passenger who appears in more than one. In the classic puzzle it is the goat: the wolf would eat it, and it would eat the cabbage. The wolf and the cabbage have no quarrel with each other.
That passenger decides the first trip. With a two-seat boat the farmer takes one companion. Take the wolf, and the goat stays with the cabbage. Take the cabbage, and the wolf stays with the goat. Cross alone, and both problems are left behind. The only legal first trip is the farmer with the goat.
The general idea: whoever causes the most conflicts must never be without its guard, so plan the trips around that passenger and let the others fit in.
Four techniques
1. Check three places before you cross
For every trip, look at who stays behind, who shares the boat and who will be together on arrival. Most failed trips break a rule on the bank the player was not looking at, usually the one the boat is heading for.
2. The return trip with a passenger
If arriving would leave two enemies together once you go back for the next one, take one of them back with you. It feels like undoing work, but it only swaps which passenger is waiting where. In the classic puzzle the goat crosses three times, and that is exactly what keeps it away from both the wolf and the cabbage.
3. Ask who brings the boat back
After every trip to the far bank, someone on that bank has to be able to row, or the boat is stranded. With a single rower you can also count ahead: each trip over carries the rower plus one fewer than the number of seats. Three passengers to carry in a two-seat boat means three trips over and two back: five at the very least, before any conflict card adds more. On a level with a trip limit, that count tells you how many trips you can afford to lose.
4. Let the light ones ferry
When weight is the problem and a heavy passenger who can row only fits in the boat alone, use two light rowers as a shuttle. Both cross, one brings the boat back, the heavy one crosses alone and the other light one returns with the boat. Four trips move one heavy passenger and leave the shuttle ready to start again.
A worked example: wolf, goat and cabbage
Farmer, wolf, goat and cabbage. The boat has two seats and only the farmer can row. Without the farmer, the wolf would eat the goat and the goat would eat the cabbage.
- Farmer and goat cross. It is the only legal start: the wolf and the cabbage are safe together.
- The farmer returns alone. The goat waits on the far bank with nobody to bother.
- Farmer and wolf cross. Now the wolf and the goat are on the far bank. With the farmer there, nothing happens. He cannot leave them, though.
- Farmer and goat go back. This is the key trip. The wolf stays on the far bank alone.
- Farmer and cabbage cross. The goat stays behind alone, and the wolf and the cabbage are safe together on the far bank.
- The farmer returns alone.
- Farmer and goat cross. Everyone is on the far bank.
| Trip | In the boat | Starting bank afterwards | Far bank afterwards |
|---|---|---|---|
| 1 | Farmer, goat | Wolf, cabbage | Farmer, goat |
| 2 | Farmer | Farmer, wolf, cabbage | Goat |
| 3 | Farmer, wolf | Cabbage | Farmer, wolf, goat |
| 4 | Farmer, goat | Farmer, goat, cabbage | Wolf |
| 5 | Farmer, cabbage | Goat | Farmer, wolf, cabbage |
| 6 | Farmer | Farmer, goat | Wolf, cabbage |
| 7 | Farmer, goat | Nobody | Everyone |
Seven trips is the minimum. There is one other solution of the same length: take the cabbage on trip 3 and the wolf on trip 5. Everything else stays the same, because the wolf and the cabbage play mirror roles.
Common mistakes
- Refusing to take anyone back. If every plan you try gets stuck after two or three trips, this is almost always why.
- Watching only the bank you leave. The far bank fills up, and the conflicts move there.
- Forgetting the boat. Two passengers who cannot be together cannot share the boat either, unless their guard is on board.
- Not reading the oar card. A plan that leaves the boat on a bank with nobody who can row is over.
- Spending trips on a limited level. A trip there and back with no change costs two of your trips.
How the difficulty grows in the app
River Crossing has 120 levels. The tutorials are a single crossing with the farmer and the goat, and then four passengers with one conflict card. Easy levels have 3 to 5 passengers and are solved in 3 to 7 trips. The classic wolf, goat and cabbage is one of them, and the easy levels after it all need a return trip with a passenger. Medium levels have 4 or 5 passengers and take 7 to 11 trips; the weight card appears, and later a trip limit with two trips to spare. Hard levels have 5 or 6 passengers and take 9 to 17 trips, sometimes with weights and conflict cards on the same level, and with trip limits that leave nothing to spare.
A hint shows the next trip of one of the shortest solutions and how many trips you still need at least. When a rule forces that trip, the hint names the rule. If you can no longer finish within the trip limit, it tells you instead of suggesting a move.
For another puzzle about doing things in the right order, see Clear the Way, or browse all the games.
Frequently asked questions
What is the solution to the wolf, goat and cabbage puzzle?
Take the goat across, go back alone, take the wolf across, bring the goat back, take the cabbage across, go back alone and take the goat across. You can swap the wolf and the cabbage.
How many trips does the wolf, goat and cabbage take?
Seven crossings at least: four to the far bank and three back. There are two solutions of that length.
Who invented the river crossing puzzle?
The oldest known version is in a medieval collection of problems attributed to Alcuin of York, from around the year 800. It already had the wolf, the goat and the cabbage.
Are the fox, goose and beans the same puzzle?
Yes. Fox, goose and bag of beans, or fox, chicken and grain, are the same puzzle with other names: one item in the middle that cannot be left with either of the other two.





