#Kirby's way to find banana

7 messages · Page 1 of 1 (latest)

wintry lagoon
#

Hello. I have a C programming homework where kirby has to follow a path of apples in order to find and take the banana after picking up ALL the apples. For that , we will be using a library kirby.h Library to make Kirby evolve in an imaginary world and perform tasks.

https://pastebin.com/bhaRWpY7 ( the library)

My problem is that I don't really know how to proceed to make kirby move efficiently when he is an empty grid case . Here's how it should work :

drowsy cipherBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

wintry lagoon
#

it should do that if it works

#

Thanks.

drowsy cipherBOT
#

@wintry lagoon Has your question been resolved? If so, type !solved :)

wintry lagoon
#

no :