GUI Programming: Hangman – Simplified Version

Completed Posted Dec 4, 2013 Paid on delivery
Completed Paid on delivery

Steps to Complete Program

Step 1: Create a New Java Project, name Hangman

Step 2: Add a New JFrameForm component called HangmanFrame.java.

Step 3: Create a [url removed, login to view] Class that extends JButton

This class will be used to create the 26 letters of the alphabet

Step 4: Create a [url removed, login to view] Class that extends JLabel

This class will represent the secret selected word you will need to guess

Step 5: Create three (3) empty panels using the drag-n-drop feature

Panel 1 will host the alphabet

Panel 2 will be the main body

Panel 3 will host the secret word

See below for each component in the screenshot below.

Step 6: Select a random word from an input file

6.1: Load [url removed, login to view] file

6.2: Add all the words to an ArrayList

6.3: Use a random object to pick a random number between 0 and the size of the ArrayList

6.4: Use [url removed, login to view] class from Step 4 above to draw empty labels to Panel 3. The

number of labels should be the secret word length.

Step 7: Evaluate each letter button click and update Strikes, Score and Used Words label.

Step 8: If the user uses up all the strikes, end the game by displaying game over with the correct word and disabling the alphabet.

Step 9: If the use guesses the secret word correctly without using up all strikes, display the “You win” message.

Step 9: Clicking the New Game button should reset the game.

Java

Project ID: #5194740

About the project

4 proposals Remote project Active Dec 4, 2013

Awarded to:

DucNA

Hi there, I've read your requirement. I can do it. Pls check my page to get more information about me. Best regards, Duc Nguyen

$25 USD in 1 day
(44 Reviews)
5.0

4 freelancers are bidding on average $29 for this job

it2051229

Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com an More

$30 USD in 0 days
(238 Reviews)
6.4
vanpham

Hello, I don't have a lot of professional skills in Java. But this is a simple project to me. I can handle this. So I will be very happy if you let me do this for you. Thanks. Van Pham.

$30 USD in 3 days
(2 Reviews)
1.0
Almuqaddim

Hi I am a professional java j3EE developer, and i am really interested in doing that project for you. discuss with me and let me help you to complete this job. waiting for your response thanks

$63 USD in 3 days
(0 Reviews)
0.0
lovekush123

I have a more than 5 years hands on experience in java Coding. I have had a great experience in programming for such problems and can do this one in a jiffy. Once you accept my bid I would be able to deliver this one i More

$30 USD in 2 days
(0 Reviews)
0.0