Open meganminnear18 opened 6 years ago
I can't seem to find the CSV file you're trying to work with in your repo. I only see an Excel file in the root directory. Can you commit the CSV file as well so that I can take a closer look at the issue?
I just did in the main repository. Mr. Forrestal uploaded the CSV file as a test file under the assignment on Canvas.
Never mind, I fixed the issue! My only other question is, are we allowed to assume a 10x10 maze?
Woohoo! Ideally this should work for any type of rectangular or square maze.
And since you don't know the size of the file when you first receive it, you'll need to identify the number of rows and columns. I think it is safe to assume that the shape will be rectangular.
No matter the csv file, the 1s and 0s always get inputed into the maze array as a line of 1s and then a line of 0s, etc. I'm not quite sure how it's doing this because the while loop is supposed to go through each line and place each element from the line right into the array.