puzzle program
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
puzzle program
Yeah, this is my first complete just basic program. It's one of those puzzles where you move the squares around and when it's finished it forms a picture. Have fun or whatever it is you do. If you have any suggestions for how to make the program better that would be cool. Oh, I have a newer version that can be downloaded farther down the page now. I basically fixed a few bugs.
- Attachments
-
squarepuzzle.zip- Here it is, I changed the locations of the bitmaps so it works right now.
- (24.78 KiB) Downloaded 693 times
Last edited by robdeckard on Sat Aug 18, 2007 7:38 pm, edited 2 times in total.
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
you should have them in BMP\ folder with you program in the archive, like this:robdeckard wrote:If anyone has problems getting this to work it's probably because the bitmaps are in the wrong location. They should go under the bmp section under just basic.
Code: Select all
program folder
your program
BMP subfloder
all BMP's
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
ok
Thanks, i'll get on that since I'm not doing much right now.
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
yup
I changed the locations of the bitmaps like you(tsh73) said. Now, clicking up there will download it so it will be workable without having to move the files around.
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
make sure to unzip the program
To anyone downloading this. Make sure you unzip the program before running it. It wont work if it's still zipped.
-
JanetTerra
- Site Admin
- Posts: 117
- Joined: Wed Nov 24, 2004 2:49 am
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
fixedsomestuff
Thanks. Here is a newer version. This is here because I had to fix a few things. An observant friend pointed out that the puzzle only starts out solvable half the time so I had to fix that. I also figured out myself during the process of fixing that that there was another problem. When the blank square is all the way to the right then if you click on the square in the row below it and all the way to the left then they'll switch as if they were next to eachother. Same thing happens if the blank square is all the way to the left and you click on the square in the row above it and all the way to the right. I fixed this as well. The newer, more fixed version can be downloaded here if anyone feels like it. Oh, I just worked on the program some more. Now, it tells you how many moves it took for you to beat the puzzle and it asks if you're sure you want to restart the program when you click the button. The randomness is also improved.
- Attachments
-
puzzlever3.zip- Here it is again. Have fun.
- (25.46 KiB) Downloaded 690 times
-
robdeckard
- Posts: 9
- Joined: Mon Jul 30, 2007 4:36 pm
yup
In case no one notices that I changed it I replaced puzzlever2 with puzzlever3. It's the same, it just has a few improvements. I was thinking it might be hard to notice that I added some more text and changed the file.