Commit Graph

1776 Commits

Author SHA1 Message Date
Calcitem f97afe3ac6 flutter: Replace just_audio to soundpool 2021-04-30 01:36:54 +08:00
Calcitem a610195eac flutter: just_audio: Fix hang after stopping while loading 2021-04-27 22:56:36 +08:00
Calcitem 742e8fa461 Sanmill v1.0.0
Official release version of Sanmill v1.0.0

It is our pleasure to release Sanmill v1.0.0 to mill game fans worldwide.
2021-04-27 01:53:25 +08:00
Calcitem 36af532a41 Small cleanups
No functional change
2021-04-27 01:27:43 +08:00
Calcitem f2afddc415 qt: Remove UI's ruleInfo 2021-04-26 22:34:22 +08:00
Calcitem 4326e40a62 qt: Mark some functions to WIP 2021-04-26 22:25:59 +08:00
Calcitem d58bee31c9 qt: N-Move Rule settings only can select 50 moves
Because this setting is not implemented.
2021-04-26 22:14:15 +08:00
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