The lion, doughnut, and rooster all must make it across the river! But there's a twist. If the lion and the rooster are together, and the boat is not on the same side as them, the lion will eat the rooster. If the rooster and the doughnut are together without the boat on their side, the rooster will eat the doughnut. Good luck!
I did all the programming by self with a little help from a programming book. Any bugs or errors let me know in the comments.