This project received 28 bids from talented freelancers with an average bid price of $54 USD.Get free quotes for a project like this
Project Budget$10 - $30 USD
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online