What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » MineSwee++ 3: Play Minesweeper Flags with your computer

Pages: (14): « First « 4 5 6 7 [ 8 ] 9 10 11 12 » Last »
MineSwee++ 3: Play Minesweeper Flags with your computer
Author: Message:
hcsoso
New Member
*


Posts: 3
Joined: Jan 2004
RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
Easter Eggie
GOT IT:)

[Image: attachment.php?tid=20323&pid=190898]

.gif File Attachment: easteregg.gif (12.57 KB)
This file has been downloaded 2927 time(s).

This post was edited on 01-14-2004 at 03:07 PM by Mnjul.
01-14-2004 02:57 PM
Profile E-Mail PM Find Quote Report
hcsoso
New Member
*


Posts: 3
Joined: Jan 2004
RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
THE WAY TO GET IT:)

[Image: attachment.php?tid=20323&pid=190899]

.gif File Attachment: easteregg1.gif (28.58 KB)
This file has been downloaded 2898 time(s).

This post was edited on 01-14-2004 at 03:07 PM by Mnjul.
01-14-2004 02:58 PM
Profile E-Mail PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
hcsoso is my classmate...after I gave him quite a few hints (:P) he just worked it out!;) Great(Y)
As well he agreed that I edit his posts to make the attachment shown in the posts

Nice Jooooob

Choli: Fixed in next version

Does anyone else like or dislike the new skin?
01-14-2004 03:07 PM
Profile PM Web Find Quote Report
hcsoso
New Member
*


Posts: 3
Joined: Jan 2004
RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
not "quite a few"...^^"
almost all....
01-14-2004 03:13 PM
Profile E-Mail PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
Lobster: Could you use math equations to explain your post?

http://shoutbox.menthix.net/showthread.php?tid=20...d=189580#pid189580

In your post I at least know standard deviation...anyway just post your equations and I'll try to work it out;)

Thanks:)

If you don't want to..it's ok too:P
01-15-2004 01:43 AM
Profile PM Web Find Quote Report
Guido
Elite Member
*****

Avatar
Design is Safety

Posts: 4566
Reputation: 50
37 / Male / Flag
Joined: Dec 2002
RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
Colorful = better, however why don't you just do it like the MSN one? :-/
01-15-2004 07:35 PM
Profile E-Mail PM Web Find Quote Report
fluffy_lobster
Veteran Member
*****

Avatar
Posts: -2

Posts: 1391
Reputation: 23
36 / Male / Flag
Joined: Nov 2002
RE: RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
quote:
Originally posted by Mnjul
Lobster: Could you use math equations to explain your post?

http://shoutbox.menthix.net/showthread.php?tid=20...d=189580#pid189580

In your post I at least know standard deviation...anyway just post your equations and I'll try to work it out;)

Thanks:)

If you don't want to..it's ok too:P

OK, the way I'll do this is to do the equations php-style, which afaik is almost if not completely identical to c...

Supposing you had a class array named $combination which had a number of different properties.  Each item in the array represents a possible combination in which the current visible squares are all satisfied (e.g. every 2 has two mines next to it)

foreach($combination as $i=>$value){

$combination[$i]->squaresinvolved = $combination[$i]->knownemptysquares + $combination[$i]->knownmines ;

$combination[$i]->deviation = ($combination[$i]->squaresinvolved / $combination[$i]->knownmines)-(256/51) ;

$totaldev += sqrt($combination[$i]->deviation ^ 2);

}

$standarddev = $totaldev / count($combination) ;

foreach($combination as $i=>$value){

$combination[$i]->standardisedscore = $combination[$i]->deviation / $standarddev ;

}

Now each combination has a standardised score which represents the number of standard deviations from the average and ideal situation.  The closer to 0 this value is, the more likely the combination is.  To make the closeness to zero a positive thing, I think at this point it needs to be depolarised and reciprocated.  Then the reciprocal can be found as a fraction of the total and it's that fraction that is the direct probability of each combination.

foreach($combination as $i=>$value){

$combination[$i]->standardisedscore = 1/(sqrt($combination[$i]->standardisedscore ^ 2)) ;
$totalreciprocalstandardisedscore += $combination[$i]->standardisedscore ;

}

foreach($combination as $i=>$value){

$combination[$i]->probability = $combination[$i]->standardisedscore/$totalreciprocalstandardisedscore ;

}

Now we have to apply the combination's probability to each square to see which one it affects the most. Let's take every square that [o] might want to click on (i.e. every one that is adjacent to the existing cluster of uncovered squares) and throw them into some sort of array.  And let's suppose each of these squares has a property called "influences" which is an array of probabilities that have effect on that square.  For example, if it's adjacent to a 1 with 4 free spaces next to it, an array item would be added with a value of 0.25.  The number of items in the array would depend on the number of opened squares.  For each of these probabilities you multiply it by the combination's probability, and then at the end take the average of these probabilities.  For each combination, the average probability is added to get a perfect (i think) probability:

foreach($combination as $i=>$value){

foreach($possiblesquare as $j=>$value1){

foreach($possiblesquare[$j]->influences as $k=>$value2){

$possiblesquare[$j]->influences[$k] = $possiblesquare[$j]->influences[$k] * $combination[$i]->probability ;

}

$possiblesquare[$j]->probability[$i] = sum($possiblesquare[$j]->influences) / count($possiblesquare[$j]->influences);

}

}

foreach($possiblesquare as $i=>$value){

$possiblesquare[$i]->overallprobability = sum($possiblesquare[$i]->probability);

}




And if I'm right, that's the way the cookie crumbles :P
01-15-2004 09:29 PM
Profile E-Mail PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
quote:
Originally posted by Guido
Colorful = better, however why don't you just do it like the MSN one? :-/
I've used their sounds...if I use their pictures now I'm gonna end up sued:P
joke...I actually don't like the color theme of the zone game:) Maybe you prefer it to the style in MineSwee++, but it's up to the programmer :refuck:


Lobster: Thanks, I'll look into it soon. I know PHP as well, had studied it before;)
01-16-2004 08:24 AM
Profile PM Web Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
quote:
Originally posted by Mnjul
I actually don't like the color theme of the zone game Maybe you prefer it to the style in MineSwee++, but it's up to the programmer
why don't you add an option to change the color theme? ;)

btw, could you make an option to turn off the sounds? last night I was listening to some music at a very low volume (it was 1 am) and if I played MineSwee++ the sounds didn't let me hear the music *-)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
01-16-2004 11:35 AM
Profile PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Have you ever thought of playing MineSweeper Flags with your computer? - 1.1.236
quote:
Originally posted by Choli
why don't you add an option to change the color theme?
Good idea but...a bit useless:P j/k

quote:
Originally posted by Choli
btw, could you make an option to turn off the sounds? last night I was listening to some music at a very low volume (it was 1 am) and if I played MineSwee++ the sounds didn't let me hear the music
Added in next version, I should upload it in a few hours (Haven't done the matters about Lobster's good comments)
01-16-2004 11:37 AM
Profile PM Web Find Quote Report
Pages: (14): « First « 4 5 6 7 [ 8 ] 9 10 11 12 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On