0

So I'm working on a agent based simulation and I'm going to use a 2D array which could be 500x5000 or 1000x1000. The actual simulation will consist of walls which make up rooms. The problem I don't want to manually insert each wall because this could take very long.

Is there a way where I can create a simple 2D image of a map and have the program read this image and insert the walls into the 2D array based on the image.

Regards

user2464333
  • 11
  • 1
  • 6

0 Answers0