in reply to Where ideas for oddball scripts come from...

Interesting script, but you might find the following modification of the last line enlightening.

... team() until $score;

On the other hand, by using objects for players & teams and setting up an event loop, you could make a pretty decent simulation for an entire baseball game. Of course simulating something that interests you would be more fun.

Replies are listed 'Best First'.
Re^2: Where ideas for oddball scripts come from...
by Lady_Aleena (Priest) on Mar 16, 2010 at 23:16 UTC

    I added the line you suggested, and I found it very interesting. Even though it hasn't survived to the current form in Re: Where ideas for oddball scripts come from..., it did help me get motivated to write the most of the rest of the game. In honor of you motivating me to do more with it, I named a team after you. :)

    About using objects and event loops, I am not entirely sure what you are talking about there.

    This is a nice diversion from role-playing and movie related scripts. Sometimes one has to go away from the main focus of one's work or do something completely different to be able to find little gems that work. For me in this script, I used recursion for the first time. In all the other scripts that I have written, I haven't had to do so. So even if I am not overly excited by the subject of the script, I and others can keep expanding it until it is a full game. This has been a great learning exercise for me.

    Have a nice day!
    Lady Aleena