[ Index ] |
|
Code source de PRADO 3.0.6 |
1 <com:TContent ID="body" > 2 3 <h1 id="1301">Sample: Hangman Game</h1> 4 <p> 5 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. 6 </p> 7 <p> 8 To facilitate the building of this game, we show the state transition diagram of the gaming process in the following, 9 </p> 10 <p> 11 To be continued... 12 </p> 13 <com:RunBar PagePath="Fundamentals.Samples.Hangman.Home" /> 14 15 </com:TContent>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |