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 53207f56a43bc4a9a3d9a9333673a117ce29dfa2 parent 75c9e4eb0a63ece4720d7f680fdf3d78bf790c77 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Wed, 19 Jun 2024 19:31:19 +0200 Stockage du num étage et on affiche étage + tour Diffstat:
M | utils | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/utils b/utils @@ -25,6 +25,12 @@ _makeui() { sed -i -E "/$card/ s/^/$grayed/;/$card/ s/$/$norm/" $tmpdir/hand done < $tmpdir/nonexeccards + <<-. cat + Floor : $(cat fight/floor) + Turn : $(cat fight/turn) + + . + <<-. cat > $tmpdir/player Player @@ -60,6 +66,7 @@ _makefight() { mkdir -p fight/discard echo "1" > fight/turn + basename "$1" > fight/floor cp deck/* fight/stack