HIES / maze-solver-with-intellij-meganminnear18

maze-solver-with-intellij-meganminnear18 created by GitHub Classroom
0 stars 0 forks source link

Reading the CSV File #1

Open meganminnear18 opened 6 years ago

meganminnear18 commented 6 years ago

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.

ianframe commented 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?

meganminnear18 commented 6 years ago

I just did in the main repository. Mr. Forrestal uploaded the CSV file as a test file under the assignment on Canvas.

meganminnear18 commented 6 years ago

Never mind, I fixed the issue! My only other question is, are we allowed to assume a 10x10 maze?

ianframe commented 6 years ago

Woohoo! Ideally this should work for any type of rectangular or square maze.

ianframe commented 6 years ago

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.