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 :
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.