The goal is for my code that I write to guide the @ symbol through the maze to the X. The logic code for navigating runs in a loop until it is completed and I use a sleep function so I can track the movements as it goes along to find errors/problems with the code.
I would like to figure out how to find the number of rows in my array. I realize that I could very easily look at the number I assigned to the array when I defined it, but the program is written from the standpoint of the symbol @ having no previous knowledge of the map besides what it cannot go through/when it has reached its target.
I see I kinda screwed myself here, because at some point the @ would have to have knowledge of the array beforehand to calculate the amount of rows. Thanks though ^^