• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

I'm amazed with myself...


log in or register to remove this ad



Bugger, it either doesn't work with the XP version (the politically correct one with the flowers) or it doesn't work with the Italian version. Psionicist, would you mind if I took a look at the code? I'm learning Windows programming and interacting with another program is something I can't do, I could use a cool example like this. My email is filpolo@tin.it.
 

Psionicist, that's truly impressive, although it has replaced my 10 second beginner time with 2 seconds now!!

How does that work? When I watch it, it just uncovers non-bomb squares. What keeps it from hitting a square that has a bomb in it in the first move?
 

To tell you the truth, the program is pretty dumb. Why, it cheats! The program reads winmine.exe's memory and therefore, it knows where all the mines are even before it does something with the grid. (A way for me to learn how to disassemble programs and do some real time debugging. screenshot)

Zappo: I will email you source tomorrow. It probably doesn't work because the program looks for "Minesweeper" or "Röj" (swedish name).
 

Got it, thanks. :)

It would be interesting to make a program that actually solves minefield. Pity I already have many more projects than free time. :( I can't even say that I'll do it when I'm retired, since by that time we'll probably have toasters that can solve minefield. :p
 

Psionicist, I attempted to befuddle it, so I created a custom grid of 20x20, with 200 bombs. The map was more bombs than clear spaces, and after the grid was clear, there'd be like a handful of 1's, but mostly 3, 4, 5, and 6s. There were even some 8's! At first I thought it was actually attempting to solve the puzzle, but there is no way you can find an "8" without getting really lucky. So, I knew something had to be up.
 


I am so out of practice.
 

Attachments

  • minesw.PNG
    minesw.PNG
    22.8 KB · Views: 91

Into the Woods

Remove ads

Top