Commit Graph

1318 Commits

Author SHA1 Message Date
Calcitem f58fc485e7 flutter: Tap board to let AI start thinking if AI is first move 2021-03-28 00:51:25 +08:00
Calcitem 8fc4b0038c flutter: Fix first tap response slow when piece count changed
Call tree:
Game.shared.newGame(); ->
      Game.shared.start();
      Game.shared.position.init(); ->
		setPosition(rule); ->
			getNPiecesInHand();

To fix fen string.
2021-03-28 00:27:20 +08:00
Calcitem be5b877885 flutter: Add exit/quit menu item 2021-03-27 21:55:02 +08:00
Calcitem 3d9ad02d20 flutter: Replace ColorizeAnimatedTextKit by AnimatedTextKit and ColorizeAnimatedText 2021-03-27 21:33:29 +08:00
Calcitem 76d0b4cc3e flutter: Upgrade dependencies 2021-03-27 21:06:39 +08:00
Calcitem a6d291d8de flutter: Fix dead code 2021-03-27 21:06:18 +08:00
Calcitem 8f706716a3 flutter: Remove warp.sh to fix aab build error (WAR)
flutter build appbundle
Execution failed for task ':app:packageReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > File 'root/lib/arm64-v8a/wrap.sh' uses reserved file or directory name 'lib'.
2021-03-27 12:21:57 +08:00
Calcitem ffaf7ca167 Flutter: Add internet permission on Android only for debug build type
See:
https://github.com/flutter/flutter/issues/20789
https://stackoverflow.com/questions/51751873/flutter-app-does-not-start-in-debug-mode
https://stackoverflow.com/questions/55603979/why-flutter-application-cant-connect-to-internet-when-install-app-release-apk
2021-03-27 11:57:26 +08:00
Calcitem 998542d823 flutter: Assert when engine timeout 2021-03-27 11:33:32 +08:00
Calcitem 151558a2e3 perfect: Fix build error on clang (WAR) 2021-03-27 09:23:44 +08:00
Calcitem 475826e976 flutter: Add ASan and HWAsan configs but not enable 2021-03-26 02:32:08 +08:00
Calcitem 4673868c94 flutter: Add quote to native-backtrace.sh 2021-03-25 01:31:07 +08:00
Calcitem 5b45e83719 flutter: android: Add native-backtrace.sh
See: https://developer.android.com/ndk/guides/ndk-stack
2021-03-22 23:58:26 +08:00
Calcitem 9a27ec302c flutter: android: Add debug signingConfig to build.gradle 2021-03-22 23:58:26 +08:00
Calcitem be5f1c6921 Fix some kritika.io reported problems 2021-03-22 23:58:26 +08:00
Calcitem c6640c977b flutter: refactor: Rename profile to settings 2021-03-22 23:58:25 +08:00
Calcitem b40617e74a flutter: Set default rule to Nine men's morris 2021-03-22 23:58:25 +08:00
Calcitem 1d6d82d313 flutter: Refactor 2021-03-21 11:56:40 +08:00
Calcitem b418a1a4bd flutter: android: Add settings_aar.gradle 2021-03-21 11:17:35 +08:00
Calcitem 571caa5417 flutter: android: Adjust minSdkVersion to 16 again
API Level 16 -- Android 4.1 -- 2012-07-09
2021-03-21 11:05:08 +08:00
Calcitem 665ffdd0d2 flutter: android: Add debugSymbolLevel 'FULL' to defaultConfig
Now aab can include debug-symbols!
2021-03-21 03:29:40 +08:00
Calcitem 0613cb740e flutter: android: Remove cmake version
And Install cmake 3.10.2 to fix local build failed.
2021-03-21 03:09:27 +08:00
Calcitem aead8b07dc flutter: android: Upgrade cmake to 3.19.6
To fix github action build failed.
2021-03-21 03:06:09 +08:00
Calcitem b40339cc81 flutter: android: Upgrade gradle to 4.1.2 and cmake to 3.18.1 2021-03-21 02:58:57 +08:00
Calcitem 171ae09185 flutter: android: gradle: Add ndk.debugSymbolLevel
See: https://stackoverflow.com/questions/62568757/playstore-error-app-bundle-contains-native-code-and-youve-not-uploaded-debug
2021-03-21 01:39:08 +08:00
Calcitem 5a4fd29984 flutter: android: Change libengine to libsanmill 2021-03-21 00:56:56 +08:00
Calcitem 835b4eb91d flutter: Remove unused images 2021-03-21 00:46:01 +08:00
Calcitem b1d2a31ceb flutter: android: gradle: Throw exception if no key.properties 2021-03-20 21:38:33 +08:00
Calcitem 3115a8eebf flutter: Update just_audio and catcher version 2021-03-19 00:53:10 +08:00
Calcitem 1fbafa2df8 flutter: Fix cannot launch URL
On Android (from API 30), [canLaunch] will return `false` when the required
visibility configuration is not provided in the AndroidManifest.xml file.
For more information see the [Managing package visibility](https://developer.android.com/training/basics/intents/package-visibility)
article in the Android docs.
2021-03-19 00:47:31 +08:00
Calcitem b1e92fc274 flutter: catcher: Fix externalDirStr error 2021-03-19 00:21:19 +08:00
Calcitem 83e256285a flutter: audio: Fix exception when calling _player!.setAsset() 2021-03-18 23:09:00 +08:00
Calcitem cf281d7d39 flutter: Remove Board.digitsHeight 2021-03-16 00:23:18 +08:00
Calcitem 2e836fc9fd flutter: Add key.properties.example 2021-03-16 00:22:47 +08:00
Calcitem 7da64fc512 flutter: about-page: Clean code 2021-03-15 23:41:08 +08:00
Calcitem 3b312de4aa flutter: refactor: Replace Move.invalidMove to PiecesPainter.invalidIndex 2021-03-15 23:18:27 +08:00
Calcitem e8097ddae2 flutter: Windows: Change bin name to Mill.exe 2021-03-15 22:50:08 +08:00
Calcitem ec9ed78826 flutter: Windows: Enable Multi-Process build 2021-03-15 22:44:59 +08:00
Calcitem cb55af629d flutter: Change hint icon to light bulb 2021-03-15 00:37:03 +08:00
Calcitem 26ff2d98d8 flutter: Change license font size from 7 to 12 2021-03-15 00:31:25 +08:00
Calcitem 69543a5c24 flutter: settings: Change strings 2021-03-15 00:24:41 +08:00
Calcitem 67996abfc7 flutter: rule_settings: Add more strings 2021-03-14 21:37:37 +08:00
Calcitem 55f7118152 flutter: Add GPL-3.0.txt to assets 2021-03-14 20:54:42 +08:00
Calcitem 1e60aa92bd flutter: rule_settings: Add more strings 2021-03-14 19:06:55 +08:00
Calcitem 3b358f0d8c refactor: Replace oblique to diagonal 2021-03-14 18:33:24 +08:00
Calcitem 8ef01c247a flutter: Change license font family to Monospace 2021-03-14 17:49:34 +08:00
Calcitem 01807ab4a1 flutter: Reorganize rule settings page 2021-03-14 02:09:31 +08:00
Calcitem 520d6671de flutter: game_settings_page: Remove top space 2021-03-14 00:26:25 +08:00
Calcitem 5fc4463fa7 flutter: about: Change license page from jump to URL to show text 2021-03-13 23:44:13 +08:00
Calcitem 804bcfd8c6 flutter: Add about page 2021-03-13 13:08:20 +08:00
Calcitem f36c31a486 flutter: Add more menu items string 2021-03-13 11:09:27 +08:00
Calcitem 095f9ef68c flutter: Add help (zh_CN) 2021-03-13 01:43:20 +08:00
Calcitem 5b942362c6 flutter: Add help (en_US) 2021-03-13 00:49:54 +08:00
Calcitem 230322b8a0 flutter: intl: Add strings 2021-03-12 01:56:26 +08:00
Calcitem 7a0115c720 flutter: Add some subtitle to rule settings (WIP) 2021-03-11 00:31:18 +08:00
Calcitem dc45d836ff 1 2021-03-10 23:14:26 +08:00
Calcitem a72bc8b469 flutter: intl: Add strings 2021-03-10 23:03:11 +08:00
Calcitem dd13661efb flutter: Replace S.of(context)! to S.of(context)
Fix: warning: The '!' will have no effect because the receiver can't be null.
2021-03-10 21:29:53 +08:00
Calcitem d359b06a3f flutter: Upgrade catcher to v0.5.0 2021-03-10 21:26:53 +08:00
Calcitem 84242e9d87 flutter: Can click 'restart' when lose on dialog 2021-03-10 01:02:41 +08:00
Calcitem b8fe0c52ec Flutter: Add text to OperatorBar 2021-03-10 00:37:15 +08:00
Calcitem 4312c31446 flutter: ci: Add release configs and secrets env
See:
https://dev.to/cddelta/signing-flutter-android-apps-for-release-in-github-actions-2892
https://flutterchina.club/android-release/
2021-03-09 02:17:57 +08:00
Calcitem ba35578931 flutter: .gitignore: Ignore key.properties 2021-03-09 01:31:59 +08:00
Calcitem 31d7ee4c3d flutter: android: Change app name to Mill 2021-03-09 01:31:13 +08:00
Calcitem 5bf43a95ce version: Update to v0.19.0 2021-03-09 00:52:42 +08:00
Calcitem 3c51b5f945 flutter: Fix dart analysis warnings 2021-03-08 01:40:29 +08:00
Calcitem 647e72b19b flutter: Migrate to null-safety (4, fix runtime warnings) 2021-03-08 01:37:02 +08:00
Calcitem 68bc5a4551 flutter: Migrate to null-safety (3, fix errors) 2021-03-08 01:31:00 +08:00
Calcitem 42aade876b flutter: Migrate to null-safety (2, tools) 2021-03-08 01:03:05 +08:00
Calcitem 1fe2b01741 flutter: Migrate to null-safety (1, manually) 2021-03-08 00:47:30 +08:00
Calcitem eb9c3d39cd flutter: Remove unused analyze.dart 2021-03-07 23:20:49 +08:00
Calcitem b35fa960ae flutter: Upgrade dependencies and support Flutter SDK 2.0 2021-03-07 21:57:30 +08:00
Calcitem 3bf0ca1ebe flutter: Add analyzeText (WIP) 2021-03-07 13:13:44 +08:00
Calcitem 22d9d9d9cc flutter: game-page: Use icons to replace title 2021-03-07 11:51:46 +08:00
Calcitem e0510bf89e flutter-test: Let simple test pass 2021-03-07 09:59:51 +08:00
Calcitem 7f2d91ffa3 f 2021-03-07 02:59:13 +08:00
Calcitem 4e911141f5 flutter: Change blurPositionColor/focusPositionColor theme 2021-03-07 02:55:47 +08:00
Calcitem d5c288f4d1 flutter: Blur and focus AI's pieces 2021-03-07 02:07:09 +08:00
Calcitem 8ea3d4942b flutter: color settings: Add font background color to text 2021-03-06 21:38:17 +08:00
Calcitem de25cf991e flutter: settings: Add PieceColor config 2021-03-06 21:12:21 +08:00
Calcitem 682df254a0 flutter: settings: Enhance experience of picking color 2021-03-06 13:35:39 +08:00
Calcitem 6e32af553d flutter: config: Add restoreDefaultSettings 2021-03-06 13:11:50 +08:00
Calcitem 00fed6d58b flutter: config: Add borderLineWidth and innerLineWidth 2021-03-06 02:22:18 +08:00
Calcitem f15a916f4e flutter: Change slider theme 2021-03-06 01:25:32 +08:00
Calcitem 84a6e4dbb9 flutter: settings: Add IsPieceCountInHandShown option 2021-03-06 01:15:00 +08:00
Calcitem 53acff3cfb flutter: Merge some modification of branch null-safety 2021-03-04 01:17:14 +08:00
Calcitem 9ac0c56d04 flutter: level: Change Slider Theme 2021-03-02 01:43:29 +08:00
Calcitem d3c3f20816 flutter: Ask user whether challenge harder level when win 2021-03-02 01:03:20 +08:00
Calcitem 3440101486 skill: Add skill level slide 2021-03-01 02:03:34 +08:00
Calcitem 60ad4aed57 flutter: EngineType: Add comment to mark Not Implemented items 2021-02-28 11:41:13 +08:00
Calcitem b4f25859fa flutter: Print profile content when load profile 2021-02-28 11:40:30 +08:00
Calcitem 3023ec95f6 flutter: Refactor setWhoIsAi() 2021-02-28 11:39:47 +08:00
Calcitem 7172e9bdb2 Change option name to upper camel case style 2021-02-28 10:55:30 +08:00
Calcitem 6a5ff653e1 flutter: config: Change config name style 2021-02-28 10:27:02 +08:00
Calcitem 8eae369275 flutter: Remove bgmEnabled settings 2021-02-28 10:24:01 +08:00
Calcitem 83eb96ece5 flutter: Remove algorithm.dart 2021-02-28 10:21:07 +08:00
Calcitem dc66cbbe83 flutter: Center font size change from 36 to 48 2021-02-28 09:56:46 +08:00
Calcitem 63149d8508 flutter: Modify restart dialog button text 2021-02-28 09:56:07 +08:00
Calcitem e90eca6c6f Support aiIsLazy (WIP) [Sample]
Known Issue: Flutter and Qt self play is not same.
Last few moves are different.
2021-02-28 01:12:17 +08:00
Calcitem 54d18eb02f qt: Fix skillLevel do not have default value (20) 2021-02-27 23:42:11 +08:00
Calcitem ef7653005e flutter: Refactor navigation_home_screen.dart 2021-02-27 22:27:32 +08:00
Calcitem ca53cc41f0 flutter: Draw piece count in center of board when placing 2021-02-27 22:10:47 +08:00
Calcitem 8600263061 flutter: Fix warnings 2021-02-27 20:47:53 +08:00
Calcitem 36b422634c flutter: audio: Change pause and seed(0) to stop 2021-02-27 12:54:27 +08:00
Calcitem 691f464fda flutter: Remove unused dependencies 2021-02-27 12:19:31 +08:00
Calcitem 5d52250532 flutter: Change audioplayers to just_audio
Because of following audioplayers exception:

Error: PlatformException(Unexpected error!, null, java.lang.IllegalStateException at android.media.MediaPlayer._setDataSource(Native Method)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1305)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1288)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1242)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1218)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1185)
at xyz.luan.audioplayers.WrappedMediaPlayer.setUrl(WrappedMediaPlayer.kt:37)
at xyz.luan.audioplayers.AudioplayersPlugin.handleMethodCall(AudioplayersPlugin.kt:62)
at xyz.luan.audioplayers.AudioplayersPlugin.onMethodCall(AudioplayersPlugin.kt:37)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:332)
at android.os.Looper.loop(Looper.java:168)
at android.app.ActivityThread.main(ActivityThread.java:6878)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876) , null)

And remove BGM Settings.

Stack trace:
package:flutter/src/services/message_codecs.dart 581:7
StandardMethodCodec.decodeEnvelope package:flutter/src/services/platform_channel.dart 158:18
MethodChannel._invokeMethod
===== asynchronous gap ===========================
dart:async/zone.dart 1294:19
_CustomZone.registerBinaryCallback dart:async-patch/async_patch.dart 51:8
_asyncErrorWrapperHelper package:sanmill/services/audios.dart 79:19
Audios.playTone. package:stack_trace/src/chain.dart 94:24
Chain.capture. dart:async/zone.dart 1354:13 _rootRun dart:async/zone.dart 1258:19
_CustomZone.run dart:async/zone.dart 1789:10 _runZoned dart:async/zone.dart 1711:10
runZoned package:stack_trace/src/chain.dart 92:12 Chain.capture package:sanmill/services/audios.dart 78:11
Audios.playTone
2021-02-27 12:11:19 +08:00
Calcitem 46f1815cd1 flutter: stack_trace: Add chain to _tonePlayer.play(fileName) 2021-02-27 11:03:37 +08:00
Calcitem e6634c24ca flutter: audio: Remove onBoardTap()'s duplicate play audio
putPiece() and removePiece() has played.
2021-02-27 10:51:15 +08:00
Calcitem 6f1e7f7d74 flutter: stack_trace: Add chain to more code 2021-02-27 10:11:39 +08:00
Calcitem 26e89124fb flutter: Settings color is fixed 2021-02-27 01:55:06 +08:00
Calcitem 943ef77087 flutter: appName: Use animated_text_kit 2021-02-26 22:44:20 +08:00
Calcitem 79c6ebaf7b flutter: Allow to save color settings
Rename Color to PieceColor.
2021-02-26 01:25:54 +08:00
Calcitem 6939e916ff flutter: settings: Support choose color 2021-02-25 01:52:42 +08:00
Calcitem 3d975c2a86 flutter: color: Change to crusoeColor and burlyWoodColor 2021-02-25 01:02:03 +08:00
Calcitem d3ab21b257 flutter: board: Change innerLineWidth from 1 to 1.5 2021-02-25 01:00:51 +08:00
Calcitem c068728a1e flutter: help: Change color 2021-02-22 01:12:18 +08:00
Calcitem 110c0016e4 flutter: Clear unused code
Note: Config.loadProfile is not await.
2021-02-22 01:07:36 +08:00
Calcitem e830513aa3 flutter: about: Move from game_settings_page.dart to navigation_home_screen.dart 2021-02-22 00:50:47 +08:00
Calcitem 6909151597 flutter: Change FlatButton to TextButton 2021-02-22 00:39:03 +08:00
Calcitem 46007d76fb flutter: Add rule settings page 2021-02-21 13:09:10 +08:00
Calcitem c86e2887a0 depth: Return 0 if d is 0 2021-02-21 11:31:27 +08:00
Calcitem b196bee4ba flutter: Try to fix element._debugcheckstateisactiveforancestorlookup. anonymous closure
See: https://stackoverflow.com/questions/59579640/flutter-looking-up-a-deactivated-widgets-ancestor-is-unsafe-with-provider-pac
2021-02-21 10:57:47 +08:00
Calcitem 7eea26b8fb flutter: Upgrade cupertino_icons and uuid version
See:
https://pub.dev/packages/cupertino_icons/changelog
https://pub.dev/packages/uuid/changelog
2021-02-21 10:02:05 +08:00
Calcitem 6fdb6b71d2 flutter: Skip packageInfo and audioplayer (WAR)
Waiting packages upgrade to fix them.
2021-02-21 09:57:31 +08:00
Calcitem 92691ce55d flutter: Upgrade packages version
Android minSdkVersion 19 -> 23, targetSdkVersion: 28 -> 30
audioplayers: ^0.14.0 -> ^0.17.4
path_provider: ^1.6.1 -> ^0.16.27
package_info: ^0.4.0+16 -> ^0.4.3+4

See:
https://pub.dev/packages/audioplayers/changelog
https://pub.dev/packages/path_provider/changelog
https://pub.dev/packages/package_info/changelog
2021-02-21 09:46:00 +08:00
Calcitem be4fd0246e flutter: Android: Set splash screen color to aths_special 2021-02-21 02:16:52 +08:00
Calcitem 4f0da829f8 flutter: Use part of Best-Flutter-UI-Templates
See: https://github.com/mitesh77/Best-Flutter-UI-Templates
2021-02-21 01:42:41 +08:00
Calcitem e402a69826 flutter: Change dialog to transparent when showing move history
And allow to copy to Clipboard.
2021-02-19 00:11:07 +08:00
Calcitem 63276fa9cc win32: Disable warning 4996 and do not use strncpy_s 2021-02-18 22:05:18 +08:00
Calcitem abaa4d65d9 flutter: Android: Fix EngineState build failed 2021-02-18 00:07:31 +08:00
Calcitem b8fc7c6211 flutter: android: Fix CMakeList.txt lost
Lost when rename flutter dir to flutter_app.
2021-02-18 00:06:33 +08:00
Calcitem 026db0f141 Win32: Change strncpy_s()'s 2 argument from sizeof() to 256 2021-02-17 23:45:18 +08:00
Calcitem a96268d720 flutter: Catcher: Only enable on Android or iOS 2021-02-17 23:45:15 +08:00
Calcitem ffa1bf986c flutter: Windows: Support Platform Channel 2021-02-17 23:44:32 +08:00
Calcitem ea7c65fa88 Fix VC build warnings 2021-02-17 22:00:31 +08:00
Calcitem f5d3009cb0 flutter: Windows: Change title to Mill Game 2021-02-17 18:49:19 +08:00
Calcitem 88428f3ea2 flutter: Windows: Adjust window size to 428 * 926 (19:9) 2021-02-17 18:28:08 +08:00
Calcitem d0cd188028 flutter: Windows: Replace app_icon.ico 2021-02-17 18:15:10 +08:00
Calcitem cb6ca25c79 flutter: Deal with getExternalStorageDirectory and profile file reading exceptions 2021-02-17 12:16:37 +08:00
Calcitem ac95e9c123 flutter: Rename dir flutter to flutter_app 2021-02-17 11:45:04 +08:00
Calcitem c43509b7a5 flutter: ci: Change channel to dev 2021-02-17 11:16:41 +08:00
Calcitem 0825f933b9 flutter: Windows: Update .gitignore
Add:
flutter/generated_*
out/
2021-02-17 11:06:25 +08:00
Calcitem e0a1f8273e flutter: xCrash: Fix log string of xCrash log written 2021-02-17 10:44:08 +08:00
Calcitem 954108a467 flutter: Windows: Remove generated files 2021-02-17 10:37:47 +08:00
Calcitem d51022b7c0 flutter: Add Windows Desktop support
AI is not supported right now on Desktop.

See: https://flutter.dev/desktop#add-desktop-support-to-an-existing-app
2021-02-17 10:24:51 +08:00
Calcitem ba5ef99adc flutter: intl upgrade to v0.17.0 preview 2021-02-17 09:57:05 +08:00
Calcitem 0a3a9caf45 Support Skill Level (WIP) 2021-02-17 01:31:51 +08:00
Calcitem ed30ba8b80 Use iQIYI xCrash to capture java crash, native crash and ANR
Save crash log to Android\data\com.calcitem.sanmill\files\xcrash
File type is *.XCRASH

We can use:
ndk-stack -sym "src\ui\flutter\build\app\intermediates\cmake\debug\obj\arm64-v8a" -dump *.xcrash
To backtrace.

See: https://my.oschina.net/u/4484233/blog/4364482
2021-02-16 23:35:31 +08:00
Calcitem 8118e09e19 flutter: Add sentry for catcher but not enable 2021-02-16 19:16:45 +08:00
Calcitem b50e00a161 flutter: Add stack_trace
See: https://pub.dev/packages/stack_trace
2021-02-16 18:25:09 +08:00
Calcitem c984771662 flutter: Replace sentry by catcher and remove all try...catch... 2021-02-16 17:55:49 +08:00
Calcitem 96b2dd7533 flutter: sentry: Enable Sentry only on Release Mode 2021-02-16 15:15:46 +08:00
Calcitem 18e77e9003 flutter: Show mode on about page 2021-02-16 14:39:48 +08:00
Calcitem 914083d8d2 version: Upgrade version to v0.18.0 2021-02-16 13:12:16 +08:00
Calcitem c9e95e2a0f flutter: Add Sentry support
TODO: Initial Sentry only when the user agree to privacy policy.
2021-02-16 13:08:11 +08:00
Calcitem 1fb89e492c flutter: audio: Fix Android mediaPlayer error (-38,0)
Reference: https://blog.csdn.net/u014520745/article/details/46672327/
2021-02-16 12:22:03 +08:00
Calcitem a6e2694d69 flutter: Add game record button and do not build footer 2021-02-16 00:38:52 +08:00
Calcitem f92318b3a7 flutter: Change primary color from brown to green
See https://www.color-hex.com/color-palette/8548
2021-02-15 13:24:55 +08:00
Calcitem 2944bfc161 flutter: audio: AI play audio and do not play win/lose audios
AI do not play select audio.

This is a WAR solution for:
https://github.com/google/flutter.plugins/issues/54
2021-02-15 02:01:46 +08:00
Calcitem 125fd26d1a flutter: Add Audios and use them
Get royalty-free audios from:
https://www.adobe.com/products/audition/offers/AdobeAuditionDLCSFX.html

mill: Impact Bamboo Wooden Bamboo Cane Hit 02.wav
select: Impact Metal Object Solid Hit By Wooden Stick 01.wav
place: Impact Board Wood Hit By Wood Stick 02.wav
remove: Impact Coin Quarter Dropping On Wood Table 01.wav
jump: Human Crowd Jumping 03.wav
illegal: Human Arm Place On Desk 02.wav
go: Human Male Yells And Cheers Go 01.wav
win: Human Crowd Yeah 03.wav
draw: Human Cowboy Say Draw 01.wav
lose: Human Male Giggle Little Kid Giggle 01.wav

Convert to mp3 by https://online-audio-converter.com
2021-02-15 01:00:51 +08:00
Calcitem a6b12e6266 flutter: android: Localize App Name 2021-02-14 22:08:51 +08:00
Calcitem 0b308a5926 flutter: Update copyright to Calcitem Studio 2021-02-14 21:28:25 +08:00
Calcitem 3598c14644 flutter: main menu: Add Settings menu item and remove settings icon 2021-02-14 21:16:00 +08:00
Calcitem bd6a9f7289 flutter: Fix No @@locale or _locale field found in intl_en, assuming 'en' based on the file name 2021-02-14 21:04:41 +08:00
Calcitem 133dd70c9a flutter: Change game warning text font size to 11 and align center 2021-02-14 21:00:04 +08:00
Calcitem 5903de20ca flutter: Change App name font size to 48 2021-02-14 20:51:20 +08:00
Calcitem 6d7371d37c icon: Replace icons
Buy svg from:
https://www.iconfinder.com/commerce/order/221755

Create other icons png for flutter by:
https://icon.wuruihong.com

Create ico file for Qt by:
http://www.bitbug.net
2021-02-14 16:49:37 +08:00
Calcitem 4139b882c4 flutter: Change some Icon's color to darkTextSecondaryColor 2021-02-14 02:06:17 +08:00
Calcitem e8eb0fb875 flutter: Replace FlatButton to IconButton 2021-02-14 02:01:26 +08:00
Calcitem b0e051a06c flutter: Remove logo-mini.png 2021-02-14 01:34:42 +08:00
Calcitem 3d462ab705 flutter: icon: Replace Icons.settings to Icons.menu 2021-02-14 01:24:35 +08:00
Calcitem 22c5cebf53 flutter: Fix saved profile cannot load to config 2021-02-14 00:00:37 +08:00
Calcitem 71068d3ff3 flutter:Fix converting object to an encodable object failed: Instance of 'PlayerType' 2021-02-13 21:28:12 +08:00
Calcitem 14485a4799 refactor: depth: Move getSearchDepth() to Mills namespace 2021-02-13 18:01:10 +08:00
Calcitem 5a15eb7d6a flutter: Fix warnings 2021-02-12 23:00:16 +08:00
Calcitem e3711d624b flutter: Update version to v0.17.0 2021-02-11 14:10:20 +08:00
Calcitem 043d1f5a04 gcc: Fix build error 2021-02-11 14:09:53 +08:00
Calcitem e8ad3559bd endgame: Fix cannot start game when click 'New Game' 2021-02-11 00:35:08 +08:00
Calcitem f7a1c9a766 endgame: Fix build error when enable endgame learning
Known Issue: Cannot start game when click 'New Game'.
2021-02-11 00:19:16 +08:00
Calcitem d3d6b09ff3 Fix ResignIfMostLose cannot work 2021-02-10 22:48:56 +08:00
Calcitem 8cb285f215 perfect: Disable PERFECT_AI_SUPPORT macron
Only enable it when we want to test.
2021-02-10 20:48:34 +08:00
Calcitem 31b6c69363 Position::set() set them after setting sideToMove
Fix #71
2021-02-06 02:55:07 +08:00
Calcitem da4da92797 9mm: Fist move shuffle and do not only place on star point (Disabled) 2021-02-03 23:57:44 +08:00
Calcitem e3d373bef2 flutter: string: Add gameWarning English string 2021-02-03 23:57:44 +08:00
Calcitem a7be291380 depth: Change movingDepthTable[19] to 12
self play: 11800ms
40000 games:
12.62% : 86.08% : 1.28%

speed downgrade to 98.3%

pk depth 11, winrate 51.64% : 47.23% +4.41%
2021-02-03 23:40:30 +08:00
Calcitem 2b3f4de4bb perfect: Change database dir to D:\\Muehle\\Muehle 2021-02-01 23:30:31 +08:00
Calcitem 7d9b82ef4a depth: movingDepthTable[18] 11 -> 12
Fix 9MM:

(2,8)
(2,1)
(2,7)
(2,6)
(3,5)
(2,3)
(1,5)
(2,5)
(2,4)
(3,1)
(1,1)
(3,3)
(1,3)
(1,7)
(3,4)
(3,6)
(3,8)
(1,2)
(1,2)
(1,5)->(1,4)
(3,6)->(3,7)
(1,5)->(1,4)
(1,4)->(1,5)
(1,7)->(1,8)
(1,4)->(1,5)
(2,7)->(1,7)
(2,6)->(2,7)
(2,7)->(1,7)
(3,5)->(3,6)
(3,1)->(3,2) Lost game in 48 moves
2021-02-01 00:38:33 +08:00
Calcitem a0aacae1fc evaluate: MOBILITY: Modify implement (WIP)
No improvement now.
Keep Disabling it.
2021-01-31 13:22:31 +08:00
Calcitem 8d7eaf57c6 qt: rule: Change 9MM and 12MM name to English 2021-01-31 11:07:42 +08:00
Calcitem 11449d0a0f qt: Add Fix Window Size option menu item 2021-01-31 11:03:24 +08:00
Calcitem 0eaf8d5134 perfect: Add try...cache to deleteBoard() 2021-01-31 09:50:19 +08:00
Calcitem 41b12606ce perfect: Add assert for debug delete crash but not enable 2021-01-31 09:33:05 +08:00
Calcitem a6663022a7 rule: 12mm: May fly 2021-01-30 12:47:15 +08:00
Calcitem ff1569c200 qt: Rename TEST_MODE to QT_UI_TEST_MODE and remove some behaviors 2021-01-30 02:14:28 +08:00
Calcitem deffdc58d5 perfect: Fix build warnings 2021-01-30 01:56:59 +08:00
Calcitem de50d1bd43 perfect: ReadFile() return value 2021-01-30 01:44:52 +08:00
Calcitem 3cd3e47776 qt: Support rcc 2021-01-30 01:44:25 +08:00
Calcitem 7892d78f22 perfect: Fix TSC warnings 2021-01-30 00:57:32 +08:00
Calcitem 9a1a69da13 qt: actionPiece: Support Auto Restart when game is over 2021-01-29 23:09:50 +08:00
Calcitem 739b360fc4 perfect: Return true when placing phrase no way 2021-01-29 23:07:31 +08:00