The classic river-crossing puzzle. The boat carries the farmer and one passenger; leave the wolf alone with the sheep, or the sheep with the cabbage, and something gets eaten. Get everyone across. The best possible is 7 crossings.
JavaScript · HTML · CSS · SVG · Web Audio