Hi. i need some help with this game i want to simulate with c++ (with the graphics.h library). i want to make a replica of Pacman. i already built the map, but now i got stuck:
#1. i don't know how can i avoid the walls/obstacles (i have a blurry idea of an array (but i don't know if the array will suite the map i've drawn);
#2. i can't get the arrow input. for ex. if the user presses the right arrow, the appropriate drawing function will be called...
i've attached the code too
ty