Commit Graph

2019 Commits

Author SHA1 Message Date
Calcitem 4ae5798deb search: Add is_timeout() 2021-04-25 00:45:21 +08:00
Calcitem d8211395ab depth: Fix build error 2021-04-24 23:00:02 +08:00
Calcitem 90cb4c967c flutter: Increase timeLimit to Config.moveTime * 10 * 64 + 10 2021-04-24 13:06:46 +08:00
Calcitem 677a391124 depth: Use gameOptions.getSkillLevel if not Developer Mode 2021-04-24 12:58:05 +08:00
Calcitem bb0c7851b2 qt: Fix moveTime cannot save to settings 2021-04-24 12:57:05 +08:00
Calcitem b85fb2f4b6 flutter: Fix waitResponse()' timeLimit 2021-04-24 12:33:22 +08:00
Calcitem 0d0e7522a2 ids: Auto enable IDS when gameOptions.getMoveTime() > 0 2021-04-24 12:29:51 +08:00
Calcitem 70136ac862 flutter: Change waitResponse times++ to times--
Remove thinkingTime.
Use moveTime.
2021-04-24 11:44:15 +08:00
Calcitem 17c1c95d38 settings: Add MoveTime 2021-04-24 11:34:09 +08:00
Calcitem 84329a7a69 depth: Change FIX_DEPTH(24) to (25) (Disabled) 2021-04-24 01:12:02 +08:00
Calcitem 76c7ec260f depth: Apply fix depth to all moves 2021-04-24 01:04:34 +08:00
Calcitem 7dae86e467 search: Remove assert(value > -VALUE_INFINITE && value < VALUE_INFINITE); for ids self play 2021-04-24 01:04:05 +08:00
Calcitem f5a43a748c ids: Add timeout to IDS 2021-04-23 23:44:08 +08:00
Calcitem 2a2fcd379f search: Do not call TranspositionTable::save() when reach leaf
Like morris v0.3
2021-04-23 23:44:08 +08:00
Calcitem a83a7a9054 search: TranspositionTable::save param use oldAlpha instead of alpha
Same with morris 0.2

self play move history not change.
2021-04-23 23:44:08 +08:00
Calcitem feed1fb2ef search: Adjust TranspositionTable::save params
like morris 0.2, but not same.

Use:
TranspositionTable::boundType(bestValue, alpha, beta),
Not use oldAlpha

self play change last few moves, white win more quickly.

From:
(3,5)->(2,5)
(1,5)->(1,4)
(2,5)->(1,5)
(1,6)->(1,7)
(1,5)->(1,6)
(1,7)->(2,7)
-(2,4)
(1,6)->(1,5)
(2,7)->(1,7)
(1,5)->(1,6)
(1,7)->(2,7)
-(1,2)
Player2 win!

To:
(3,5)->(2,5)
(1,6)->(1,7)
(2,5)->(3,5)
(1,7)->(2,7)
-(2,4)
(3,5)->(2,5)
(1,5)->(1,6)
-(1,2)
Player2 win!
2021-04-23 23:44:08 +08:00
Calcitem 7a97102c50 search: Add var atRoot 2021-04-23 23:44:08 +08:00
Calcitem c439af4822 tt: Add tt_move() 2021-04-20 22:35:43 +08:00
Calcitem 1f6b0ff534 tt: Add TranspositionTable::boundType() 2021-04-19 23:36:47 +08:00
Calcitem 6a9ae2cbd2 depth: 9nm: Increase depth from 12 to 14 from step 8
Test 1100 times, no matter black or white,
new player pk old player, result is 40% : 18~21%

Speed cut down to 67%.
self play 3000 times: win rate is 25% : 28% : 47%
self play move list is not changed.
2021-04-19 19:23:05 +08:00
Calcitem b62f9794dd flutter: game_page: Fix widget has been unmounted so the State no longer has a context
Fix exception:
This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
E/flutter ( 644): Consider canceling any active work during “dispose” or using the “mounted” getter to determine if the State is still active.

See: https://blog.csdn.net/wapchief/article/details/109600649
2021-04-19 10:13:03 +08:00
Calcitem 3413d67a5f flutter: Replace draw icon to Icons.view_agenda 2021-04-19 01:31:04 +08:00
Calcitem 566e30aac0 flutter: Implement Threefold Repetition Draw 2021-04-19 01:18:26 +08:00
Calcitem 91c04f75b6 flutter: Show en_US Privacy Policy web page when locale is not zh_* 2021-04-19 00:59:57 +08:00
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