I am working on a minesweeper project and everything is working fine EXCEPT for when you click on a cell and it contains a 0 (no mines around it) and it is supposed to open all the other "0" cells around it using recursion. Right now, I keep on getting stack overflow errors when I try to find all of the "0" cells in the cluster around the clicked cell. I have 2 2D arrays keeping track of 1. the tile status (OPEN, CLOSED, FLAG, QUESTION) and 2. the number of mines adjacent to the cell (0-9 with 9 being …

Member Avatar
+0 forum 0

My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, displaying them, and handling the logic for the game. That having been said, there's somewhere between 12 and 15 images that I need to load into the program as ImageIcons, so that my SweeperButtons can use them as icons. although I'd like the array of images to be loaded into …

Member Avatar
+0 forum 0

So I'm developing this minesweeper flags game and I have to deliver it in a couple of days, and I've already created the algorithm to show the numbers around the flags but it isn't working. Here's my project: http://www.tempfiles.net/download/201205/241554/flaghunter.html Could anybody give any help? :0 Best regards, jprs.22

Member Avatar
Member Avatar
+0 forum 1

I'm trying to make a program that read the timer value from Minesweeper. (OS is windows 7 64bit) Using cheat engine I found the base address of the variable, but it changes every time I run Minesweeper. What do I need to do to find out the base address automatically? Does it have something to do with the executable base address? Here's my code: #include <windows.h> #include <iostream> using namespace std; int main() { DWORD baseAddress = 0xFF1DAA38;//always changing DWORD offset1 = 0x18; DWORD offset2 = 0x20; DWORD pAddress1; DWORD pAddress2; float value = 0; DWORD pid; HWND hwnd; hwnd …

Member Avatar
Member Avatar
-1 forum 6

The End.