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
079994a645
perfect: Sync vcxproj file
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
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
Calcitem
5d8c93fe41
position: Remove unused two count functions
...
int piece_on_board_count();
int piece_in_hand_count();
2020-12-31 22:19:57 +08:00
Calcitem
1de3e85883
refactor: Rename nPepetition to repetition
2020-12-31 22:00:32 +08:00
Calcitem
e54ec69b1d
position: Move create_mill_table() to Mills::mill_table_init()
2020-12-31 21:53:30 +08:00
Calcitem
21f5abb803
bb: millTableBB: Use SN() macron
2020-12-31 19:53:25 +08:00
Calcitem
9d3a6b9fa1
position: Remove unsued Position &Position::operator= (const Position &other)
2020-12-31 19:43:23 +08:00
Calcitem
9722790eb8
class Phase add comments
2020-12-31 19:39:42 +08:00
Calcitem
69f1dd8ee2
refactor: Replace forbidden to banned
2020-12-31 18:27:00 +08:00
Calcitem
8c976248cb
position: Remove incomplete flip()
2020-12-31 17:42:49 +08:00
Calcitem
fde9929a7f
position: Remove incomplete pos_is_ok()
2020-12-31 17:40:10 +08:00
Calcitem
a1d3c76c49
position: Remove incomplete functions about repeat
...
bool is_draw(int ply) const;
bool has_game_cycle(int ply) const;
bool has_repeated() const;
2020-12-31 17:37:48 +08:00
Calcitem
e394bf8dd2
position: Remove void Position::undo_move(Move m)
2020-12-31 17:34:23 +08:00
Calcitem
e709af4e14
position: Use empty(s)
...
And remove some TODO (Not solved).
2020-12-31 17:20:46 +08:00
Calcitem
fe1d03287a
position: Remove unused pseudo_legal()
2020-12-31 17:12:48 +08:00
Calcitem
94a8de7e7e
movepick: Refactor
...
partial_insertion_sort param 3 changed from -100 to INT_MIN.
2020-12-31 15:59:04 +08:00
Calcitem
ad3742cb49
movepick: Remove Stats
2020-12-31 12:57:50 +08:00
Calcitem
1c132db4c6
movegen: Refactor
2020-12-31 12:53:47 +08:00
Calcitem
a7354bff41
refactor main/mills/misc
2020-12-31 12:50:41 +08:00
Calcitem
f7242c84ca
evaluate: Refactor
2020-12-31 12:42:20 +08:00
Calcitem
3404101c0a
evaluate: Remove Trace
2020-12-31 12:29:17 +08:00
Calcitem
096af01919
endgame: refactor
...
Known Issue:
After the previous series of code refactoring,
it still cannot work normally, but it can work normally
in the early stage.
2020-12-31 12:22:48 +08:00
Calcitem
b3577d6b78
build: Fix build failed when enable ENDGAME_LEARNING
2020-12-31 10:57:47 +08:00
Calcitem
7368692b16
bb: Use S4 to simplify init()
2020-12-31 10:38:12 +08:00
Calcitem
d2ff03a6f1
benchmark: Remove banchmark feature
2020-12-31 10:26:50 +08:00
Calcitem
f7f72222c7
refactor: Rename addMill to millsCount
2020-12-31 03:16:27 +08:00
Calcitem
3f85a41652
refactor: rule: Rename take to remove
2020-12-31 03:02:05 +08:00
Calcitem
f3a88283de
Refactor: Replace count_count to count
2020-12-31 02:55:12 +08:00
Calcitem
410435278e
refactor: Rename to potential_mills_count()
2020-12-31 02:54:18 +08:00
Calcitem
90ca5f0e49
refactor: rules: Rename some val
...
Reference: Morris (Author: Dirk Farin)
2020-12-31 02:33:46 +08:00
Calcitem
91a06e2ed0
refactor: Rename nPiecesXXX to pieceXXXCount
2020-12-31 02:14:22 +08:00
Calcitem
9670c87c3a
refactor: Rename nPiecesInHandCount to GetNPiecesInHand
2020-12-31 01:25:49 +08:00
Calcitem
525088d280
refactor: Rename piecesXXX to nPiecesXXX
2020-12-31 01:22:13 +08:00
Calcitem
e330d5312c
refactor: Rename remainingPieces to pieces
2020-12-30 02:14:04 +08:00
Calcitem
0a0b7ab2a8
types: Rename Act to Action and change enum value
2020-12-30 02:14:04 +08:00
Calcitem
5b621d215a
refactor: Rename to remaining_pieces_XXX
2020-12-30 02:14:04 +08:00
Calcitem
efcc2e8e8d
refactor: Rename to checkIfGameIsOver()
2020-12-30 02:14:03 +08:00
Calcitem
84d016b3de
refactor: Rename to flyingAllowed
2020-12-30 02:14:03 +08:00
Calcitem
40723f4d94
refactor: flutter: Rename switchXXX to setXXX
2020-12-30 02:14:03 +08:00
Calcitem
9875c9c861
refactor: Move option.cpp functions to .h and rename RandomMove to Shuffling
2020-12-30 02:14:03 +08:00
Calcitem
68532264da
refactor: Remove some continue keywords
2020-12-29 18:28:36 +08:00
Calcitem
acd149ea2e
movegen: Change some iterator val to auto
2020-12-29 17:52:17 +08:00
Calcitem
c1930b9695
qt: Change enum Models to enum class
2020-12-29 15:37:59 +08:00
Calcitem
0915ed57af
qt: Change enum sound_t to enum class GameSound
2020-12-29 15:35:11 +08:00
Calcitem
8831c0b607
types: Rename enum Action to enum class Act
2020-12-29 15:15:35 +08:00
Calcitem
fb91ad3f8d
types: GameOverReason 改为 enum class
2020-12-29 15:03:00 +08:00
Calcitem
44a26a83dd
types: Change enum Phase to enum class
2020-12-29 11:56:20 +08:00
Calcitem
957b19c712
movegen: refactor
2020-12-29 10:56:04 +08:00
Calcitem
83e36576e3
refactor: Use macron SX() to simplify adjacentSquaresBBX
2020-12-29 10:03:53 +08:00
Calcitem
df36aaa2e1
Rename moveTable to adjacentSquares
2020-12-28 23:13:38 +08:00
Calcitem
d8ab4e2901
Add mills.cpp/.h and put adjacent_squares_init() in it
2020-12-28 23:13:38 +08:00
Calcitem
75f0d1202e
Refactor: Rename XXX_obliqueLine to XXX12
...
And Rename XXX_noObliqueLine to XXX9.
2020-12-28 22:54:09 +08:00
Calcitem
0156386239
bb: Remove Unused DISABLE_BITBOARD
2020-12-28 22:54:09 +08:00
Calcitem
afcc4a953d
Use EFFECTIVE_SQUARE_NB
2020-12-28 22:54:09 +08:00
Calcitem
66b6eee8e9
movegen: Slice generate() to three sub functions
2020-12-28 22:54:09 +08:00