From 930c51a6d618d487105cd46c517f36c3b1fe3b44 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 28 Dec 2005 18:31:03 +0000 Subject: --- demos/quickstart/protected/pages/Samples/Hangman.page | 7 +++---- demos/quickstart/protected/pages/Samples/HelloWorld.page | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'demos/quickstart/protected/pages/Samples') diff --git a/demos/quickstart/protected/pages/Samples/Hangman.page b/demos/quickstart/protected/pages/Samples/Hangman.page index 4541c8f9..e39b3e11 100644 --- a/demos/quickstart/protected/pages/Samples/Hangman.page +++ b/demos/quickstart/protected/pages/Samples/Hangman.page @@ -1,4 +1,5 @@ +

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. @@ -9,8 +10,6 @@ To facilitate the building of this game, we show the state transition diagram of

To be continued...

-
-Run Sample -View Source -
+ +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Samples/HelloWorld.page b/demos/quickstart/protected/pages/Samples/HelloWorld.page index 7f7e8538..1723d741 100644 --- a/demos/quickstart/protected/pages/Samples/HelloWorld.page +++ b/demos/quickstart/protected/pages/Samples/HelloWorld.page @@ -16,11 +16,10 @@ The code that a developer needs to write is merely the following event handler f
 public function buttonClicked($sender,$param)
 {
-	$sender->Text="Hello World";
+	$sender->Text="Hello World";
 }
 
-
-Run Sample -View Source -
+ + + \ No newline at end of file -- cgit v1.2.3