d0gman;45122 wrote:Hey Sepefeets!
Would you mind writing a littlebit on the way silverfish uses these settings?
As far as I understood: SF calculates all possible plays of my current turn up to a certain amount (maxwide). From these list it takes the best boards (twotsamount) and calculates fewer enemy boards (enemyTurnMaxWide). Like before it only takes the best enemy boards from that list (nextTurnTotalBoards).
Now we reached my turn again and SF calculates my reaction for every of these best boards up to a certain amount (nextTurnMaxWide). From that list it takes best boards (nextTurnTotalBoards) and calculates the enemys reaction on my reaction until a certain amount (enemySecondTurnMaxWide).
In numbers:
SF calculates all possilbe plays up to 5,000 (maxwide). From that 5,000 it takes best 1,000 (twotsamount=20% of maxwide) and calculates possible plays up to 20 (enemyTurnMaxWide=10% of enemyTurnMaxWideSecondTime). Now we've got 20,000 calculated boards boards, right? From these it takes best the best 1,000 (nextTurnTotalBoards=20% of twotsamount) boards. (At this point SF already calculated up to 25,000 boards, right?)
For each of these 1,000 boards SF calculates 100 (nextTurnMaxWide=10% of nextTurnTotalBoards) own plays. This list of 100,000 boards is reduced to the best 1,000 boards (nextTurnTotalBoards=at 20% of twotsamount). (At this point SF calculated up to 125,000 boards, right?)
Now it's the enemys second turn and 20 (enemySecondTurnMaxWide=10% of enemyTurnMaxWideSecondTime) reactions of my 1,000 boards. (At this point SF calculated up to 145,000 boards, right?)
What is enemyTurnMaxWideSecondTime used for? Or nextTurnDeep?
Please correct me where I'm wrong ;)
Feature request: Is there any chance to add %-value to the settings.txt? That way value like twotsamount, enemyTurnMaxWide, enemySecondTurnMaxWide, nextTurnTotalBoards and nextTurnMaxWide would automatically adept on changing maxwide.
Cheers
d0gman
You've got the gist of it. One important thing to remember is that these are just limits and even on complicated boards the actual number of sims is much lower than the limit but each extra move adds exponentially more calculation time.
Can't say without tracing through the code to find how they are used but as my comment says in default settings.txt, I believe the last time I looked that nextTurnDeep is not actually used any more.
No, there are too many more important things to do to even consider it.