Commit Graph

1948 Commits

Author SHA1 Message Date
Calcitem d651c0ff07 Support importing PlayOK notation
At PlayOK (until April 4th, 2008 it was called Kurnik) a different notation is used,
the fields are numbered line by line in groups of 3 from top to bottom.
So on the top line are the fields 1-2-3, then follow 4-5-6 until finally the last line
is determined by 22-23-24. This notation is much easier to learn than the official one
suggested by the WMD.
2021-06-20 10:19:51 +08:00
Calcitem a3c9aa67c1 intl: de/en/hu: Rename Standard notation to WMD notation 2021-06-20 00:51:43 +08:00
Calcitem 34770caf79 help: Add (configurable) to 50-move rules's help
TODO: Add to other languages.
2021-06-20 00:29:38 +08:00
Calcitem 91bb1218c3 Fix typo backgroundColor 2021-06-20 00:21:09 +08:00
Calcitem c59ae7fe62 intl: en: Fix grammar
By:
https://becorrect.com
https://app.grammarly.com
https://www.scribens.com
https://languagetool.org
2021-06-20 00:08:48 +08:00
Calcitem b571f0d006 settings: Support specific N of "N-move rules" 2021-06-19 22:38:53 +08:00
Calcitem f4f7f49f5a flutter: Windows: Fix build error because build warning 2021-06-19 16:24:10 +08:00
Calcitem e57a917d09 Sanmill v1.1.0 (1940)
Official release version of Sanmill v1.1.0

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-19 00:02:10 +08:00
Calcitem d469104edf qt: Remove blank line of gamewindow.qrc 2021-06-18 23:59:02 +08:00
Calcitem 5564c8aa5c Remove unused translation 2021-06-18 23:45:33 +08:00
Calcitem 3027acc150 Improve Magyar (Hungarian language) translation 2021-06-18 22:59:30 +08:00
Calcitem 6f01ab71bd Sanmill v1.0.25 (1936)
Official release version of Sanmill v1.0.25

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-17 01:58:28 +08:00
Calcitem eedc191ad5 Add EULA link 2021-06-17 01:51:12 +08:00
Calcitem cf6fa77f4d Add Magyar (Hungarian language) machine translation 2021-06-16 23:52:55 +08:00
Calcitem 422003b5b3 Sanmill v1.0.24 (1933)
Official release version of Sanmill v1.0.24

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-16 02:05:00 +08:00
Calcitem 8c5f991cdf depth: Add count to array in order to foolproof 2021-06-16 01:02:46 +08:00
Calcitem fefa064cb9 depth: Limit 6th and 7th move depth to 15
Because if considerMobility is enabled, 6th and 7th
is too slow, so need to limit it. But cannot limit
less than 15, otherwise, c5 d5 b4 f4 d6 d2,
next move, white will place a lose point.

Now the performance only reduce 12%.
2021-06-16 01:01:44 +08:00
Calcitem 2a0ebba1bf depth: Fix placingDepthTable's error
Fix commit 3290b2b727
2021-06-15 23:55:31 +08:00
Calcitem 7bc437c367 mobility: Do not update mobility if not enabled
The performance improvement is 1%-2%.
2021-06-15 23:23:10 +08:00
Calcitem 48a28c74bb evaluate: Add evaluate mobility when moving
Not only placing.
2021-06-15 00:35:18 +08:00
Calcitem d719c70c5a Improve mobility performance by bitboard
And fix mobilityDiff value is wrong when moving.
2021-06-15 00:29:51 +08:00
Calcitem c0f92c2dcd Improve mobility performance (WIP) 2021-06-14 20:48:32 +08:00
Calcitem a18f96e1d5 refactor: Rename get_mobility_diff to calculate_mobility_diff
Because original get_mobility_diff() is used to re-calculate value.
2021-06-14 17:32:20 +08:00
Calcitem f30496c237 settings: Support Consider mobility of piece
Known issues:
1. Performance reduce 50%;
2. No visible significant improvement in win rate.
2021-06-14 13:39:04 +08:00
Calcitem 96457ed7b9 settings: Add Draw On HumanE xperience or not
Now "evaluate: Do not attack too early when first 5 moves"
controlled by this option.
2021-06-14 12:20:06 +08:00
Calcitem e2b7a37170 settings: Support draw on human experience 2021-06-14 12:12:03 +08:00
Calcitem 881c003791 types: Set VALUE_UNIQUE to 100
This is because the Mobility evaluation value needs to be added to total value next,
so that the total value may continue to increase, and it is not certain
that it will be lower than VALUE_UNIQUE.
2021-06-14 12:03:46 +08:00
Calcitem e67dfc5645 evaluate: Do not attack too early when first 5 moves
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,
now changed to place at d4/g4/d3/d1, it is not wrong too.

Test result:

Play against Perfect Database:
400 games.
There is no significant change in the Draw rate.

Play 90 games against the pre-improved version:
White (New) Vs Black (Old)
White's win rate increased to 20%,  equivalent to Black's winning rate
Originally less than 10%.
2021-06-14 12:01:52 +08:00
Calcitem 97247acb80 Sanmill v1.0.23 (1919)
Official release version of Sanmill v1.0.23

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-13 11:30:20 +08:00
Calcitem c25218bb34 Move now first if AI is thinking when tap New game (WIP)
Not take effective right now.
2021-06-13 11:30:20 +08:00
Calcitem 0727da134f export: Remove each line's end spaces
Known Issue: Last spaces is not removed.
2021-06-12 23:38:55 +08:00
Calcitem f517c7a776 import: Allow import # and () and /x and .number 2021-06-12 23:27:02 +08:00
Calcitem d0e620d858 import: Allow import number no dot 2021-06-12 22:57:32 +08:00
Calcitem d2be5efa17 import: Allow import ?/!/white/black/win/lose/draw/resign 2021-06-12 22:42:44 +08:00
Calcitem bec5c215d8 Show warning when imported moves and rule do not match 2021-06-12 22:36:18 +08:00
Calcitem 1fdc1c6a73 import: Allow import , and ; 2021-06-12 03:14:56 +08:00
Calcitem b49ab4ff20 import: Tip what string cannot be imported 2021-06-12 02:48:59 +08:00
Calcitem 037444d1d9 import: Allow import no space at end 2021-06-12 02:08:27 +08:00
Calcitem 6db98f3f8e import: Allow import upper case 2021-06-12 02:03:40 +08:00
Calcitem 6817cdc671 Sanmill v1.0.22 (1908)
Official release version of Sanmill v1.0.22

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-11 02:09:51 +08:00
Calcitem 3290b2b727 Fix white side attack so early from the sides at 3rd move 2021-06-11 02:06:53 +08:00
Calcitem 8622ec7333 dart: Fix warnings 2021-06-11 01:31:10 +08:00
Calcitem dfb68374fb Add a python script for converting arb to csv 2021-06-11 01:25:36 +08:00
Calcitem 9469d1c2e0 fastlane: zh-CN: Update video link 2021-06-11 01:14:03 +08:00
Calcitem e7518b1e7a
Merge pull request #225 from cweiske/de-android-metadata
Improve German translation (rules + android metadata)
2021-06-11 01:02:01 +08:00
Christian Weiske 38286fe3eb Improve German translation (rules + android metadata) 2021-06-10 18:18:54 +02:00
Calcitem d707f0b5f6 Sanmill v1.0.21 (1901)
Official release version of Sanmill v1.0.21

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-09 01:18:18 +08:00
Calcitem 3c078eb934 release.sh: Add build number to commit subject 2021-06-09 01:16:35 +08:00
Calcitem b1af7dc1db flutter: Show game button menu on bottom 2021-06-09 01:07:15 +08:00
Calcitem 61e3da9034 flutter: Support exporting game 2021-06-09 01:00:21 +08:00