blank spaces = movable spaces, a = starting point, * = ending point.
How would I put the already made text file into a 2D array of chars?
Example:
################# # a# # # # ##### # # # # # # # # # # # # # # # # # # * # ####### # ######## # # # #################
This would have to be put into a 2D array of Chars, but I can't just put the width and height because if someone made a maze and you didn't know the width or height the program should be able to do it.
*** The example image isn't showing up how it is suppose to.
This post has been edited by sport10: 19 October 2010 - 01:36 PM

New Topic/Question
Reply




MultiQuote






|