GUI Programming: Hangman – Simplified Version

已完成 已发布的 Dec 4, 2013 货到付款
已完成 货到付款

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

项目ID: #5194740

关于项目

4个方案 远程项目 活跃的Dec 4, 2013

授予:

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 在1天内
(44条评论)
5.0

有4名威客正在参与此工作的竞标,均价$29/小时

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 更多

$30 USD 在0天内
(238条评论)
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 在3天内
(2条评论)
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 在3天内
(0条评论)
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 更多

$30 USD 在2天内
(0条评论)
0.0