SLU-CS-Capstone / how-we-work-wr_desktop

how-we-work-wr_desktop created by GitHub Classroom
0 stars 0 forks source link

Support non-square matrices #1

Open Stuartwastaken opened 1 year ago

Stuartwastaken commented 1 year ago

The only mazes currently supported are square: size N by N. It would be interesting to have non-square mazes: N by M where N is not equal to M. This can be done by adjusting the Maze class to optionally take a second parameter in the constructor - M. The Maze class can keep track of number of rows and number of columns. If two parameters are passed, then the number of rows and columns are different. If one parameter is passed, the number of rows and columns is the same.