On Sep 29, 2006, at 9:02 AM, Ruby Quiz wrote: > The secret of the rabbit's magick sword will be revealed when my > story generated > is posted. There's one problem, as the perpetrator of this quiz, I'm not sure if I should post my solution. But if I don't, the secret will be forever lost :) What to do? Also, I've built another story generator using very simple code. I did this because JEG II pointed out that my original solution was a bit complex and took me more time than one should spend on a Ruby Quiz. So I set myself the task of seeing what I could do with code that I wrote in less than an hour. The results are much more rigid than what the original story generator produces. Although the code didn't take long to write, I have to admit I've been working for three hours on the story template and the phase dictionaries and still haven't finished. To give an idea of the flavor of this new generator I include two (incomplete) stories it generated: 1. The Three Bears Go To Dwemthy's Array One day Papa Bear asked, "Vacation starts next month. Where shall we go?" Papa Bear wanted to go to Dwemthy's Array. Mama Bear wanted to go to Corporate USA. But Baby Bear got all exited. "I want to go to Dwemthy's Array! I want to go to Dwemthy's Array! I want to go to Dwemthy's Array!" In the end, they agreed to go to Dwemthy's Array. Although it seemed nearly forever to Baby Bear, next month eventually arrived. The Bears piled into their pick-up truck and off they went. Along the way they stop twice to let the little one use a rest room. They stayed four days. While they were there they saw a Jabberwocky, a Vicious Green Fungus, a Bogus Fox, a Rabbit. At the park's restaurants they had Dwemthy's pizza, Mama Dragnon's roast rabbit, jabberwocky steak. They enjoyed attractions such as Demon Twister, Monster-Go-Round, Dragon's Den. Mama Bear was shocked by the Demon Twister. Baby Bear especially liked the Bogus Fox. On the way back they stopped at a ice cream store where they all had three-scoop sundaes. Papa Bear thought <park_feature> was best. Mama Bear thought <park_feature> was best. But Baby Bear was certain that the Bogus Fox was really the best. The end. 2. The Three Droids Go To Corporate USA One day R2P2 asked, "Vacation starts next week. Where shall we go?" R2P2 wanted to go to Corporate USA. R2M2 wanted to go to Corporate USA. But R2B2 got all exited. "I don't want to go to Corporate USA! I don't want to go to Corporate USA! I don't want to go to Corporate USA!" In the end, they agreed to go to Corporate USA. Although it seemed nearly forever to R2B2, next week eventually arrived. The Droids piled into their SUV and off they went. Along the way they stopped at a ice cream store where they all had three-scoop sundaes. They stayed three days. While they were there they saw a Tax Accountant, a Marketing Manager, a Chief Executive Officer, a Stock Broker. At the park's restaurants they had Board Room Buffet (tm), outsourced curry, pizza. They enjoyed attractions such as Golden Parachute Drop, Chamber of Outsourcing Horrors, Takeover Museum. R2M2 was shocked by the Chamber of Outsourcing Horrors. R2B2 especially liked the Marketing Manager. On the way back they made a wrong turn and got lost. R2P2 thought <park_feature> was best. R2M2 thought <park_feature> was best. But R2B2 was certain that the Marketing Manager was really the best. The end. My second question: should I post the new generator? Regards, Morton