From 18d7f557719c4ffc217344ef059c26bd7f149375 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 26 Dec 2024 16:00:53 +0100 Subject: [PATCH] Formatting --- main.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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()) {