The 15 Puzzle, also called Game of Fifteen, is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing. To solve the puzzle, the players must place the tiles in order by making sliding moves that use the empty space.
In that tutorial, you are going to develop a 15 Puzzle – Game of Fifteen in Java 8 with Eclipse. For the User Interface, we will use Swing API. It is a good way to discover how to develop a simple game in Java and how to manage the interaction with the users.
► Complete source code can be found here : You can find the source code here :
#java #programming #gaming
If you have some comments concerning this tutorial, feel free to use the comments.
A written version of the tutorial with the complete source code is available here:
Note that you can also discover an Android implementation of this classical game just here :
► Discover all the Android Apps offered by SSaurel Mobile Apps :
► Learn to create Android Apps step by step on the SSaurel’s Blog :
► Enter in the Bitcoin and cryptocurrency World :
21 Comments