From: Nit Khair Date: 2008-11-11T02:14:51+09:00 Subject: Re: Roguelike project? Michael Fellinger wrote: > On Tue, Nov 11, 2008 at 12:28 AM, Nit Khair > wrote: >> I integrated your example into one of my programs. (Works fine. Changed >> But apparently the stack reads one digit, and goes into ready(). >> >> 1. I just want to check if multiple digits work with you, am i doing >> something wrong. > > Yeah, it has to be: > map([/^\d$/, /^\d$/, 'k']){ @args.join.to_i.times{ view.up }} > which is a PITA, so i made a shortcut for it, see below > >> 2. I would like to know if you modify or improve/debug this further. Is >> there some list or webpage for "ver"? > > I fixed that just today, check it out :) > http://github.com/manveru/ver/commit/9fb04aa943e03850c19b0352b519d885826e7f44 > > ^ manveru I've only integrated the count_map as yet. Absolutely brilliant. Works like a dream :-D -- Posted via http://www.ruby-forum.com/.