From 671d1410d5e6e034306681f99a1eedb3b6fe3ce9 Mon Sep 17 00:00:00 2001 From: geemili Date: Mon, 12 Feb 2024 11:50:16 -0700 Subject: [PATCH] feat: color rank with suit's color --- solitaire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solitaire.lua b/solitaire.lua index 0ecd06a..93d8932 100644 --- a/solitaire.lua +++ b/solitaire.lua @@ -431,7 +431,7 @@ function render_card(c,x,y,state,below) if c.rank==11 then val='J' end if c.rank==12 then val='Q' end if c.rank==13 then val='K' end - print(val,tx,ty) + print(val,tx,ty,suit_color[c.suit]) -- Draw hilight if state==1 then spr(hilight.sid,