diff options
Diffstat (limited to 'demos/quickstart/protected/pages/chap3/Hangman.page')
-rw-r--r-- | demos/quickstart/protected/pages/chap3/Hangman.page | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/chap3/Hangman.page b/demos/quickstart/protected/pages/chap3/Hangman.page index 603a040b..fc7bc2a5 100644 --- a/demos/quickstart/protected/pages/chap3/Hangman.page +++ b/demos/quickstart/protected/pages/chap3/Hangman.page @@ -1,6 +1,13 @@ <com:TContent ID="body" >
<h4>Sample: Hangman Game</h4>
<p>
-<a href="?page=Samples.Hangman.
+Having seen the simple "Hello World" application, we now build a more complex application called "Hangman Game". In this game, the player is asked to guess a word, a letter at a time. If he guesses a letter right, the letter will be shown in the word. The player can continue to guess as long as the number of his misses is within a prespecified bound. The player wins the game if he finds out the word within the miss bound, or he loses.
</p>
+<p>
+To facilitate the building of this game, we show the state transition diagram of the gaming process in the following,
+</p>
+<div class="runbar">
+<a href="?page=chap3.Hangman.Home" target="_blank">Run Sample</a>
+<a href="?page=ViewSource&path=/chap3/Hangman/Home.php" target="_blank">View Source</a>
+</div>
</com:TContent>
\ No newline at end of file |