summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-01-23 02:12:36 +0000
committerStar Rauchenberger <fefferburbia@gmail.com>2023-01-23 02:12:36 +0000
commite245a8400f95f3247f882a7cb999c6a5b959d05c (patch)
tree1b9ed926645cb9fec8f93380283e3cefa9598bf5
parent647378e3dc68889f1f201d9a5e3d003351869b7a (diff)
downloadlingo-e245a8400f95f3247f882a7cb999c6a5b959d05c.tar.gz
lingo-e245a8400f95f3247f882a7cb999c6a5b959d05c.tar.bz2
lingo-e245a8400f95f3247f882a7cb999c6a5b959d05c.zip
Filtered out trivial top purple hints
-rw-r--r--lingo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lingo.cpp b/lingo.cpp index 39e0f3e..fe31f7f 100644 --- a/lingo.cpp +++ b/lingo.cpp
@@ -449,6 +449,9 @@ private:
449 } else if (height == kMiddle && colour == kPurple) 449 } else if (height == kMiddle && colour == kPurple)
450 { 450 {
451 return clue.getId() == solution.getId(); 451 return clue.getId() == solution.getId();
452 } else if (height == kTop && colour == kPurple)
453 {
454 return clue.getId() == solution.getId();
452 } 455 }
453 return false; 456 return false;
454 } 457 }