From e245a8400f95f3247f882a7cb999c6a5b959d05c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 23 Jan 2023 02:12:36 +0000 Subject: Filtered out trivial top purple hints --- lingo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lingo.cpp') diff --git a/lingo.cpp b/lingo.cpp index 39e0f3e..fe31f7f 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -447,6 +447,9 @@ private: return !database_->forms((verbly::filter)clue && (verbly::form::merographs %= solution)).all().empty() || !database_->forms((verbly::filter)clue && (verbly::form::holographs %= solution)).all().empty(); } else if (height == kMiddle && colour == kPurple) + { + return clue.getId() == solution.getId(); + } else if (height == kTop && colour == kPurple) { return clue.getId() == solution.getId(); } -- cgit 1.4.1