summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lingo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lingo.cpp b/lingo.cpp index 4c95fcf..4a19dd3 100644 --- a/lingo.cpp +++ b/lingo.cpp
@@ -687,6 +687,16 @@ private:
687 continue; 687 continue;
688 } 688 }
689 689
690 if (parts[kMiddle] == kWhite
691 || parts[kMiddle] == kGreen
692 || parts[kTop] == kWhite
693 || parts[kMiddle] == kBlack) {
694 if (std::bernoulli_distribution(0.5)(rng_)) {
695 std::cout << "Easy clue, rerolling..." << std::endl;
696 continue;
697 }
698 }
699
690 std::string orange_clue; 700 std::string orange_clue;
691 std::string orange_solution; 701 std::string orange_solution;
692 if (orange_uses > 0) 702 if (orange_uses > 0)