Number Mode (I haven't programmed it yet, but it's very easy to do).So I wrote all the functions on my own because I did not wanted to use any of the APIs. In this game, there are 15 tiles or buttons which you have to arrange numerically, or if you are playing in the picture mode then you have to arrange the titles in order to get the image as shown on the right side. In this game, there is one empty tile where other tiles can come. Only the adjoining tiles can take its place. Whenever you click a tile (button), it shifts towards the empty block if there is a way. Like this way, you have to arrange the tiles so as to make the image as shown in the figure on the right side. Using the codeįirst of all, I created a Panel. I stored all the buttons in an ArrayList alAllButtons. Now I load the default image and store it in a variable MainBitmap.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |