Un jeu de cartes à piper les une dans les autres - retour accueil
git clone git://bebou.netlib.re/pipe-game
Log | Files | Refs | README |
commit f10022881e8a75fb8af783e17c5667a8a5ab2039 parent 126fc5fdf66eb106596c04c81453545b3247464a Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Mon, 20 Jan 2025 17:05:23 +0100 Affichage "dynamique" du res de la cmd Diffstat:
M | interface.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface.c b/interface.c @@ -111,7 +111,7 @@ void display(struct pile* h, struct pile* p, int handcurline, int playedcurline, else { tb_printf(CARD_NAME_SIZE+2, j, TB_DEFAULT, TB_BLACK, p->cards[j]); } } tb_printf(0, biggestpile+1, TB_DEFAULT, TB_BLACK, cmd); - tb_printf(0, biggestpile+10, TB_DEFAULT, TB_BLACK, res); + tb_printf(0, biggestpile+1+p->cardCount+1, TB_DEFAULT, TB_BLACK, res); tb_present(); }