SOLUTION: Northern Virginia Community College Programming Languages MySQL Discussion

The Game HurkleThis week’s project is based on the game “Hurkle”. There are many variations of this game, and the version you will work on for your project is a one-dimensional version of it. The Hurkle is an imaginary creature that hides somewhere in a one-dimensional 1×10 integer game-space. Each time the game is run, the program places the Hurkle at a random position (0 through 10) in the game-and the player has a maximum of three (3) guesses to guess the Hurkle s location. The Hurkle does not move during the game. If the player finds the Hurkle, the program reports success and ends. If the player does not find the Hurkle the program gives a hint about what direction to move to find the Hurkle. There are two possible hints: right, or left.The given version of the program is a console-based version (meaning the inputs and outputs happen on the console display). Run this code for the game Hurkle to see how it executes. It works well in the console but your job is to convert it for running in SWING with more graphical feedback for the user.You job is to experiment with the given code, and then adapt it by incorporating SWING features, such that the inputs and outputs will be more GUI-oriented, rather than console oriented. We’ve used SWING features in several programs already (in the lectures) and earlier project assignments, so you may want to review your textbook reading and the code examples in the week that use SWING.Have fun, and don’t hesitate to ask questions.import java.util.Random;import java.util.Scanner;publicclass Hurkle{ publicstaticvoid main(String[] args) { // TODO Auto-generated method stub // gets user input for the keyboard Scanner input = new Scanner(; //Gets a random number between 0 and 1 Random ran = newRandom(); //variable to hold the users’ guess int usersAnswer; finalint LIMIT = 10; //variable to hold the system random number int rGuess; rGuess = ran.nextInt(LIMIT); // Here we are creating an array of one character strings into a String variable named ‘display’ String[] display ={“0″,”1″,”2″,”3″,”4″,”5″,”6″,”7″,”8″,”9″,”10”}; System.out.println(“You get 3 tries to win!”); // Tell the user how many tries they will get for(int tries = 0; tries < 3; tries++) { //ask the user for a guess System.out.println(“What is your number guess?” + ‘n’); //using the scanner class, get the user guess usersAnswer = input.nextInt(); if(usersAnswer == rGuess){ System.out.print(“Bingo, you win!” + ‘n’); tries = 9999; // 9999 is used because it is so far out of bounds it has to get out of the game } else if (usersAnswer < rGuess){ display[usersAnswer] = “>”; // replace the user guessed number with feedback: greater than, this is saving the feedback } else{ // so it doesn’t get lost for the user display[usersAnswer ] = “<“; // replace the user guessed number with feedback: less than } // Display the number line with feedback System.out.print(“Feedback : “); for(int i=0;i<display.length;i++){ System.out.print( display[i] + ” ” ); } } // end of for loop for the game System.out.println(‘n’); System.out.println( “Game Over, 3 tries you lose! The number was ” + rGuess); // 3 tries you lose }}Submission Details:Embed the two programs in a Microsoft Word document with a description of your programming strategy.Name your document

Order a unique copy of this paper
(550 words)

Approximate price: $22

Our Basic features
  • Free title page and bibliography
  • Plagiarism-free guarantee
  • Unlimited revisions
  • Money-back guarantee
  • 24/7 support
Our Options
  • Writer’s samples
  • Expert Proofreading
  • Overnight delivery
  • Part-by-part delivery
  • Copies of used sources
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

AcademicWritingCompany guarantees

Our customer is the center of what we do and thus we offer 100% original essays..
By ordering our essays, you are guaranteed the best quality through our qualified experts.All your information and everything that you do on our website is kept completely confidential.

Money-back guarantee always strives to give you the best of its services. As a custom essay writing service, we are 100% sure of our services. That is why we ensure that our guarantee of money-back stands, always

Read more

Zero-plagiarism tolerance guarantee

The paper that you order at is 100% original. We ensure that regardless of the position you are, be it with urgent deadlines or hard essays, we give you a paper that is free of plagiarism. We even check our orders with the most advanced anti-plagiarism software in the industry.

Read more

Free-revision guarantee

The thrives on excellence and thus we help ensure the Customer’s total satisfaction with the completed Order.To do so, we provide a Free Revision policy as a courtesy service. To receive free revision the Academic writing Company requires that the you provide the request within Fifteen (14) days since the completion date and within a period of thirty (30) days for dissertations and research papers.

Read more

Privacy and Security policy

With, your privacy is the most important aspect. First, the academic writing company will never resell your personal information, which include credit cards, to any third party. Not even your lecturer on institution will know that you bought an essay from our academic writing company.

Read more

Adherence to requirements guarantee

The academic writing company writers know that following essay instructions is the most important part of academic writing. The expert writers will, therefore, work extra hard to ensure that they cooperate with all the requirements without fail. We also count on you to help us provide a better academic paper.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2020 at 10:52 AM
Total price:
The price is based on these factors:
Customer Academic level
Number of pages required
Urgency of paper