automate minesweeper with python

Jay jaykoni at yahoo.com
Thu Jul 1 17:52:49 EDT 2010


pywinauto looks to be almost perfect. All I need now is to read the
numbers uncovered when a minesweeper square is clicked on, or that I
just hit a mine.

On Jun 30, 6:51 pm, Paul McGuire <pt... at austin.rr.com> wrote:
> On Jun 30, 6:39 pm, Jay <jayk... at yahoo.com> wrote:
>
> > I would like to create a python script that plays the Windows game
> > minesweeper.
>
> > The python code logic and running minesweeper are not problems.
> > However, "seeing" the 1-8 in the minesweeper map and clicking on
> > squares is. I have no idea how to proceed.
>
> You can interact with a Windows application using pywinauto (http://
> pywinauto.openqa.org/).
>
> Sounds like a fun little project - good luck!
>
> -- Paul




More information about the Python-list mailing list