Messages - C++Speaker [ switch to compact view ]

Pages: prev1 2 [3] 4next
11
Hi,
Just before going on holydays 8) I want to post a version of the program with a little improvement, some bug-fixes and some new ideas.
The improved part is the final phase.
DemineBDS2006_improved.zip contains some configs: the previous version gives out probs requiring a random click from the user, while this new version can sort things out correctly.

The improvement come from a suggestion made by TPReal  :Thmbsup:

The help.html file with the prog. details all changes and a new version of the Techniques.html file describes the final-phase tecnique just added ;) and another trick previously not explained.

Gianni

As usual enjoy it !

... and good luck to everybody !!!  :D

12
Also remember to verify You have been successful with
Dependency walker for example:

http://www.dependencywalker.com/

Gianni

13
... i got Unable to locate component CG32.DLL warning ...

I had the same problem while testing my prog Demina on a fresh machine ...
It has to do with CodeGuard ... I had disabled it before compiling the release version, but somehow it was still required.  :(
At the very end I don't remember if I had to manually edit the project file or if I simply changed some other configs and build again !

Gianni

14
Here is the source code and an html file explaining some techniques used by the program (the techniques.html file in the techniques directory).

enjoy it !

Gianni

P.S. The program evolved over some attempts and some different (sometimes also wrong) techniques so if the code doesn't seem to cut corners and go straight to the point ... well it's possible.  :-[

As always bugs, suggestions, ideas and so on are welcome !  8)

15
Yeah, now I can say i like the program :)

Thanks  8)

I'd add an option that allows the program to choose one of the fields with least probability of being mined, if nothing is obvious, so that all board can (might) be solved just by pressing Ctrl+Space. And then I'd add an option for auto pressing Ctrl+Space :) as fast as possible...

Well this is a possibility, but it has been coded to be an helper not a 'solve Saper as fast as possible' tool, for example it also remember all possible configurations it has found and some other information. I like to use it when I'm not able to move forward and then try to understand the moves it suggests.
However I can share the source code, so everyone can even add the features she likes most.

Also, after making a move, the capture engine could just check those fields that might have changed, if that would make the process faster.

The capture phase is already quite fast, but obviously it can be improved. This can be an improvement.

Let's imagine situation where you have just made the first move, and the number 5 was revealed. Then, the rest of the board has much less probability of not being mined ...

Good point !  :Thmbsup: Really !

Nice work.

Many thanks again.

Gianni

Pages: prev1 2 [3] 4next
Go to full version