diff --git a/main.cc b/main.cc index a0a13e2..11fd379 100644 --- a/main.cc +++ b/main.cc @@ -1,6 +1,6 @@ -#include -#include #include "ordle.h" +#include +#include int main(int argc, char *argv[]) { if (argc < 2) { @@ -16,10 +16,11 @@ int main(int argc, char *argv[]) { while (true) { auto candidates = read_candidates(file); - std::cout << "File (" << argv[1] << ") loaded. " << candidates.size() << " candidates available.\n"; + std::cout << "File (" << argv[1] << ") loaded. " << candidates.size() + << " candidates available.\n"; std::string wrong; - letters_and_indices green, yellow; + IndexMap green, yellow; while (!candidates.empty()) { std::cout << "Enter wrong letters:\n"; @@ -43,7 +44,8 @@ int main(int argc, char *argv[]) { } std::cout << "\n\n"; - if (candidates.size() <= 1) break; + if (candidates.size() <= 1) + break; } if (candidates.empty()) {