Really any ideas will help but id like to try and make the game hangman. id like to mak it simples in a gui(i dont really need the image of the hangman) but id like to atleast have it show all the letters and make them dissappear as they guess the word. I just would like any ideas of helo from anyone?
Thanks alot
c.pentasuglia
0
Newbie Poster
Recommended Answers
Jump to PostUse a JLabel to display the guessed-so-far word. If a letter hasn't been guessed correctly it should display "_" instead of the letter, which is why you'll need to space your word also (so the _ don't run together, looking like a line). Use a String internally in your program …
Jump to Postyou can use a text box to draw your hangman if you want and just use character based graphics.
i.e.
____________ __________
| |
\ /
|
/|\
/ | \
|
/ \
just draw your hangman in the textbox in stages.Mike
All 7 Replies
BestJewSinceJC
700
Posting Maven
adams161
21
Posting Whiz in Training
c.pentasuglia
0
Newbie Poster
adams161
21
Posting Whiz in Training
adams161
21
Posting Whiz in Training
c.pentasuglia
0
Newbie Poster
adams161
21
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.