nmak

makao card game
git clone git://git.kocotian.pl/nmak.git
Log | Files | Refs | README | LICENSE

commit 95a4c80c06561892f39135f02fbeeac715a8d75c
parent af82f35fb7d22dc9319875edf6c202228b9e2d45
Author: kocotian <kocotian@kocotian.pl>
Date:   Thu, 18 Feb 2021 09:15:21 +0100

color fix

Diffstat:
Anmak | 0
Mnmak.c | 2+-
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/nmak b/nmak Binary files differ. diff --git a/nmak.c b/nmak.c @@ -419,7 +419,7 @@ main(int argc, char *argv[]) dumpcards(stacks); puts(""); printf("\033[0;97mstatus: \033[1;9%cm%s\033[0;97m\n", *move + '1', *move == color ? "your move" : "waiting"); - printf("\033[0;97mcard count: \033[1;91m%d:\033[1;92m%d\033[0;97m\n", cardcount(stacks + 52 * 2), cardcount(stacks + 52 * 3)); + printf("\033[0;97mcard count: \033[1;91m%d\033[1;37m:\033[1;92m%d\033[0;97m\n", cardcount(stacks + 52 * 2), cardcount(stacks + 52 * 3)); if (*move != color) sigwait(&sig, &signo);