Commit Graph

1465 Commits

Author SHA1 Message Date
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
Calcitem 5992515c52 Rename HashNode.h to hashnode.h 2020-12-28 01:45:47 +08:00
Calcitem a127350065 tt: Resize default size to 0x1000000
Reduce memory to 150MB.
2020-12-23 01:19:54 +08:00
Calcitem ee3540b5dc Update Readme.md and pubspec.yaml 2020-12-22 01:45:43 +08:00
Calcitem e46606c385 Update Readme.md 2020-12-22 01:23:40 +08:00
Calcitem 974872e226 bb: Fix crash after mirror/turn/rotate 2020-12-22 01:08:29 +08:00
Calcitem a1f4832fe0 deploy.sh: Do not commit and only push 2020-12-21 23:51:46 +08:00
Calcitem 22f97f0a5e Remove prefetch_range(millTable) 2020-12-21 01:21:56 +08:00
Calcitem de6ee73d55 bb: Refactor in_how_many_mills() 2020-12-21 01:10:21 +08:00
Calcitem c4c3340e9d bb: Refactor add_mills() 2020-12-21 01:00:27 +08:00
Calcitem d4bafff8b4 AUTHORS: Change description 2020-12-21 00:14:08 +08:00
Calcitem 1508ee6c1f Support ALIGNED_LARGE_PAGES but not enable 2020-12-20 12:50:56 +08:00
Calcitem 351421263f color_of() use constexpr instead of inline to fix build error 2020-12-20 12:25:25 +08:00
Calcitem 6c7d6a81cd bb: is_all_surrounded() uses moveTableBB
Performance Test Result:

depth + 4 Release Test:
86818 - > 85800ms, +1.2%
2020-12-20 11:50:07 +08:00
Calcitem 9bf60b935e is_all_surrounded: Fix d = ++d 2020-12-20 11:38:26 +08:00