Commit Graph

2168 Commits

Author SHA1 Message Date
Calcitem 8ac13d061e
Sanmill v1.1.33 (2167)
Official release version of Sanmill v1.1.33

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-20 18:41:03 +08:00
Calcitem 1885a59eb5
Update flutter packages dependencies 2021-09-20 16:45:09 +08:00
Calcitem e4e7bff14b
build: Support Flutter 2.5.1 2021-09-20 15:36:19 +08:00
Calcitem 1f9ea8a35f
Sanmill v1.1.32 (2164)
Official release version of Sanmill v1.1.32

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-20 01:18:46 +08:00
Calcitem 8dddc79250
settings: Add Algorithm settings 2021-09-20 01:06:50 +08:00
Calcitem e4c774eafc
i10n: Add string of "Algorithm" 2021-09-19 22:04:10 +08:00
Calcitem 9b6c096cb4
l10n: Add append.sh 2021-09-19 22:03:36 +08:00
Calcitem 82e44da06f
Sanmill v1.1.31 (2160)
Official release version of Sanmill v1.1.31

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-18 01:07:34 +08:00
Calcitem 4b3dca10d0
depth: 9mm and 12mm using separate placing depth tables
To improve Twelve Men's Morris power.
2021-09-18 00:28:13 +08:00
Calcitem 38bbf52c15
depth: Limit black 3rd move thinking depth to less than 3
For this move list:

 1.     b4    f4
 2.     d6    d2
 3.     b6    b2
 4.     f6xb2    b2
 5.     c5

Black:
Bad move:  f2xb4 (lost in 39)
Good move: f2xc5/ or no mill

(From so_gewinnt_man_muehle)

We cannot stop black to do bad move at 5th.
So we try to stop black to do b2 at 4th.
Through change black's 3rd move depth to 3,
Black will do d7/d5/a4/c4.

This commit is not conflict with
"depth: Limit 6th and 7th move depth to 15"
(fefa064cb9)

Test result:
If change depth to less than 2 (not 3), played 600-800 games.
Before change:
20% : 32% : 48%
After change:
17% : 43% : 39%
2021-09-18 00:18:03 +08:00
Calcitem 438380d1b3
depth: Remove unnecessary setting depth to 3 when move index is 4 getDrawOnHumanExperience is on
Because placingDepthTable[4] == 3.
2021-09-17 23:24:09 +08:00
Calcitem 4645bf4054
Sanmill v1.1.30 (2156)
Official release version of Sanmill v1.1.30

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-15 01:01:35 +08:00
Calcitem 795a3f3271
settings: Add Piece highlight color setting
Default value is Red.
2021-09-15 00:18:12 +08:00
Calcitem c37bd7cc74
depth: Limit white 6th move thinking depth to less than 8
Can fit:

1.     d6    b4
2.     f4    d2
3.     c4    e3
4.     f6    f2
5.     b6xd2    d2
6.     d5 (Bad move 39)

f5/a1/b2/d1/g1 is Good move.

Test Result:

2 2/3 X
3 OK
4 2/3 X
5 OK
6 2/3 X
7 OK
8 OK
9 X
10 X
20 OK

Both this and f3b7afc are OK:
5/7/8
2021-09-13 22:17:27 +08:00
Calcitem 5fa277d80b
settings: Set ConsiderMobility to on as default
For this game:

Black:
Bad move: e5
Good move: d7
Enable ConsiderMobility can fix.

1.     d6    f4
2.     b4    f6
3.     f2    d2
4.     c5    c4
5.     d5
2021-09-13 00:34:15 +08:00
Calcitem 87def8d825
settings: Change max value of skill level from 20 to 30
The reason to raise this maximum is because for the following game.

 1.     f4    d2
 2.     b4    d6
 3.     d1    d5
 4.     d7    c4
 5.     g1    a1
 6.     g4    e4
 7.     g7xe4    e4
 8.     a7xe4    e4
 9.     d3    a4
10.    d3-c3    d5-e5
11.    c3-d3    e5-d5
12.    d3-e3    c4-c5
13.    f4-f2    e4-f4
14.    b4-c4    d5-e5
15.    e3-e4    c5-d5
16.    c4-c5    d2-b2
17.    d1-d2    a1-d1
18.    d2-d3    b2-b4 (bad move 39. Should be a4-b4)

Set skill level to 24 and set thinking time to 0 (means infinite) can do the right move.
2021-09-13 00:34:15 +08:00
Calcitem f3b7afc544
depth: Limit white 6th move thinking depth to less than 9
1.     d6    f4
 2.     b4    d2
 3.     d3    e4
 4.     g4    d5
 5.     a4    c4
 6.     f6    (bad 35)

Test Result:

 3. X
 4 OK (Unique b6)
 5 OK (c3/e3)
 6-9 OK (Unique b6)
 10. half X
 11. half X
 16. half X
 20. OK
2021-09-13 00:34:05 +08:00
Calcitem b65d513678
depth: Limit black 5th move thinking depth to less than 2
Can fit:

Black:
Bad move: f6
Good move: c5 / b4 / d3 / d2 / e3

 1.     d1    d6
 2.     c4    f4
 3.     g7    d7
 4.     d5    g4
 5.     e4

And also can fit

(Commit ff37bc3310)

Black:
Bad move: d5
Good move: f2xd7

 1.     d6    f4
 2.     b4    d2
 3.     b6    f6
 4.     b2xf6    f6
 5.     d7
2021-09-12 11:59:24 +08:00
Calcitem bc10254bda
github-action: Change flutter version from channel stable to v2.2.3 2021-09-10 01:15:15 +08:00
Calcitem 0dae2b48e8
Sanmill v1.1.29 (2148)
Official release version of Sanmill v1.1.29

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-10 01:02:41 +08:00
Calcitem 1fb02408f5
evaluate: Do not attack too early when first 5 moves (2)
e67dfc5645  was invalidated by a change
in the parent commit, so it was reworked.

If first 4 moves is placing at star point, move 5 temporarily use depth 1 search
in order to make sure white player do not attack and try to block black.
(For 9ms, star point is b4/d6/f4/d2)

This changed the white's moves.

For nine men's morris:

If first 4 moves is:
1. b4 d6
2. f4 d2
Next move, white will place at a4/c4/e4/g4,
now changed to place at d7/d5/d3/d1

If first 4 moves is:
1. b4 f4
2. d6 d2
Next move, white will place at b6, it is not wrong,
Note: This is the difference between e67dfc56.

Play 100 games against with v1.1.27, Result:
27% : 11% : 62%
8% : 32% : 60%
Sum: 29.5% : 9.5% : 61%
2021-09-10 00:57:01 +08:00
Calcitem 8e905981f6
Sanmill v1.1.28 (2146)
Official release version of Sanmill v1.1.28

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-08 22:16:09 +08:00
Calcitem 6a7173211b
ai: Fix #100: Update alpha when searching
When MTD(f) is disabled, played 1000 games, Win Rate:

New Vs. Old
25.7% : 17.1% : 57.2%

Old Vs. New
12.9% : 28.3% : 58.8%

When MTD(f) is enabled, played 250 games, Win Rate:

New Vs. Old
28.4% : 14.8% : 56.8%

Old Vs. New
10.8% : 32.0% : 57.2%
2021-09-08 22:07:13 +08:00
Calcitem 77b65d2cde
build: Fix build error when MTDF_AI is off 2021-09-08 15:03:20 +08:00
Calcitem 55341e9b2c
Sanmill v1.1.27 (2143)
Official release version of Sanmill v1.1.27

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-05 11:40:15 +08:00
Calcitem 00827f7b76
accessibility: Fix board coordinates for Right-To-Left layout 2021-09-05 11:36:34 +08:00
Calcitem e5193b83a1
settings: Move experiments to developer mode card 2021-09-05 11:07:35 +08:00
Calcitem ff0c27a0c2
info: Show a period at the end of tip only when screenReaderSupport is enabled 2021-09-05 10:28:45 +08:00
Calcitem bcca06014a
Title bar supports system's dark mode 2021-09-05 02:16:06 +08:00
Calcitem ccee0de09f
info: Show period and comma only when screenReaderSupport is enabled 2021-09-04 23:49:31 +08:00
Calcitem af25423d4e
Sanmill v1.1.26 (2137)
Official release version of Sanmill v1.1.26

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-04 13:13:56 +08:00
Calcitem 0f30ec7a48
info: Add punctuation to make it easier for screen readers to read with pauses 2021-09-04 13:08:03 +08:00
Calcitem 4cad628873
info: Replace "It is a Draw" to "Draw" 2021-09-04 12:54:34 +08:00
Calcitem 14cbba4727
l10n: Sync POEditor
And add replace-locale.sh
2021-09-04 11:16:36 +08:00
Calcitem 209e41a7cc
Clear some snack bars as required before showing new stack bar
And show last move tip when changing history.
2021-09-03 04:16:25 +08:00
Calcitem 4129033042
Clear snackbars when start new game 2021-09-02 00:48:29 +08:00
Calcitem 1fd699ebf4
l10n: Change String of "The game started" 2021-09-02 00:37:33 +08:00
Calcitem a49eb79afb
info: Add : to side to move 2021-09-02 00:34:21 +08:00
Calcitem 4351b0eae5
Sanmill v1.1.25 (2129)
Official release version of Sanmill v1.1.25

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-09-01 02:28:10 +08:00
Calcitem a224f91a44
fastlane: Add accessibility to full_description.txt 2021-09-01 02:26:39 +08:00
Calcitem 0b44adfd78
l10n: Update translations for accessibility 2021-09-01 02:21:00 +08:00
Calcitem 2894cb6b12
accessibility: Read coordinates first only when point is empty 2021-09-01 00:16:43 +08:00
Calcitem 8b05014d52
accessibility: Read coordinates first and then read piece name 2021-08-31 23:24:02 +08:00
Calcitem 629aa3018f
accessibility: Show toast when selecting piece and doing error move 2021-08-31 02:09:30 +08:00
Calcitem f5715da8ae
accessibility: Show toast when selecting piece 2021-08-31 00:56:52 +08:00
Calcitem 3dfd5f00e2
accessibility: Add semantics to SimpleDialog 2021-08-31 00:39:21 +08:00
Calcitem 3df86003e2
accessibility: Add semantics to slider 2021-08-31 00:06:39 +08:00
Calcitem 52d59bbb1e
info: Show last move 2021-08-30 23:44:26 +08:00
Calcitem 4bb560c24d
Show phase/side/tip and adjust display order in info 2021-08-30 00:38:55 +08:00
Calcitem de3fefc9b5
accessibility: Exclude semantics for animated title text 2021-08-29 23:20:29 +08:00