sts-term

Une version rudimentaire de Slay The Spire dans le terminal - retour accueil

git clone git://bebou.netlib.re/sts-term
Log | Files | Refs | README |

commit 110c6f585fe06d1984cb558a713c898d05210b75
parent 57e3c6ec4c4972e654af6f7f78ff5eaa084cfc97
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Wed, 19 Jun 2024 19:15:49 +0200

Correction bug rafraichissement si plus de partie

On quittait le terminal alors qu'on veut juste mettre à jour UI

Diffstat:
Mutils | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils b/utils @@ -11,7 +11,7 @@ grayed="\x1b[90m" norm="\x1b[0m" makeui() { - [ ! -e "player" ] && { printf "No current game\n"; exit 1; } + [ ! -e "player" ] && printf "No current game\n" currentenergy=$(grep energy fight/player | cut -f2) grep cost fight/hand/* |