From 9be8859d92e4bbec2462e82457d014f0a0d720db Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 26 Dec 2005 15:54:54 +0000 Subject: --- demos/quickstart/protected/pages/Samples/Hangman.page | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 demos/quickstart/protected/pages/Samples/Hangman.page (limited to 'demos/quickstart/protected/pages/Samples/Hangman.page') diff --git a/demos/quickstart/protected/pages/Samples/Hangman.page b/demos/quickstart/protected/pages/Samples/Hangman.page new file mode 100644 index 00000000..4541c8f9 --- /dev/null +++ b/demos/quickstart/protected/pages/Samples/Hangman.page @@ -0,0 +1,16 @@ + +

Sample: Hangman Game

+

+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. +

+

+To facilitate the building of this game, we show the state transition diagram of the gaming process in the following, +

+

+To be continued... +

+
+Run Sample +View Source +
+
\ No newline at end of file -- cgit v1.2.3