Hi im new here. Im trying to create a maze game in which all the user does is hit go and the AI mouse goes on its own. Im having trouble getting started creating the field. Im trying to use a 2d array of string to make the field look like this. Note the size is dynamic since it's entered by the user.
I tried using a panel filled with labels and also tried using just one huge panel but when I try to fill it in with the array then it just continues on in the same line and I don't know how to make it stop once it hits the edges of the panel. Is there a more efficient way of doing this? Like without a panel or something I don't know about?
C#:
x x x x x x
x x x
x x x x x x
x x x x x x
x x x x x x
x x x x x x
x x x x x
x
x x x x x x