From 593a631a564926b5b118805b8bea13a753e4757d Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 28 Jan 2023 22:56:10 -0700 Subject: Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes: --- lib/chessh/ssh/client/game/renderer.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/chessh/ssh/client/game/renderer.ex') diff --git a/lib/chessh/ssh/client/game/renderer.ex b/lib/chessh/ssh/client/game/renderer.ex index 17215ea..6d7d7a7 100644 --- a/lib/chessh/ssh/client/game/renderer.ex +++ b/lib/chessh/ssh/client/game/renderer.ex @@ -9,9 +9,10 @@ defmodule Chessh.SSH.Client.Game.Renderer do @tile_width 7 @tile_height 4 - @previous_move_background ANSI.light_yellow_background() + @previous_move_background ANSI.light_magenta_background() @from_select_background ANSI.light_green_background() - @to_select_background ANSI.light_green_background() + @to_select_background ANSI.light_yellow_background() + @dark_piece_color ANSI.red() @light_piece_color ANSI.light_cyan() -- cgit v1.2.3-70-g09d2