[#20675] RCR: non-bang equivalent to []= — Tobias Reif <tobiasreif@...>

Hi,

49 messages 2001/09/01
[#20774] Re: RCR: non-bang equivalent to []= — Tobias Reif <tobiasreif@...> 2001/09/03

I wrote:

[#20778] Re: RCR: non-bang equivalent to []= — Kevin Smith <kevinbsmith@...> 2001/09/03

--- Tobias Reif <tobiasreif@pinkjuice.com> wrote:

[#20715] oreilly buch von matz - website online — markus jais <info@...>

hi

43 messages 2001/09/02
[#20717] Re: OReilly Ruby book has snail on cover — ptkwt@...1.aracnet.com (Phil Tomson) 2001/09/02

Actually, thanks for posting it here. I was trying to search OReilly's

[#20922] Re: OReilly Ruby book has snail on cover — Paul Brannan <pbrannan@...> 2001/09/05

On Mon, 3 Sep 2001, Phil Tomson wrote:

[#20768] Minor cgi.rb question — "Hal E. Fulton" <hal9000@...>

I don't have much experience with

25 messages 2001/09/03

[#20770] Calling member methods from C++ — jglueck@... (Bernhard Glk)

Some quetsions have been solved for me, but my message system does not

12 messages 2001/09/03

[#20976] destructor — Frank Sonnemans <ruby@...>

Does Ruby have a destructor as in C++?

25 messages 2001/09/07

[#21218] Ruby objects <-> XML: anyone working on this? — senderista@... (Tobin Baker)

Are there any Ruby analogs of these two Python modules (xml_pickle,

13 messages 2001/09/15

[#21296] nested require files need path internally — Bob Gustafson <bobgus@...>

Version: 1.64

29 messages 2001/09/18
[#21298] Re: nested require files need path internally — David Alan Black <dblack@...> 2001/09/18

Hello --

[#21302] Re: nested require files need path internally — Bob Gustafson <bobgus@...> 2001/09/18

On Tue, 18 Sep 2001, David Alan Black wrote:

[#21303] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21306] Re: nested require files need path internally — Lars Christensen <larsch@...> 2001/09/18

On Tue, 18 Sep 2001, Yukihiro Matsumoto wrote:

[#21307] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21331] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/18

> The big difference is C++ search done in compile time, Ruby search

[#21340] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21353] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/18

On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:

[#21366] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/19

Hi,

[#21368] Re: nested require files need path internally — "Julian Fitzell" <julian-ml@...4.com> 2001/09/19

On 19/09/2001 at 10:12 AM matz@ruby-lang.org wrote:

[#21376] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/19

Hi,

[#21406] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/19

On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:

[#21315] Suggestions for new CGI lib — anders@... (Anders Johannsen)

From the comp.lang.ruby thread "Minor cgi.rb question" (2001-09-03), I

21 messages 2001/09/18

[#21413] Ruby/objects book in style of The Little Lisper — Brian Marick <marick@...>

I fell in love with Lisp in the early 80's. Back then, I read a book called

36 messages 2001/09/19
[#21420] Re: Ruby/objects book in style of The Little Lisper — Christopher Sawtell <csawtell@...> 2001/09/20

On 20 Sep 2001 06:19:44 +0900, Brian Marick wrote:

[#21479] Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/21

--- Christopher Sawtell <csawtell@paradise.net.nz> wrote:

[#21491] SV: Re: Ruby/objects book in style of The Little Lisper — "Mikkel Damsgaard" <mikkel_damsgaard@...> 2001/09/21

[#21494] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/21

--- Mikkel Damsgaard <mikkel_damsgaard@mailme.dk> wrote:

[#21510] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Todd Gillespie <toddg@...> 2001/09/22

On Sat, 22 Sep 2001, Kevin Smith wrote:

[#21514] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/22

--- Todd Gillespie <toddg@mail.ma.utexas.edu> wrote:

[#21535] irb — Fabio <fabio.spelta@...>

Hello. :) I'm new here, and I have not found an archive of the previous

15 messages 2001/09/22

[#21616] opening a named pipe? — "Avdi B. Grimm" <avdi@...>

I'm having trouble reading from a named pipe in linux. basicly, I'm

12 messages 2001/09/24

[#21685] manipulating "immutable" objects such as Fixnum from within callbacks & al... — Guillaume Cottenceau <gc@...>

Hello,

15 messages 2001/09/25

[#21798] Ruby internal (guide to the source) — "Benoit Cerrina" <benoit.cerrina@...>

Hi,

22 messages 2001/09/28

[ruby-talk:21146] Re: Robocode (RubyBot - perhaps a way to introduce people to Ruby?)

From: "Hal E. Fulton" <hal9000@...>
Date: 2001-09-11 14:55:54 UTC
List: ruby-talk #21146
----- Original Message -----
From: Phil Tomson <ptkwt@shell1.aracnet.com>
Newsgroups: comp.lang.ruby
To: ruby-talk ML <ruby-talk@ruby-lang.org>; <undisclosed-recipients: ;>
Sent: Tuesday, September 11, 2001 7:34 AM
Subject: [ruby-talk:21131] Robocode (RubyBot - perhaps a way to introduce
people to Ruby?)


> Slashdot has an article about a game called Robocode that teaches Java by
> having users program their own robots.
>
> From the Robocode homepage:
> http://robocode.alphaworks.ibm.com/home/home.html
> "Build the best. Destroy the rest. In Robocode, you'll program a robotic
> battletank in Javatm for a fight to the finish. The game is designed to
> help you learn Java, and have fun doing it... from a simple 10 line robot
> to a very sophisticated, intelligent robot that destroys the competition!"
>
> This seems like a good method for teaching programming in general and for
> teaching the Java programming language specifically.  So I'm thinking...
> what about a version that would teach Ruby programming: RubyBot (or some
> such), or if you didn't want just a simple shoot-em-up game you could make
> something like a simulated ecosystem (RubyBio) where you can create
> different types of creatures and see how they survive.

Very interesting idea. I've seen it done long ago in C and even a
proprietary language for bots.

> Now, it seems to me that since Ruby has more 'dynamicity' (didn't somebody
> create that word on another thread?) than Java that it would allow for
> doing a lot more than is possible in the Java version.

:) Concerning "dynamicity" -- apparently in the sense I use it, it isn't
a "real word." Now, ordinarily I am such an English language purist
I would not use such a fake word... but I like the sound of it by analogy
with "periodicity" (which might also be fake, but I've seen it many times).
And anyhow, a web search revealed 675 hits for the word, nearly all of
which used it in the same sense I use it (not in the chemical sense).
Anyhow, I don't like the best alternative, which is "dynamism."

> Also, you could
> make it a multi-user game where different people can create their own
> Robots or creatures and introduce them into a running game.  It seems like
> it could be a good way to 1) introduce people to Ruby and 2) teach them
> Ruby.

Hmm, wonder if drb would be good? Then clients could register with a
central arbitrator or something, and gameplay could happen over the net.

> Since a GUI is a very important part of getting something like this going,
> I'm wondering which of the supported GUI toolkits would be good for this?
> I have the impression that most of the toolkits are good for creating user
> interfaces with windows, scrollbars, buttons, etc. but I don't think that
> in general they are good for drawing a robot or animal and moving it
> around the screen.  Do any of the supported toolkits allow you to do this
> sort of thing?

Ruby/Tk has  a working canvas object. I've never used it myself. There's a
little
example in the Pickaxe Book.

And I think the GUI can be done even if the players are remote -- i.e.,
every
client gets its own display. Not sure about this idea, though. Maybe you
want
to keep it local for simplicity (simplism??).

Hal



In This Thread