Note About This Book: Advanced Lingo For Games was written by Gary Rosenzweig in 2000 for users of Macromedia Director 7. It is presented here for free on an as-is basis, with no updating. Most of the information and code here can be used in the most recent version of Director. The book has been reproduced from the final editing files archived in 2000, and not the final proof galleys. So some minor differences between this version and the printed version my exist. The entire contents of this book are Copyright 2000, Gary Rosenzweig. No part may be reproduced or copied without written permission. The text here is provided for individual use only.
Want to thank me for making this book available for free? Just buy Special Edition Using Macromedia Director MX and we'll call it even!

Advanced Lingo For Games
by Gary Rosenzweig


Chapter 14 Section 6

Game Variations

Like in many word games, the theme of this game can be changed by simply changing the content, rather than the code. In the case of cryptograms, you can have the nature of the phrases used suggest a theme. In addition, there are a few things that can be done to the code to make the game different.

Phrase Ideas

The types of phrases that can be used are only limited by your imagination. Here are some suggestions:

Humorous Quotations Profound Quotations Useful Sayings Quotes in the News Movie Titles Book Titles Song Title or Lyrics Trivia Facts

Adding a Timer

A clever programmer might want to attempt to add a timer to this game. The timer can either limit the amount of time the player has to figure out a phrase, or can subtract from the total amount of points that a player earns by solving a phrase.

This second idea is much like the timer used in the trivia game in Chapter 13, "Trivia Game.". This turns the game from a quiet pastime to a hectic race.

Levels of Difficulty

Instead of having the entire game in one frame, you can have the game in several frames, each one calling on a different pool of phrases. Each of these phrase sets can be more difficult, adding more or less letters depending on which you consider more difficult.

You can also just keep the game in a single frame and order the phases from easiest to hardest.

Allowing Spaces

You may not want to limit the player to just typing the 26 letters of the alphabet. Instead, you may also want to allow them to use the spacebar to clear out a letter. This way, if they think that an "R" equals an "E," and then they realize that "E" is actually some other letter, they can position the text cursor over the "R," and press the spacebar to clear out all of the "R" letters, using an underscore for those once again.

Hints

With some additional programming, you could add a hint feature. Perhaps you could make it so than when the player hits a certain key, like a question mark, the program will look to see which character is correct for that cursor slot, and insert it.

Give Up

In addition to hints, you may want to allow the player to be able to give up. In this case, you should reveal the entire phrase. You can do this by writing a new handler tha simply sets the encoded phrase to the real one and displays it.