1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Flash Fortune-Teller/Random Sentence Generator with User Input

By

1 of 8

Creating the Backdrop
Flash Fortune-Teller/Random Sentence Generator with User Input
The Magic 8-ball could take user input, but didn’t really do anything with it; the input text box was more for the user’s benefit/visualization than anything else. This time we’re going to take it a step further, though, and add user input to help generate the results in a mock “fortune telling” application. The application takes user input and strings it together in one of various randomly selected but preset sentence structures.

The first thing to do, as always, is set up the artwork/backdrop for your script.

©2014 About.com. All rights reserved.