Commit Graph

2019 Commits

Author SHA1 Message Date
Calcitem e3b953100e trans: Fix typo: Change phrase to phase 2021-06-26 11:31:17 +08:00
Calcitem 110318e719 intl: cs: Fix WMD translation 2021-06-26 11:08:15 +08:00
Calcitem 78454d8220 Change arb files from 2 spaces to 4 spaces 2021-06-26 11:00:00 +08:00
Calcitem 82447feb2c Add Čeština (Czech language) machine translation 2021-06-26 02:38:13 +08:00
Calcitem 26f9142ec8 Refactor language code 2021-06-26 01:55:00 +08:00
Calcitem a917ca6f10 trans: fa: Fix translation of licenses 2021-06-26 01:03:10 +08:00
Calcitem d8aea6c680 Sanmill v1.1.4 (1962)
Official release version of Sanmill v1.1.4

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-25 01:55:06 +08:00
Calcitem f456fecea3 settings: Support set language
Known issue:
String "Welcome" is shown as default language.
2021-06-25 01:55:06 +08:00
Calcitem 8cc0d2cea9 Replace third party notices page to oss license page 2021-06-25 01:54:01 +08:00
Calcitem 7b1c13ed07 Sanmill v1.1.3 (1959)
Official release version of Sanmill v1.1.3

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-22 01:39:27 +08:00
Calcitem 91ad36d002 Fix exception when showing move history if history is empty 2021-06-22 01:24:34 +08:00
Calcitem d007f9eb52 Make "flutter_email_sender" work with Android 11 devices
Android 11 Unhandled Exception: PlatformException(not_available, no email Managers available, null, null)

See: https://github.com/taljacobson/flutter_mailer/issues/38
2021-06-22 01:05:03 +08:00
Calcitem 277b675793 Sanmill v1.1.2 (1956)
Official release version of Sanmill v1.1.2

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-21 01:15:27 +08:00
Calcitem f6bef42b78 Add Română (Romanian language) machine translation 2021-06-21 01:06:52 +08:00
Calcitem 59fe781cd5 Improve stability of import/export 2021-06-20 23:16:41 +08:00
Calcitem a93f7445b9 Sanmill v1.1.1 (1953)
Official release version of Sanmill v1.1.1

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-06-20 11:59:35 +08:00
Calcitem f5dcd3c2aa fastlane: Update description
* Add "Built with Flutter" to short_description.txt
* Add more description to zh-CN/full_description.txt
2021-06-20 11:51:11 +08:00
Calcitem 22c971028e help: Modify help content for N-move Rule
Replace 50-move Rule to 100 (configurable) move rule.
2021-06-20 11:32:28 +08:00
Calcitem c33b8d252a rule: Rename maxStepsLedToDraw to nMoveRule
TODO:
* Qt's stepsLimit has not been replaced;
* val name "rule50" is not been replaced.
2021-06-20 11:20:52 +08:00
Calcitem 64002f30b4 rule: Rename maxStepsLedToDraw to N-move rule
To make sure this rule's default value will be 100 when upgrading.
2021-06-20 11:19:57 +08:00
Calcitem 3782f18e41 Change N-move rule default value from 50 to 100
Qt is WIP because settings cannot be saved.
2021-06-20 10:57:21 +08:00
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