Commit Graph

1411 Commits

Author SHA1 Message Date
Calcitem f74762d2c7 perfect: Format code with msvc 2021-01-20 01:38:08 +08:00
Calcitem 5c71717a9c perfect: Format code with vscode 2021-01-20 01:33:20 +08:00
Calcitem 50b9574101 perfect: Rename function name filed -> board 2021-01-20 01:26:00 +08:00
Calcitem cc80e84dbe perfect: Rename functions name 2021-01-20 01:22:17 +08:00
Calcitem 4761897750 perfect: perfectAI rename 2021-01-20 01:19:35 +08:00
Calcitem 53916f9aba perfect: Rename minMax functions (3) 2021-01-20 01:17:40 +08:00
Calcitem de58c91578 perfect: Rename minMax functions (2) 2021-01-20 01:16:18 +08:00
Calcitem d9efb9ce67 perfect: Rename minMax functions 2021-01-20 01:11:53 +08:00
Calcitem 0aa640f2e9 perfect: Rename miniMax to MiniMax 2021-01-20 01:04:48 +08:00
Calcitem 231144c8f7 perfect: Rename some class name 2021-01-20 01:01:59 +08:00
Calcitem 315bbf2a8a perfect: Change field->field to field->board 2021-01-20 00:56:03 +08:00
Calcitem 840c412e6a perfect/position: deleteArrays -> exit 2021-01-20 00:45:20 +08:00
Calcitem 1aef4bbc4e perfect: KI -> AI 2021-01-20 00:32:21 +08:00
Calcitem 672486f176 perfect: Rename Mill class to Position 2021-01-20 00:30:55 +08:00
Calcitem c723376d86 perfect: refactor: Rename tmpChar to ch 2021-01-20 00:22:39 +08:00
Calcitem 2ab9d11d48 perfect: Change to int main(void) 2021-01-20 00:17:16 +08:00
Calcitem 4963e660e7 perfect: Include types.h 2021-01-20 00:16:59 +08:00
Calcitem 34179aaae9 perfect: Enable SELF_PLAY 2021-01-20 00:04:40 +08:00
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