In this project you will be revisiting some GUI components in addition to building some game logic and reacquainting ourselves with inheritance and interfaces.
The traditional 15-puzzle is relatively easy to solve. There are 15 tiles in a 4×4 grid. The missing 16th tile allows for the tiles to be slid around the field.
Ideally, the puzzle is scrambled by one person who them times the other person to see how long it takes them to solve it. The game itself has been seen as numbers, letters, pictures. Solutions are often in a variety of forms. In the event of a picture, the solution is the restoration of the original picture. With numbers and letters, it is traditionally solved when the tiles are arranged in order left to right then top to bottom as shown below.
Figure 1: Completed puzzle.
For this project you will:
•Add a JPanel to the ContentPane.
•Managte a single-dimensioned array to hold the buttons.
•JButtons will show the numerical values 1 through 15 except for the blank button. This will have the empty string.
•Implement the ActionListener interface.
There is more details in an attachment file if more info is required.
28 freelancers are bidding on average $54 for this job
I'm an expert in Java. I have several Sun certifications about Java including SCJP and SCWCD and I'm sure that I can handle this task. Let me to handle this and I'll give you the result with highest [url removed, login to view]
I have 8+ years of experience. Can we discuss. I have got a depth of knowledge of these things. Please tell me when u r free so that we can talk to each other
Hello, I am Moiz. I am highly experienced Java programmer and also expert in many other technologies. I am sure I will be helpful to you :)). Looking forward to work with you.
I can do it in few hours.. If what i got is right.. "You want to create a jpanel in which u want to slide the button into the blank when it is pressed..." Message me if you are interested.. Thanks..
Hi, I've been developing software for more than 15 years with a focus on Java and teach programming in Java, C, and C++. I can easily create your 15-puzzle game with all required documentation included in a single day.
I have coded a project with similar requirements before, Since the project involves, the basics of Java, I am certain, that I can do it to the best of your satisfaction.
Hi! I can work better in this project. I am a new freelancer but I have experience and I'll do the quality work. You can see my portfolio as well. Thank You!