Challenge #11

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Menotu

Challenge #11

Post by Menotu »

I was looking at the challenge page for ideas for pograms to waste my time on and i was confused with number 11 ( i think it wass 11), the one with the goat cabbage and wolf. What exactly is the program supposed to do? Figure out how to move all 3 things or just endlessly show how to do it? I want to know this. I am not going to work on the program i just want to know what it is supposed to do.
User avatar
Pete
Site Admin
Posts: 887
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Post by Pete »

It's a really old puzzle that's been around for a looooooong time.

I could explain it for you in my own words, but instead, check out this flash game:
http://perso.wanadoo.fr/jeux.lulu/html/ ... upChe1.htm

or this page for solutions:
http://ccins.camosun.bc.ca/~jbritton/jbwolfgoat.htm


The flash game that you see there is basically what the challenge asks you to make in QB. It shouldn't be too hard to replicate if you want to waste your time. Heheh.
Menotu

I see

Post by Menotu »

No, i am not going to waste my time on it. I was just confused as to whether the program was supposed to solve the riddle or if it was supposed to allow the user to try different combos to see what worked. Not a hard a puzzle though.

take the goat over
take the cabbage over
take the goat back
take the wolf over
take the goat over
Post Reply