Commit Graph

1393 Commits

Author SHA1 Message Date
Calcitem f101c91bc5 perfect: DEBUG: Change databaseDirectory to d:\database 2021-01-19 23:34:31 +08:00
Calcitem ebeb57d325 perfect: Rename console.cpp to main.cpp 2021-01-18 01:23:03 +08:00
Calcitem 1649be403f perfect: Rename KI to AI and rename muehle to mill 2021-01-18 01:21:51 +08:00
Calcitem f8287f04fd perfect: NULL -> nullptr 2021-01-18 01:11:18 +08:00
Calcitem e17b71c2b9 perfect: Set PlatformToolset to v142 2021-01-18 01:08:52 +08:00
Calcitem 7a4cc1724a perfect: Format source code and update copyright 2021-01-18 01:08:02 +08:00
Calcitem ae8cf424a6 .gitignore: Ignore perfect database 2021-01-18 00:49:50 +08:00
Calcitem 079994a645 perfect: Sync vcxproj file 2021-01-18 00:46:35 +08:00
Calcitem 23278d8fc6 1 2021-01-18 00:46:35 +08:00
Calcitem f9512cbb18 perfect: Import Muehle and weaselLibrary
See:
https://github.com/calcitem/Muehle
https://github.com/calcitem/weaselLibrary
2021-01-18 00:31:48 +08:00
Calcitem 1f13ab7ec6 repetition: Insert or clear keys to posKeyHistory when enabled UCI_DO_BEST_MOVE 2021-01-17 01:22:38 +08:00
Calcitem 13510a56e2 rule50: Fix Thread::search() return value 2021-01-17 01:20:33 +08:00
Calcitem 3aa6c6ccca position: Fix print format 2021-01-17 01:18:52 +08:00
Calcitem 06be0b30d2 uci: Support 12 men 2021-01-17 00:59:48 +08:00
Calcitem 00547b79e6 Add RULE_50 macro 2021-01-14 01:29:25 +08:00
Calcitem b61683f657 build: Fix build error when TEST_MODE is on and QT_GUI_LIB is off 2021-01-14 01:03:42 +08:00
Calcitem cf2db5c6b5 repetition: Revert detect 3-fold repetition during searching follow Stockfish
And change to tscp181c-like

Because:

Stockfish-like Vs tscp181c-like
played 9000

12 men without fly
11.45% : 86.55% : 1.99%
12.93% : 86.12% : 0.94%
= 48.79% : 49.74%

9 men with fly
26.16% : 37.62% : 36.21%
28.59% : 38.09% : 33.31%
= 32.13% : 33.11%
2021-01-14 00:42:54 +08:00
Calcitem effab83b44 rule50: Detect rule50 when searching 2021-01-13 01:26:37 +08:00
Calcitem 1ae4d49fa6 rule50: Count rule50 only when continuous MOVETYPE_MOVE
Note: UCI is not tested.
2021-01-13 01:13:32 +08:00
Calcitem 285cee07ef rule50: Judge rule50 and draw (WIP) 2021-01-12 01:07:29 +08:00
Calcitem e02c744a7b rule: Set 50 rule value to 99 2021-01-12 00:56:24 +08:00
Calcitem ee258ef012 repetition: Reduce THREEFOLD_REPETITION region and fix fen() 2021-01-12 00:55:40 +08:00
Calcitem 30db31fafa repetition: Detect 3-fold repetition during searching follow Stockfish
Played 10000
before
11.08% : 87.71% : 1.20%
after
11.92% : 87.36% : 0.70% (draw -0.5%)

Played 6800
before Vs after
11.84% : 86.08% : 2.06%
11.68% : 86.98% : 1.32%
2021-01-11 23:43:10 +08:00
Calcitem 10f7937301 qt: testmode: Disable animation 2021-01-10 22:00:12 +08:00
Calcitem 0734b1fa82 repetition: refactor: Add has_repeated() and has_game_cycle() 2021-01-10 21:08:01 +08:00
Calcitem 31da244933 repetition: Detect 3-fold repetition during searching
Ref: tscp181c

	if (ply && reps())
		return 0;

Test result:

Played: 8300
rep-detect Vs no-rep-detect
11.49% : 84.25% : 4.24%
11.27% : 86.13% : 2.59%

48.81% : 47.76% +1.05%
2021-01-10 20:29:30 +08:00
Calcitem 0dd4a5e7e2 Win32: Replace strncpy by strncpy_s 2021-01-10 20:28:41 +08:00
Calcitem fae335dc72 Add Programmer's Guide 2021-01-09 01:58:36 +08:00
Calcitem d9941024ff qt: change BOARD_SIZE from 600 to 550
Avoid see two piece outside the board.
2021-01-05 00:23:46 +08:00
Calcitem 54576b0617 qt: Change some comment 2021-01-05 00:22:52 +08:00
Calcitem ca495f1f49 qt: Change comments to English 2021-01-03 23:59:30 +08:00
Calcitem f5c4a5f7d9 Fix some VC Code analysis issues 2021-01-03 02:24:07 +08:00
Calcitem 25a71d0a7d Fix VS Code Analysis issues (except misc.c) 2021-01-02 16:40:35 +08:00
Calcitem 46e5d573e4 msvc: Move header file location 2021-01-02 15:53:07 +08:00
Calcitem 35f617d97e tt: search: Remove unused rotate/mirror code 2021-01-02 15:45:56 +08:00
Calcitem 863d091ac9 console: analyze: Change prompt to English (WIP) 2021-01-02 15:40:06 +08:00
Calcitem 04b6f10e1f Remove unsued TRAINING_MODE code 2021-01-02 14:07:11 +08:00
Calcitem 8269b1587a Remve PV/nonPV code 2021-01-02 13:18:48 +08:00
Calcitem 9ccc115bd8 position: REMOVE unused newSt and repetition code 2021-01-02 13:15:43 +08:00
Calcitem 2f3b549f56 position: fen: refactor 2021-01-02 13:06:47 +08:00
Calcitem 1784f39eab position: init: refactor 2021-01-02 13:03:34 +08:00
Calcitem 450643a043 flutter: Fix null ptr ref
Step:
AI vs AI
Back
Settings
Crash
2021-01-02 00:45:52 +08:00
Calcitem 0d35054f35 Fix TSC issues 2021-01-02 00:07:13 +08:00
Calcitem 0505423bde Remove unused millList because rule canRepeated is not supported 2021-01-01 23:04:35 +08:00
Calcitem 2d1ed84be4 refactor: Rename gameRecords to moveHistory 2021-01-01 20:53:59 +08:00
Calcitem 6022591e99 refactor: Rename moveHistory to posKeyHistory 2021-01-01 20:44:38 +08:00
Calcitem 3345cf0c74 Fix cppcheck reported issues
And a TSC issue.
2021-01-01 20:30:13 +08:00
Calcitem 69cd736a92 lang: Add mill-game-qt_zh_CN.ts (WIP) 2021-01-01 19:30:32 +08:00
Calcitem d5f304a384 qt: Change display language from Chinese to English 2021-01-01 02:53:56 +08:00
Calcitem 778d366edb refactor: Rename cmdlist to gameRecords 2021-01-01 00:00:23 +08:00