473,654 Members | 3,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Student Working on MineSweeper Needing Some Help

1 New Member
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.c om/preview/g1277c8d8861n61 dg1n8582g181cfg 82/

This file is a zip and contains all the classes needed to run the program the main issue I think is in the MineSweeper.jav a 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 2316
r035198x
13,262 MVP
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.c om/preview/g1277c8d8861n61 dg1n8582g181cfg 82/

This file is a zip and contains all the classes needed to run the program the main issue I think is in the MineSweeper.jav a 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
3435
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 Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
73
7986
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 as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only LISP has rationals as far as I can tell. Because CL supports keyword arguments, it has a wider range...
3
4251
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 this:
4
1506
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 Patrick Student number 2 has name of Jay Below are the Lecturer and Student scripts for which I need to create a TestProgram: import java.util.*;
0
1516
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 since. Kid gloves with me would be awesome. The Background: I am pulling data out of student management system (OS/400 /DB2) into Crystal Reports. I have no command line access and will not be able to get it. I can use Crystal to query the...
2
1500
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. Java Code: //Import statement for the JoptionPane import javax.swing.JOptionPane; // Definition of class Student
3
2393
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 class: (one I added all the asteriss to. // If we are at the end of input then NoSuchElement; // If there is still input left then InputMismatch private void throwFor() { skipped = false; if ((sourceClosed) &&...
1
3700
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 to get a course. It does this by taking an integer and returning the course to that position (0 through 4). Then I must create a set method that sets the value of one of the courses by taking two arguements a name and an integer and returning the...
3
1752
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 ******************************************************************************* Welcome to PeopleSoft 2 MENU: (A)dd student, (D)elete, (L)ist, (S)ort, e(X)it a Enter the student number MSXMIC001 Enter the name
0
8372
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8706
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2709
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1915
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.