commit af82f35fb7d22dc9319875edf6c202228b9e2d45
parent bbe4252cde539302843f7dc76a2417060d20ee70
Author: kocotian <kocotian@kocotian.pl>
Date: Thu, 18 Feb 2021 09:14:49 +0100
card count
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nmak.c b/nmak.c
@@ -419,6 +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));
if (*move != color)
sigwait(&sig, &signo);