u all have told me how to generate a maze and thanx a lot for it
but i had a brainwave(???) and decided to render the maze in the way i hav already mentioned but now comes the problem .
i want to check if the object i am moving is touching the lines of the maze or not
can you help me??
i am moving the circle by using the code given below
Code:: : ch=getch(); if(ch==some ascii value) { increment or decrement x or y coordinates } similarly for other cases }