Re: Minesweeper beater scenerios

new topic     » goto parent     » topic index » view thread      » older message » newer message

I added the AI in.
http://www.RapidEuphoria.com/uploads/mine3.zip
Dan

On 9/9/05, codepilot Gmail Account <codepilot at gmail.com> wrote:
>
> Ok, well i started on an AI to play it. Here is some notes, I'm
> uploading a new version real soon, with a screenshot and text file and
> AI.
> Dan
>
> board
> q=question mark
> l=fLag
> 0=0bombs
> 1=1bombs
> 2=2bombs
> 3=3bombs
> +=walls
>
> +++++++++
> +qqqql20+
> +1213l20+
> +0001110+
> +0000000+
> +++++++++
>
> 7/6     1/2 2/3
> 9/6     1/2 2/3 1/3
> 9/6         2/3 1/3 1/2
> 7/6             1/3 1/2
> probability is WRONG
>
>
> 4squares 16 possible combos, must count bombs
> 4squares2bs 6 possible combos, test the combos
>
> numb questionable spots per number is=2+3+3+2 =10
> numb numbered spots is =1+2+1+(3-2)=5
> 10/5=2 bombs total
>
> going from left to right
>  1234 tests
>  1211
>
> -0011 1test failed should touch 1 not 0
> -0101 2test failed should touch 2 not 1
> -0110 3test failed should touch 1 not 2
> -1001 2test failed should touch 2 not 1
>  1010 All Passed
> -1100 1test failed should touch 1 not 2
>
> possible tests
> 4*16=64 if not knowing how many bombs
> 4*6=24 possible
> 9 total need be done
>
>
>
>
> On 9/9/05, codepilot Gmail Account <codepilot at gmail.com> wrote:
> >
> > Just added newgame , it's temporary link is
> > http://www.RapidEuphoria.com/uploads/mine3.zip.
> > just puts newgame instead of sendleftclick. I put an example, and
> > tested it. Should be good.
> > Daniel
> >
> > On 9/9/05, Lucius L. Hilley III <guest at rapideuphoria.com> wrote:
> > >
> > >
> > > posted by: Lucius L. Hilley III <Euphoria at unkmar.com>
> > >
> > > Matt Lewis wrote:
> > > >
> > > > Lucius L. Hilley III wrote:
> > > > >
> > > > >
> > > > > I've come up with several more scenerios by now but....
> > > > > I've already ^started creating a sort of minesweeper game for the=
 purpose
> > > > > of creating an AI type of solver for the boards.
> > > > >
> > > > > ^started - But haven't had much time to get it very far.  I'll lo=
ok
> > > > > at your latest release and see if it will be easy enough to inter=
face.
> > > > > I may right the AI directly inline with it.
> > > >
> > > > You might take a look at the mines.exw that comes with wxEuphoria. =
 It
> > > > doesn't work exactly like MS' version, but it works, so you'd have =
a bit
> > > > of a head start.
> > > >
> > > > Matt Lewis
> > >
> > > Thanks for the suggestion.
> > > I thought about that but figured it might be easier to build my own.
> > > Wasn't really headed towards a full-fledged game anyhow.  So I wouldn=
't
> > > be needing an interface.  Currently the 3rd edition of the Beater has
> > > been working out nicely for my AI coding.  I have notice that it lack=
s
> > > the ability to start a New Game.  It is easy enough to detect if a
> > > game has ended.  But he didn't put a New Game option easy to find.
> > > I guess I could just find out how to send F2 via Keyboard to the game
> > > board.  But would be nice to have a new_game() procedure or something=
.
> > >
> > >    Lucius L. Hilley III - Unkmar
> > >
> > >
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu