From: Josh Cheek Date: 2011-05-05T03:50:18+09:00 Subject: Re: Convert String to Grid --0016e6468fb643340c04a277bac8 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 4, 2011 at 1:26 PM, Matthew D. wrote: > Hey, I am kinda new to ruby... and programing... > Anyway, I had an idea of making an ascii game with ruby for the console. > I found a way to make (and break :P) grids, but can't figure out how to > convert a map file into a grid. The map file has a key included and I > think I can figure out how to parse that but I cannot for the life of me > how to put the map into a grid, for character movement. Anyone know how? > > -- > Posted via http://www.ruby-forum.com/. > > Could you show what your map file looks like, and what you would like it to look like after being processed? (ie what is a grid, an array of arrays?) --0016e6468fb643340c04a277bac8--