Commit Graph

1295 Commits

Author SHA1 Message Date
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 97c1b969bc docs: Remove documents because filename is too long 2020-12-31 16:47:13 +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 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