473,386 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Java Student Working on MineSweeper Needing Some Help

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
1 2302
r035198x
13,262 8TB
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

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

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
73
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
3
by: Begreen | last post by:
Hi All, I wrote a java program which outputs a xml file! But I would prefer this program to insert the DTD code on the fly, in the xml file when created! I want the xml file to look like...
4
by: java4life | last post by:
I have two java scripts below. I am expected to write a TestProgram to generate the out put below. Please help with the TestProgram. Lecturer 65374 has 2 students: Student number 1 has name of...
0
by: Brad King | last post by:
Hello all, I am going to describe my specific problem. Also, I can program in C++ & Java although I am a little rusty. I took both classes in order to get my MIS degree but have not touched them...
2
by: chiasien | last post by:
Hi All, I need help!! Please refer below for my java code. There was error some where inside! But need those expert to help me complete my Java code without error.... Please help!! Thanks alot. ...
3
by: Dameon99 | last post by:
Hi.. Im experiencing a weird error I dont know how to fix. I have a scanner object and whenever I use nextInt, anything above 3 causes the program to crash saying and links me to this line of the...
1
by: gypsyman58 | last post by:
First I need to create 2 classes. The first will contain an ID number and an array of 5 course titles. I also have to create a get and a set method for populating the ID. I also must create a method...
3
by: BlueroY | last post by:
hi, I'm working on an exercise, i did a lot of work already and i just can't figure where I'm going wrong, this is what I'm trying to achieve Sample IO...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.