From: swedberg211@... (Manny Swedberg) Date: 2004-04-05T22:19:22+09:00 Subject: Re: mine.rb George Ogata wrote in message news:<87r7v35u6e.fsf@optushome.com.au>... > swedberg211@yahoo.com (Manny Swedberg) writes: > > > Anyways, mine.rb in the sample programs directory seems to have a lot > > of the functionality I'm looking for, but the comment are all en > > japonais. > > Wow, I never looked in there before. Minesweeper in 176 lines is > quite impressive! ;) > > Anyone know of an easily-available, simple sample program that does > > kind of the same thing? > > I haven't looked, but the usual places to search are RAA, Rubyforge, > and maybe even Google. > > But surely that 176 line program is short enough to decipher even > without readable commentary. If you have questions on a particular > piece of code, plenty of folk here can probably help. Thanks, George. Haven't looked any further into mine.rb, but after I posted this I found CursWrap, which was just what I needed. Really, really nice ncurses interface. If you're here, Julian: nice job! So far I've got a little '@' who can walk around on the screen and a scary red 'g' (for 'goblin'!) who dances around like a monkey; ai courtesty of rand(). The next step is to make it so they can kill each other, and then all I have to do is add in a whoppingHeapOGold object ('$') so you can win the game. I'm liking this language a lot. Best, Manny