From e15ac35f1821bf7b42e89943fdc4e12c2aa0c000 Mon Sep 17 00:00:00 2001 From: Juergen Stuber Date: Wed, 28 Nov 2018 22:11:14 +0100 Subject: [PATCH] Darken the blue. --- src/bin/maze/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/maze/main.rs b/src/bin/maze/main.rs index 68be7b5..5c208c1 100644 --- a/src/bin/maze/main.rs +++ b/src/bin/maze/main.rs @@ -42,6 +42,9 @@ impl Color { fn brown() -> Color { Color(210, 105, 30) } + fn darkblue() -> Color { + Color(0, 0, 127) + } fn darkbrown() -> Color { Color(139, 69, 19) } @@ -67,7 +70,7 @@ fn send(w: &mut T, board: &Board) -> std::io::Result<()> { let Color(r, g, b) = match square { Square::Unknown => Color::black(), Square::Corridor => Color::yellow(), - Square::Wall => Color::blue(), + Square::Wall => Color::darkblue(), Square::Start => Color::red(), Square::Finish => Color::green(), };