VoiceXML Adventure Game
Continuing from Part I of our comprehensive series of VoiceXML tutorials, in Part II we will develop a simple, but fully dynamic VoiceXML application in Perl for the Tellme.com voice portal.
Do you remember the original Zork text adventure game and Choose Your Own Adventure books? Maybe you're even old enough to remember the original Adventure game. If you don't, you're missing out. We're going to develop a simple Zork-like application using VoiceXML. In Part III, we will create a more advanced version that utilizes its own XML format for building text adventures.
As we step through each code example, you will also be able to dial into Tellme and demo the code live on the Mother of Perl Tellme extension. Simply dial 1-800-555-TELL, wait for the Tellme main menu, then dial 1-73759. You will hear a greeting and a menu of options. Dial 2 for Tutorial 21 and then press the number that corresponds with the example in the tutorial. For example, when you see:
you can interact with the source code by pressing 1 on your phone. Each example is also linked to the XML source code file, where you can examine the file in your Web browser, or launch it directly into your favorite XML editor.
In addition to the live examples, you will find the source code for all examples in the tutorial21.zip file, which you can use for free to create your own VoiceXML applications.
Page 1 of 7