Une version rudimentaire de Slay The Spire dans le terminal - retour accueil
git clone git://bebou.netlib.re/sts-term
Log | Files | Refs |
commit 0b2b39c6ff7c5fb32ce0a78d1213d61a0a6cb226 parent 6b6f258a011dcd283748fe289250405c8963be65 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Wed, 19 Jun 2024 11:19:06 +0200 Création des dossiers contenant l'état du jeu Diffstat:
M | makeplayer | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/makeplayer b/makeplayer @@ -8,9 +8,13 @@ addcard() { cp bdd/cards/$2 stack/$2-$i done } + addrelic() { cp bdd/relics/$1 relic/$1 } + +mkdir -p deck relics discard stack + c=$(./pickrandom characters) < $c grep -Ev "(deck|relic)" > player < $c grep deck |