Hi all,

I needed something to demonstrate OOP principles to my class recently. Abstract code just doesn't cut it.

I wrote a simple "dog is catching bunch of sheep" game, see source on Github:

--> http://github.com/karmi/sheep_in_your_shoes/tree

Probably the only vaguely valuable thing in this is that I have saved every important step into Git tags 1-13 (see http://github.com/karmi/sheep_in_your_shoes/commits/master) -- so if you would have similiar educational needs, you can walk through the development of the code by doing `git checkout 1` etc, starting from the bundled example in `simple-bounce.rb` file.

Many, many thanks to _why for such unbeliavably polished thing like Shoes and everything around it...

(I'd like to write the step-by-step on the blog, but you know how such decision go sometimes...)

Enjoy, any feedback much appreciated,

Karel

--
www.restafari.org
www.karmi.cz

Reply via email to