Text Game on Purple Shoes

Text_game_on_purple_shoes

I read Jared's post in ruby-talk ML.

He said,

> my game is a long piece of code: https://gist.github.com/2500159
>
> My question is, I have the game fully coded out in standard Ruby and it
> runs in terminal.  I know I won't be able to simply call the class or
> whatever and run it perfectly as it is.  Ruby uses "puts" and Shoes uses
> "para".  Ruby uses "sleep" and Shoes uses "timer" and a do loop for it.
>
> Is it going to be possible to have this run without doing a massive
> rewrite or am I screwed on this?

Oh, umm,...
I think it's a bit difficult with Red Shoes...
But with Green or Purple?

After some trials, got a solution for Purple Shoes.
I've not changed his original code, just only added a small snippet.

Look at the code ( https://gist.github.com/2516799 ) and watch a tiny flush demo. ;-)

ashbb