From b7527106ba1108b4a90afe1580e383911786bfe8 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Fri, 4 Nov 2022 21:35:28 -0700 Subject: [PATCH] drawing --- lib/src/Coord.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/Coord.cpp b/lib/src/Coord.cpp index 10bfc36..9ba63f6 100644 --- a/lib/src/Coord.cpp +++ b/lib/src/Coord.cpp @@ -15,14 +15,14 @@ auto Draw(std::ostream & out, std::map image) -> void { for (ValueType x = minX; x <= maxX; x++) { auto it = image.find({x,y}); if (image.end() == it) { - out << "."; + out << "░"; } else switch (it->second) { - case 0: out << "░"; break; + case 0: out << "▒"; break; case 1: out << "▓"; break; - case 2: out << "2"; break; - case 3: out << "3"; break; - case 4: out << "4"; break; - default: out << "!"; break; + case 2: out << "■"; break; + case 3: out << "◆"; break; + case 4: out << "●"; break; + default: out << "★"; break; } } out << "\n";