Re: Group Project: Minesweeper solver, Pt. 1

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



??

You lost me there Ralph.


"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:OwNt2pgpIHA.4716@xxxxxxxxxxxxxxxxxxxxxxx
|
| "Kevin Provance" <casey@xxxxxxxxxxx> wrote in message
| news:OtuyuIQpIHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
| > Figured I'd give this a new thread.
| >
| > What I've start tonight is a simple program that will read the open
| > Minesweeper program and recreate the state of them game on a VB form.
| Since
| > Minesweeper has no objects that create it's interface, everything has to
| be
| > read and interprited by using GetPixel.
| >
| > Please be sure to read the notes in the general decs section.
| >
| > Since the amount of cells in Minesdweeper can be changed by the user,
and
| > since those settings are not saved in the registry until the program
| > closes...the infomation there becomes moot. So I had to compensate for
| ways
| > to determine the number of available cells with yet again, GetPixel.
| >
| > The code is fairly well commented
| >
| > You can get it here: http://www.vb6andvista.org/download/deminsweep.zip
| >
| > Enjoy, and please feel free to respond with anything. I should warn you
I
| > still use a lot of old school naming conventions and methods. Feel free
| to
| > update the methods as you like, but please, don't mess with my naming
| > conventions too badly. I use Hungarian Notation, but I despise
| underscores,
| > as you will see. Oh, and start Minesweeper on your own. I didn't mess
| with
| > any Shell implimentation yet.
| >
| > One challange I did not address is the fact that minesweeper can be
played
| > in black and white (why? I have no clue). Your running copy of
| minesweeper
| > needs to be in colour for any of this to work properly. It's something
| that
| > can be addressed later.
| >
| > Thanks for the opportunity Bob.
| >
| > - Kev
| >
|
| Are we allowed to monitor the 0,0 pixel on the desktop, thereby insuring a
| win?
|
| -ralph
|
|


.



Relevant Pages

  • Re: Group Project: Minesweeper solver, Pt. 1
    ... |> Minesweeper program and recreate the state of them game on a VB form. ... |> to determine the number of available cells with yet again, ... |> still use a lot of old school naming conventions and methods. ... |> update the methods as you like, but please, don't mess with my naming ...
    (microsoft.public.vb.general.discussion)
  • Group Project: Minesweeper solver, Pt. 1
    ... Minesweeper program and recreate the state of them game on a VB form. ... to determine the number of available cells with yet again, ... still use a lot of old school naming conventions and methods. ... update the methods as you like, but please, don't mess with my naming ...
    (microsoft.public.vb.general.discussion)
  • Re: Group Project: Minesweeper solver, Pt. 1
    ... Minesweeper program and recreate the state of them game on a VB form. ... still use a lot of old school naming conventions and methods. ...
    (microsoft.public.vb.general.discussion)
  • Re: Group Project: Minesweeper solver, Pt. 1
    ... Minesweeper program and recreate the state of them game on a VB form. ... I didn't mess ... any Shell implimentation yet. ... I got tired of launching minesweeper everytime prior to running the code, ...
    (microsoft.public.vb.general.discussion)