diff options
author | pommicket <pommicket@gmail.com> | 2025-08-22 09:57:10 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-22 09:57:10 -0400 |
commit | 4956c4f2f7605dc7332b0e51e77a25fe88caef69 (patch) | |
tree | d62fc3982e0eef21d28c089a6ee5b95bbb132b25 /quacker/macondobackend.h | |
parent | 15fb752e8502f0b5c7e5f579dd3ff0eb8baabf3b (diff) |
Macondo max plies options
Diffstat (limited to 'quacker/macondobackend.h')
-rw-r--r-- | quacker/macondobackend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quacker/macondobackend.h b/quacker/macondobackend.h index c8bcfdf..8af328f 100644 --- a/quacker/macondobackend.h +++ b/quacker/macondobackend.h @@ -17,10 +17,12 @@ struct MacondoSimulateOptions { }; struct MacondoEndgameOptions { inline MacondoEndgameOptions() {} + int maxPlies = 15; }; struct MacondoPreEndgameOptions { // if empty, we'll get Macondo to analyze all possible moves Quackle::MoveList movesToAnalyze; + int endgamePlies = 4; inline MacondoPreEndgameOptions() {} }; @@ -64,6 +66,7 @@ private: QTimer *m_updateTimer = nullptr; int m_solveStatusDots = 3; int m_preEndgamePlaysToAnalyze = 0; + int m_preEndgamePlaysAnalyzed = 0; // is simulation being run right now? (i.e. has process been started & game been loaded?) bool m_runningSimulation = false; Quackle::Game *m_game; @@ -72,6 +75,7 @@ private: Command m_command = Command::None; Quackle::MoveList m_movesToLoad; MacondoPreEndgameOptions m_preEndgameOptions; + MacondoEndgameOptions m_endgameOptions; }; #endif |