Commit Graph

1829 Commits

Author SHA1 Message Date
Calcitem 8c1e8c2ba0 fastlane: zh-CN: Fix typo 2021-05-21 22:30:28 +08:00
Calcitem b6096bc7a1 Sanmill v1.0.10
Official release version of Sanmill v1.0.10

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-05-21 01:59:39 +08:00
Calcitem fd2a52f724 depth: Fix to depth 1 when searching first 2 moves
In order to consider only position instead of material.

Case:
Human AI
1. d6 f4
2. b4 g4
3. e4 f6
4. f2 d2??
5. d3 d7
6. e3 e5
7. c4 a4
8. c3xa4 a4
9. c5xd2 g7
10. d3-d2 a4-a7xd2
11. c5-d5 a7-a4
12. d5-c5xg7 a4-a7
13. b4-b2 g4-g7xf2
14. c4-b4 e5-d5
15. b2-d2 a7-a4
16. d2-d3xd7 g7-g4
17. e4-e5 a4-a7
18. e3-e4 a7-d7
19. d3-e3xf6 g4-g1
20. e3-d3 g1-d1
21. b4-c4xd5 d7-d5
22. e4-e3xf4

The computer loses as early as move 3.
It is a theoretical loss according to the online database.

Thanks @Matt
2021-05-21 01:55:33 +08:00
Calcitem 14a2dbc955 flutter: Remove legacy regret code 2021-05-20 23:38:25 +08:00
Calcitem 2ab065e3c4 flutter: Only show the notation on board on two sides
On left and bottom. Gets a bit cluttered otherwise.
2021-05-20 23:01:09 +08:00
Calcitem f63831ee2a Sanmill v1.0.9
Official release version of Sanmill v1.0.9

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-05-20 03:09:36 +08:00
Calcitem ca6d9a23e5 flutter: Fix var's typo 2021-05-20 03:07:56 +08:00
Calcitem 40a193c931 flutter: Show notations on board (configurable)
A File - the vertical line on the board which marked by letters abcdefgh.
A Row - the horizontal line on the board which marked by numbers 12345678.
2021-05-20 03:05:15 +08:00
Calcitem 0a81f4b3f2 flutter: android: Fix WARNING: The option setting 'android.enableR8=true' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
2021-05-19 01:19:22 +08:00
Calcitem e8f2ac8dc5 flutter: settings: Check null when loading setting file 2021-05-19 01:13:58 +08:00
Calcitem 925a55e6e8 Sanmill v1.0.8
Official release version of Sanmill v1.0.8

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-05-18 00:28:50 +08:00
Calcitem 728c43a860 flutter: Support taking back 2021-05-18 00:23:24 +08:00
Calcitem 0bb4bfb762 flutter: Refactor game_page.dart 2021-05-17 21:46:09 +08:00
Calcitem bf2d7131e1 flutter: java: Do not call supper.attachBaseContext if base is null 2021-05-17 16:20:49 +08:00
Calcitem b6947421e3 flutter: java: Do not new callback for xCrash if API Level < 19 2021-05-17 16:01:47 +08:00
Calcitem ddf6e3bcec Sanmill v1.0.7
Official release version of Sanmill v1.0.7

Signed-off-by: Calcitem <calcitem@outlook.com>
2021-05-17 00:37:40 +08:00
Calcitem c3008d37a6 Add release.sh
To auto add patch number and git tag and git push.
2021-05-17 00:36:39 +08:00
Calcitem 7b99f49d1d flutter: github-action: Print verbose log when building 2021-05-16 22:58:48 +08:00
Calcitem c88e3fd60a flutter: Support standard notation 2021-05-16 22:51:39 +08:00
Calcitem 8d6a961877 Sanmill v1.0.6
Official release version of Sanmill v1.0.6
2021-05-16 19:08:33 +08:00
Calcitem 8a7b575952 flutter: devmode: No need to throw exception when shutdown (2) 2021-05-16 13:53:43 +08:00
Calcitem bc115a20e8 flutter: Add tag to print 2021-05-16 13:18:59 +08:00
Calcitem 736d3f2238 flutter: audio: Do not _playSound soundId is null (WAR)
When soundId is null, config play sound is enabled.
I don't known the root cause.
2021-05-16 12:30:06 +08:00
Calcitem bd65f9226e flutter: Print when config changed 2021-05-16 12:18:08 +08:00
Calcitem 9fc2f4b0cc flutter: Rename status to tip 2021-05-16 11:51:34 +08:00
Calcitem bb0ec6672c flutter: Add more print 2021-05-16 11:46:25 +08:00
Calcitem 142e32b17d flutter: c++: Replace NULL to nullptr 2021-05-16 11:20:36 +08:00
Calcitem b1ce6c61e8 flutter: Ignore board tapping when engineType is aiVsAi 2021-05-16 11:18:34 +08:00
Calcitem cf44c3f57a flutter: devmode: No need to throw exception when shutdown
Because frontend send 'shutdown' to engine when dispose.
Detect timeout only when send go and engine not receive shutdown.
2021-05-16 09:58:52 +08:00
Calcitem ab86323b4a flutter: refactor: Rename manualText to moveHistoryText 2021-05-15 23:53:41 +08:00
Calcitem e6057e7eb8 .gitignore: Add sanmill_settings.json 2021-05-15 23:53:41 +08:00
Calcitem 443c08b256 Partially fix #195: Error: Invalid Move: (none)
1. Initial movePriorityList
2. Add await to send(getPositionFen(position!)); and await send('go');

See: https://github.com/calcitem/Sanmill/issues/195
2021-05-15 23:15:31 +08:00
Calcitem 2a7a3de858 Sanmill v1.0.5
Official release version of Sanmill v1.0.5
2021-05-15 01:49:59 +08:00
Calcitem d19b70eca7 flutter: strings: Change Hint to Info
Thanks Matt Littlewood!
Feedback: What does the hint button do? I dont see the hint.
2021-05-15 01:38:54 +08:00
Calcitem bec4e57d27 flutter: strings: Modify challengeHarderLevel 2021-05-15 00:22:56 +08:00
Calcitem c2af00c10d Indicate white pieces as player one and black as player two
Thanks Matt Littlewood!
2021-05-14 23:51:52 +08:00
Calcitem 7e40f0dec7 flutter: android: Add key.jks to .gitignore 2021-05-14 20:54:57 +08:00
Calcitem aaa02cc307 flutter: Change settings path [Broken]
All the settings will be restored to default settings when upgrading to new version.

Change Filename to sanmill_settings.json.

File directory:
Android: External Storage Directory (Android/data/com.calcitem.sanmill/files)
Windows: ./
Other: Documents Directory
2021-05-14 20:52:37 +08:00
Calcitem 037c40d6d4 flutter: Fix typo
(cherry picked from commit 360173eefa)
2021-05-14 20:25:39 +08:00
Calcitem bcd03c59f7 flutter: non-Android: Prompt exit App manually when restoring default settings
(cherry picked from commit 6c1e6a33a9)
2021-05-14 20:25:39 +08:00
Calcitem 0797f5986d flutter: Call SystemNavigator.pop only on Android
(cherry picked from commit b7098cd2b9)
2021-05-14 20:25:39 +08:00
Calcitem e1208ea13a flutter: windows: Disable Maximize button
See: https://bbs.csdn.net/topics/330001263
(cherry picked from commit d9f973312a)
2021-05-14 20:25:39 +08:00
Calcitem c01aee9b43 flutter: Fix bottom overflowed when show countdown dialog on Windows
(cherry picked from commit bf4523f659)
2021-05-14 20:25:39 +08:00
Calcitem 89ef5c2dcd flutter: windows: Change title to "Mill (N Men's Morris)"
(cherry picked from commit 2852dbf1f7)
2021-05-14 20:25:39 +08:00
Calcitem 82b7c1374d flutter: Windows: Add msix_config 2021-05-14 20:06:54 +08:00
Calcitem c7bff6d150 flutter: Windows: Change version to 1.0.4 2021-05-14 20:06:54 +08:00
Calcitem 29842e44e5 flutter: deps: Add msix
How to create msix:
flutter build windows
flutter pub run msix:create

See: https://pub.dev/packages/msix
2021-05-14 20:06:54 +08:00
Calcitem 944611933c flutter: windows: Force locale to "en_US" 2021-05-14 20:06:54 +08:00
Calcitem fd320117aa flutter: Windows: Can get packageInfo.version but not correct 2021-05-14 20:06:54 +08:00
Calcitem 75419ddbd6 flutter: windows: audios: Return functions if platform is Windows 2021-05-14 20:06:54 +08:00