Commit Graph

1695 Commits

Author SHA1 Message Date
Calcitem d4f0a8d224 flutter: i18n: Fix boardTop 2021-04-19 00:38:32 +08:00
Calcitem 4921966b77 flutter: rule50: Fix rule50 doesn't work 2021-04-17 13:39:47 +08:00
Calcitem adf331811b flutter: Add posKey and zobrist
And do some refactor.
2021-04-17 12:29:33 +08:00
Calcitem 4753276f42 flutter: position.dart: Sync position.cpp
Add mill/mills.dart.
2021-04-17 10:48:42 +08:00
Calcitem 38d89b2d3d flutter: position.dart: Change Move? to late Move 2021-04-17 00:44:19 +08:00
Calcitem e6f625a5b9 flutter: Enable class StateInfo 2021-04-17 00:35:37 +08:00
Calcitem 7209c74b5e Refactor position.cpp 2021-04-17 00:13:19 +08:00
Calcitem 210149bb60 flutter: refactor: Move mill.dart to types.dart 2021-04-17 00:01:02 +08:00
Calcitem 0b6d58da36 flutter: game: doMove: Do not add to moveHistory if position.doMove return false 2021-04-16 23:37:00 +08:00
Calcitem f0f28d9d4f flutter: Refactor
Remove Game.clear() and Game.move()
2021-04-16 23:35:18 +08:00
Calcitem 9e6fb6e909 flutter: refactor: Change PiecesPainter.invalidIndex to invalidIndex 2021-04-16 22:48:42 +08:00
Calcitem 4f560bb5bc flutter: Remove some TODO 2021-04-16 22:22:50 +08:00
Calcitem 97cbfff961 flutter: android: Do not init xcrash when API Level < 19
To fix samsung S3 run failed.
2021-04-13 01:50:42 +08:00
Calcitem d150bded27 version: Update to v0.20.0 2021-04-12 00:33:44 +08:00
Calcitem 73055291dc flutter: Change default boardTop from 28 to 36 2021-04-12 00:31:11 +08:00
Calcitem 242338b1fa flutter: settings: Support set board top 2021-04-12 00:03:25 +08:00
Calcitem bafa0b97b1 flutter: i10n: Output untranslated message file 2021-04-12 00:03:25 +08:00
Calcitem 6905e43e72 flutter: Adjust hint text format 2021-04-12 00:03:19 +08:00
Calcitem 836cd56f22 flutter: Rename DrawerIndex.settings to DrawerIndex.perferences 2021-04-12 00:01:50 +08:00
Calcitem 9a6df87113 flutter: Change toolbar's buttons to Game/Options/Move/Hint 2021-04-11 21:57:50 +08:00
Calcitem fabbaa2460 flutter: Change new game from AlertDialog to SimpleDialog 2021-04-11 20:59:09 +08:00
Calcitem db81c3c2fe flutter: dialog: Change barrierDismissible from false to true
If barrierDismissible is true, then tapping this barrier will cause
the current route to be popped (see Navigator.pop) with null as the value.
2021-04-11 20:16:00 +08:00
Calcitem 1dbdfe679a flutter: settings: Remove piece count 6 option 2021-04-11 18:29:45 +08:00
Calcitem 11f4afef75 flutter: Disallow disable developer mode if developer mode is enabled 2021-04-10 15:31:47 +08:00
Calcitem 1339324368 flutter: android: monkey: Change throttle from 100 to 500 2021-04-10 15:29:31 +08:00
Calcitem 6e1d7f8319 flutter: android: Add armeabi-v7a to native-backtrace.sh 2021-04-10 11:58:12 +08:00
Calcitem 82e406308f flutter: Do not show Game Result Dialog if isAutoRestart enabled 2021-04-10 11:49:51 +08:00
Calcitem 7258de5cf6 flutter: game-settings: Move isAutoRestart from automaticBehavior card to forDevelopers 2021-04-10 11:40:48 +08:00
Calcitem 921b3bbbc2 flutter: Fix spelling error 2021-04-10 11:40:48 +08:00
Calcitem fca9c8822b flutter: Refactor getGameOverReasonString 2021-04-10 11:34:28 +08:00
Calcitem 776992435a tests: Add stop-monkey.sh 2021-04-10 11:08:13 +08:00
Calcitem 01f7ebe672 depth: Limit depth to 9 if change side when no way 2021-04-10 09:47:34 +08:00
Calcitem a0cee1bd06 flutter: Assert(0) when timeout only on DeveloperMode 2021-04-10 09:41:00 +08:00
Calcitem 115a7c7897 flutter: engine: Print search depth 2021-04-10 09:38:57 +08:00
Calcitem c213cb8957 flutter: changeStatus: Return if unmounted
To fix:
Exception has occurred.
FlutterError (This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
Consider canceling any active work during "dispose" or using the "mounted" getter to determine if the State is still active.)

        case 'timeout':
          changeStatus(S.of(context).timeout);
2021-04-09 01:21:46 +08:00
Calcitem 080b7da46d flutter: Add code for developer mode 2021-04-09 01:20:35 +08:00
Calcitem e2c443830a Add developer mode for future use (Example) 2021-04-08 01:16:52 +08:00
Calcitem 1fb4e4f790 depth: Fix timeout when 12 men and no banned and no diagonal lines (WAR) 2021-04-07 23:47:19 +08:00
Calcitem 2b0d29606d flutter: game_page.dart: Quit engineToGo() if not mounted
Maybe can fix:
Exception has occurred.
FlutterError (This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
Consider canceling any active work during "dispose" or using the "mounted" getter to determine if the State is still active.)
2021-04-07 23:37:19 +08:00
Calcitem 380af44ddb flutter: catcher: Changed package_info to package_info_plus to support all platforms 2021-04-06 00:39:21 +08:00
Calcitem 917f5d182e flutter: Move gamePageTopMargin to AppTheme 2021-04-06 00:22:52 +08:00
Calcitem d8ef72fe39 flutter: Refactor rule_settings_page.dart 2021-04-06 00:16:08 +08:00
Calcitem e8e736e4a9 flutter: android: Replace splash from burly_wood to aths_special and add icon
And add normal_background.xml
2021-04-05 23:56:24 +08:00
Calcitem 8b808f42da .gitignore: Ignore sanmill 2021-04-05 12:31:43 +08:00
Calcitem b2e482c70d flutter: Fix customized theme not show before tapping on board 2021-04-05 12:18:40 +08:00
Calcitem 8c398a0700 flutter: Fix playing crash if settings is not loaded done when setOptions 2021-04-05 12:18:27 +08:00
Calcitem 38ef069d5e flutter: Rename loadProfile to loadSettings
And print info when loading settings.
2021-04-05 01:12:02 +08:00
Calcitem c70fb83132 flutter: board_painter: Fix draw overwrite only half of line 2021-04-05 00:40:21 +08:00
Calcitem c900256aa5 flutter: board: drawRect instead of drawLine 2021-04-05 00:32:28 +08:00
Calcitem 93b243488b flutter: Remove tailing space of pubspec.yaml 2021-04-04 23:46:16 +08:00