Stuck On Hangman
Author |
Message |
Ravage
![](http://www.angelfire.com/in4/k2r/343958_13.gif)
|
Posted: Mon Jun 02, 2003 12:23 pm Post subject: Stuck On Hangman |
|
|
I got help and now I decided to take my source code down |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Mon Jun 02, 2003 12:27 pm Post subject: (No subject) |
|
|
what you do is you declear an array of boolean to keep track of which letters were quessed already. similar to the array you use with Input.KeyDown, works same way.
Same consept applies to the displaying the list of letters. You go through a loop displaying the whole alphabet, and check your array if it was quessed or not. If it was, cross it out. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|