By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,693 Members | 1,936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,693 IT Pros & Developers. It's quick & easy.

Java Student Working on MineSweeper Needing Some Help

P: 1
Hi I have been for sometime now been working on a MineSweeper program and I'm 90% complete on it it involves a window interface and is quite simple but the issue is not. The program is long(to me) and includes maybe 4 classes and lots of code I was wondering if anyone would mind taking a look at it for me, I know thats a lot to ask of someone that knows nothing of me, but this problem is killing me and I have spent many hours trying to figure it out but for the life of me I cannot trace it or debug it and find the problem but here it is for those who know MineSweeper.

When an empty cell is clicked all the near cells that are empty get deleted and the boarding cells with numbers are "supposed" to display the number of cells near, this mostly works on all the cells but there are a few cells that do not show the correct number and show zero cells near even though there is a mine right next to them, now this is not common and happens on a few some mine cells have the correct numbers displayed around them but some don't, so if anyone can help me with this issue I would be in your debt, because I am lost to the point of insanity.

For those willing to help here is the download link:

http://www.gigeshare.com/preview/g1277c8d8861n61dg1n8582g181cfg82/

This file is a zip and contains all the classes needed to run the program the main issue I think is in the MineSweeper.java file. It's very large in my opinion, for those looking thanks again.

BTW: To download scroll down to the blue arrow and wait until the timer specified above ticks down the some odd seconds then a continuation link will be shown above the blue arrow saying (continuation) click that when you get to the new page scroll down again to the blue arrow and click on the blue arrow, now the file should download.

Gigeshare isn't the fastest file hosting service so please wait a couple of seconds after clicking the blue arrow for the download to appear.

Anyone who can help me solve this problem will receive my deepest gratitude because that's all I have to give! But honestly anyone who can help I would be greatly appreciated of, since I cannot solve this issue myself.
Apr 19 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Hi I have been for sometime now been working on a MineSweeper program and I'm 90% complete on it it involves a window interface and is quite simple but the issue is not. The program is long(to me) and includes maybe 4 classes and lots of code I was wondering if anyone would mind taking a look at it for me, I know thats a lot to ask of someone that knows nothing of me, but this problem is killing me and I have spent many hours trying to figure it out but for the life of me I cannot trace it or debug it and find the problem but here it is for those who know MineSweeper.

When an empty cell is clicked all the near cells that are empty get deleted and the boarding cells with numbers are "supposed" to display the number of cells near, this mostly works on all the cells but there are a few cells that do not show the correct number and show zero cells near even though there is a mine right next to them, now this is not common and happens on a few some mine cells have the correct numbers displayed around them but some don't, so if anyone can help me with this issue I would be in your debt, because I am lost to the point of insanity.

For those willing to help here is the download link:

http://www.gigeshare.com/preview/g1277c8d8861n61dg1n8582g181cfg82/

This file is a zip and contains all the classes needed to run the program the main issue I think is in the MineSweeper.java file. It's very large in my opinion, for those looking thanks again.

BTW: To download scroll down to the blue arrow and wait until the timer specified above ticks down the some odd seconds then a continuation link will be shown above the blue arrow saying (continuation) click that when you get to the new page scroll down again to the blue arrow and click on the blue arrow, now the file should download.

Gigeshare isn't the fastest file hosting service so please wait a couple of seconds after clicking the blue arrow for the download to appear.

Anyone who can help me solve this problem will receive my deepest gratitude because that's all I have to give! But honestly anyone who can help I would be greatly appreciated of, since I cannot solve this issue myself.
It says the file does not exist
Apr 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.