From 42e7425f98abf04ff770c7ad51b5494a6dfc6238 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 10 Jan 2020 23:50:19 -0500 Subject: Cool new colors for the target board --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 1dbef92..7258e17 100644 --- a/main.go +++ b/main.go @@ -286,12 +286,12 @@ func RedrawTarget(plyr *player, table *tv.Table) { table.Clear() for r := 0; r < 11; r++ { for c := 0; c < 11; c++ { - color, selectable := tc.ColorDarkBlue, true + color, selectable := tc.ColorDarkCyan, true if r < 1 || c < 1 { color, selectable = tc.ColorPurple, false } - if boardData[r*11+c] != `~` { - selectable = false + if boardData[r*11+c] != `~` && !(r < 1 || c < 1) { + selectable, color = false, tc.ColorRed } table.SetCell(r, c, tv.NewTableCell(boardData[r*11+c]). -- cgit v1.2.3