aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_color.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/game/render_color.go
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/game/render_color.go')
-rw-r--r--internal/game/render_color.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/game/render_color.go b/internal/game/render_color.go
index a5ab8fa..0e31538 100644
--- a/internal/game/render_color.go
+++ b/internal/game/render_color.go
@@ -46,15 +46,15 @@ func levelColorSpec(myLevel, theirLevel int) color.ColorSpec {
diff := theirLevel - myLevel
switch {
case diff == 0:
- return color.Parse("231")
+ return color.Parse("E7")
case diff > 0 && diff < 5:
- return color.Parse("208")
+ return color.Parse("D0")
case diff >= 5:
- return color.Parse("196")
+ return color.Parse("C4")
case diff < 0 && diff > -5:
- return color.Parse("190")
+ return color.Parse("BE")
default:
- return color.Parse("34")
+ return color.Parse("22")
}
}