Commit Graph

1329 Commits

Author SHA1 Message Date
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 728c7000fa .gitignore: Ignore Sourcetrail files 2020-12-29 23:45:44 +08:00
Calcitem 68532264da refactor: Remove some continue keywords 2020-12-29 18:28:36 +08:00
Calcitem a71fef7acf msvc: Diable warning 26451;26495;26498;26812 2020-12-29 17:52:17 +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
Calcitem d78828c424 movengen: Remove unused FIRST_MOVE_STAR_PREFERRED 2020-12-28 15:27:45 +08:00
Calcitem ada658ef0a hashmap: resize: Skip if size is less than 0x1000000 2020-12-28 09:42:54 +08:00
Calcitem 632bfc36ad bb: Implement Bitboards::pretty() 2020-12-28 09:30:18 +08:00
Calcitem 460aec58fe bb: Remove unused lsb() and msb() 2020-12-28 09:04:03 +08:00
Calcitem 42e73f1a0c bb: Rename StarSquareNBB to StarSquareBBN 2020-12-28 08:54:35 +08:00
Calcitem ea98f5c9a5 bb: Remove unused LineBB 2020-12-28 08:52:42 +08:00
Calcitem c5f5eb43b3 bb: Remove unused distance() 2020-12-28 08:49:58 +08:00
Calcitem 2ce460bbba bb: Add StarSquareXBB but but used 2020-12-28 01:45:47 +08:00