i want to create a 2d map with the miner method. For this is use arrays and "miners" that dig in random directions. My question is, if a miner moves to a position that is outside the array [example: map(-1,3)] will this just be ignored? Or can this result in problems, if i try to access an index, that does not exist (or was not defined before) in the array?
I hope my question is clear, as i am not a native speaker.