[Tutor] class and objects and such [Robot wars!]

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Sat, 15 Dec 2001 01:03:10 -0800 (PST)


On Fri, 14 Dec 2001, Sean 'Shaleh' Perry wrote:

> > No specific size, shape, or even function, a class defines the general
> > properties of a entire family opf object,s and you then create specific
> > objects with refinement of the definition of the general properties, and
> > special bellial bells, whistles, and GONGS for that indivigual item.
> > 
> > OK so far?
> > 
> > arg. how do I use this? ReadREadReadReadRead...
> > 
> 
> You are attacking the probem too hard.
> 
> OO is just about creating nouns and giving them the ability to act.  
> Almost like creating little robots.


Hmmm... as a random note, I do remember reading about how people
introduced object oriented programming through simulating robots in an
arena:

    http://www.geocities.com/TimesSquare/6120/robots/index.html
    http://www.pythonpros.com/gstein/bots.html
    http://www.lysator.liu.se/realtimebattle/