diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-22 23:33:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-22 23:33:07 +0000 |
commit | 0647f15eef30d4e201d22a49a84fd49de917755f (patch) | |
tree | 8a72ac155cb3778af83a3981591713028bd35e64 /Master/texmf-dist | |
parent | 7861f11c60e2cc066cae8bdd9ab933afd42faabb (diff) |
jeuxcartes (23feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
60 files changed, 138 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf Binary files differindex 7b8cac8486f..dc600f8bb10 100644 --- a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf +++ b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.pdf diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex index 1420ae56bc2..6273a6bbeed 100644 --- a/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex +++ b/Master/texmf-dist/doc/latex/jeuxcartes/JeuxCartes-doc.tex @@ -32,7 +32,24 @@ \cfoot{\sffamily \small - \thepage{} -} \rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}} -\usepackage{hvlogos} +%\usepackage{hvlogos} +\usepackage{hologo} +\providecommand\tikzlogo{Ti\textit{k}Z} +\providecommand\TeXLive{\TeX{}Live\xspace} +\providecommand\PSTricks{\textsf{PSTricks}\xspace} +\let\pstricks\PSTricks +\let\TikZ\tikzlogo +\newcommand\TableauDocumentation{% + \begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}} + {\huge \LaTeX} & & & & &\\ + & {\huge \hologo{pdfLaTeX}} & & & & \\ + & & {\huge \hologo{LuaLaTeX}} & & & \\ + & & & {\huge \TikZ} & & \\ + & & & & {\huge \TeXLive} & \\ + & & & & & {\huge \hologo{MiKTeX}} \\ + \end{tblr} +} + \usepackage{menukeys} \let\tab\relax \usepackage{tabto} @@ -52,8 +69,8 @@ \setlength{\parindent}{0pt} \definecolor{LightGray}{gray}{0.9} -\def\TPversion{0.2.1a} -\def\TPdate{28 Décembre 2022} +\def\TPversion{0.2.2a} +\def\TPdate{22 Février 2023} \usepackage[most]{tcolorbox} \usepackage[outputdir=build]{minted} @@ -157,14 +174,7 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main \medskip -\begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}} - {\huge \LaTeX} & & & & &\\ - & {\huge \pdfLaTeX} & & & & \\ - & & {\huge \LuaLaTeX} & & & \\ - & & & {\huge \TikZ} & & \\ - & & & & {\huge \TeXLive} & \\ - & & & & & {\huge \MiKTeX} \\ -\end{tblr} +\TableauDocumentation \medskip @@ -181,23 +191,25 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main \tableofcontents -\vfill~ +\pagebreak \part{Historique} -{\small \bverb|v0.2.1a|~:~~~~Correction du nom d'une carte pokerv1... +{\small \bverb|v0.2.2a|~:~~~~Ajout d'un style v4 pour le Poker -{\small \bverb|v0.2.0 |~:~~~~Modification du design des cartes (pdf pour Poker/Uno + png pour Tarot) + alternatives pour le Poker +{\small \bverb|v0.2.1|~:~~~~Correction du nom d'une carte pokerv1... -{\small \bverb|v0.1.4 |~:~~~~Réduction de la taille des images \texttt{png} +{\small \bverb|v0.2.0|~:~~~~Modification du design des cartes (pdf pour Poker/Uno + png pour Tarot) + alternatives pour le Poker -{\small \bverb|v0.1.3 |~:~~~~Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami +{\small \bverb|v0.1.4|~:~~~~Réduction de la taille des images \texttt{png} -{\small \bverb|v0.1.2 |~:~~~~Modification du nom (et de la source) des images de Tarot (CC0) +{\small \bverb|v0.1.3|~:~~~~Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami -{\small \bverb|v0.1.1 |~:~~~~Ajout de commandes pour des mini-cartes +{\small \bverb|v0.1.2|~:~~~~Modification du nom (et de la source) des images de Tarot (CC0) -{\small \bverb|v0.1 |~:~~~~Version initiale +{\small \bverb|v0.1.1|~:~~~~Ajout de commandes pour des mini-cartes + +{\small \bverb|v0.1 |~:~~~~Version initiale \vfill~ @@ -212,7 +224,7 @@ Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main \begin{codeidee} L'idée de ce package est de proposer, comme le fait \ctex{pst-poker}, des commandes pour intégrer des cartes de poker dans un document \LaTeX. -Les cartes sont des images : +Les cartes disponibles sont : : % \begin{itemize} % \item les cartes type \textsf{Poker} sont sous licence LGPL, \copyright{}2005, de David Bellot, via \url{https://github.com/htdebeer/SVG-cards} ; @@ -221,6 +233,7 @@ Les cartes sont des images : \item les cartes type \textsf{Poker v1} (Licence : LGPL-2.1 license) \url{https://github.com/htdebeer/SVG-cards} \item les cartes type \textsf{Poker v2} (Licence : Public Domain) \url{https://tekeye.uk/playing_cards/svg-playing-cards} \item les cartes type \textsf{Poker v3} (Licence : Public Domain) \url{https://www.me.uk/cards/} + \item les cartes type \textsf{Poker v4} (Licence : CC BY-SA 4.0) \url{https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg} \item les cartes type \textsf{Tarot} (Licence : Public Domain) \url{https://freesvg.org/deck-of-french-tarot-playing-cards} \item les cartes type \textsf{Uno} (Licence : MIT License) \url{https://eperezcosano.github.io/uno-part1/} % Uno v2 cards Image's Licence : CC1.0 https://alexder.itch.io/uno-card-game-asset-pack @@ -232,7 +245,7 @@ Le {package} \ctex{JeuxCartes} charge les {packages} : \begin{itemize} \item \ctex{tikz}, \ctex{pifont}, \ctex{xfp}, \ctex{pgffor}, \ctex{xinttools} ; - \item \ctex{listofitems}, \ctex{xstring}, \ctex{xparse} et \ctex{simplekv} ; + \item \ctex{listofitems}, \ctex{xstring} et \ctex{simplekv} ; \item \ctex{randomlist}, \ctex{xcolor} avec les options \ctex{[table,svgnames]}. \end{itemize} \end{codeinfo} @@ -311,8 +324,8 @@ Les \textsf{codes} seront présentés dans des \textsf{boîtes} \textcolor{red!7 Les \textit{Jeux} disponibles sont : \begin{itemize} - \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Tarot} et \Cle{Uno} pour l'affichage des cartes ; - \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Tarot}, \Cle{Bataille}, \Cle{Rami}, \Cle{Belote} et \Cle{Uno} pour les mains aléatoires ; + \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Pokerv4}, \Cle{Tarot} et \Cle{Uno} pour l'affichage des cartes ; + \item \Cle{Poker}, \Cle{Pokerv2}, \Cle{Pokerv3}, \Cle{Pokerv4}, \Cle{Tarot}, \Cle{Bataille}, \Cle{Rami}, \Cle{Belote} et \Cle{Uno} pour les mains aléatoires ; \item \Cle{Poker} et \Cle{Tarot} pour les \textit{mini-}cartes. \end{itemize} \end{codeinfo} @@ -356,8 +369,8 @@ La commande \ctex{AffCartesJeu} affiche une liste de cartes ne mode \textit{côt \begin{codetex}[] \AffCarteJeu{VP}\AffCarteJeu{10K}\AffCarteJeu{AC}\AffCarteJeu{Dos}\AffCarteJeu{DT}\\ \\ -\AffCarteJeu[TypeJeu=Tarot]{VP}\AffCarteJeu[TypeJeu=Tarot]{Dos} -\AffCarteJeu[TypeJeu=Tarot]{Exc}\AffCarteJeu[TypeJeu=Tarot]{1AT} +\AffCarteJeu[TypeJeu=Tarot]{VP}\AffCarteJeu[TypeJeu=Tarot]{Dos}% +\AffCarteJeu[TypeJeu=Tarot]{Exc}\AffCarteJeu[TypeJeu=Tarot]{1AT}% \AffCarteJeu[TypeJeu=Tarot]{10K}\AffCarteJeu[TypeJeu=Tarot]{18AT}\\ \\ \AffCartesJeu[TypeJeu=Uno]{P4 § PTR § Coul § 7B § 8V} \end{codetex} @@ -457,12 +470,13 @@ On obtient la main \AffCartesJeu[Hauteur=2,TypeJeu=Uno]{9B § 8R § P2J § P4 § \subsection{Designs disponibles pour les cartes classiques} \begin{codeinfo} -Il existe 3 versions de design des cartes \textit{classiques}, accessibles via les clés : +Il existe 4 versions de designs des cartes \textit{classiques}, accessibles via les clés : \begin{itemize} \item \Cle{Poker} ; \item \Cle{Pokerv2} ; - \item \Cle{Pokerv3}. + \item \Cle{Pokerv3} ; + \item \Cle{Pokerv4}. \end{itemize} \end{codeinfo} @@ -473,6 +487,8 @@ Il existe 3 versions de design des cartes \textit{classiques}, accessibles via l \AffCartesJeu[Hauteur=2,TypeJeu=Pokerv2]{DK § AP § 10T § VP § 8T § RT § 9C} \\ \\ \textbf{Design v3} :\\ \AffCartesJeu[Hauteur=2,TypeJeu=Pokerv3]{DK § AP § 10T § VP § 8T § RT § 9C} \\ \\ +\textbf{Design v4} :\\ +\AffCartesJeu[Hauteur=2,TypeJeu=Pokerv4]{DK § AP § 10T § VP § 8T § RT § 9C} \\ \\ \end{codetex} \pagebreak @@ -496,7 +512,7 @@ Les commandes pour créer des \textit{mains} sont obligatoirement liées à des \subsection{Clés et options} \begin{codecles} -L'argument \textit{mandataire} correspond à la liste des cartes à afficher, sous la forme +L'argument \textit{obligatoire} correspond à la liste des cartes à afficher, sous la forme \begin{itemize} \item \texttt{<carte1> § <carte2> § ... § <carten>}. @@ -594,10 +610,10 @@ Les \Cle{options} sont les suivantes : En ce qui concerne les \textit{jeux} disponibles (non modifiables) : \begin{itemize} - \item \Cle{Poker} ou \Cle{Pokerv2} ou \Cle{Pokerv3} : 52 cartes (sans Joker) ; - \item \Cle{Belote} ou \Cle{Belotev2} ou \Cle{Belotev3} : 32 cartes (sans Joker) ; - \item \Cle{Bataille} ou \Cle{Bataillev2} ou \Cle{Bataillev3}: 54 cartes (avec Jokers) ; - \item \Cle{Rami} ou \Cle{Ramiv2} ou \Cle{Ramiv3} : 108 cartes (avec Jokers) ; + \item \Cle{Poker} ou \Cle{Pokerv2} ou \Cle{Pokerv3} ou \Cle{Pokerv4} : 52 cartes (sans Joker) ; + \item \Cle{Belote} ou \Cle{Belotev2} ou \Cle{Belotev3} ou \Cle{Belotev4} : 32 cartes (sans Joker) ; + \item \Cle{Bataille} ou \Cle{Bataillev2} ou \Cle{Bataillev3} ou \Cle{Bataillev4} : 54 cartes (avec Jokers) ; + \item \Cle{Rami} ou \Cle{Ramiv2} ou \Cle{Ramiv3} ou \Cle{Ramiv4} : 108 cartes (avec Jokers) ; \item \Cle{Tarot} : 78 cartes ; \item \Cle{Uno}. \end{itemize} @@ -733,6 +749,10 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus \subsection{Poker/Bataille/Belote (v1)} +Dos disponibles : \texttt{Dos} + +\medskip + \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.85]{#1P}} \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.85]{#1C}} @@ -746,6 +766,10 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus \subsection{Poker/Bataille/Belote (v2)} +Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge} ou \texttt{DosBleu2} ou \texttt{DosRouge2} + +\medskip + \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv2,Hauteur=1.85]{#1P}} \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv2,Hauteur=1.85]{#1C}} @@ -761,6 +785,10 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus \subsection{Poker/Bataille/Belote (v3)} +Dos disponibles : \texttt{DosNoir} ou \texttt{DosRouge} + +\medskip + \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{#1P}} \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{#1C}} @@ -771,6 +799,24 @@ Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus \AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosNoir}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosRouge}% +\subsection{Poker/Bataille/Belote (v4)} + +Dos disponibles : \texttt{DosBleu} ou \texttt{DosRouge} + +\medskip + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{#1P}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{#1C}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{#1K}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{#1T}} + +\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JN}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{JR}\AffCarteJeu[TypeJeu=Pokerv3,Hauteur=1.85]{DosRouge}\AffCarteJeu[TypeJeu=Pokerv4,Hauteur=1.85]{DosBleu}% + +\pagebreak + \subsection{Cartes Tarot} \xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.85]{#1P}} @@ -836,10 +882,10 @@ L'\textit{origine} des cartes est fixée, au coin bas-gauche, et la \Cle{Rotatio \begin{codetex}[] \begin{tikzpicture} \draw[thin,lightgray] (-5,-5) grid (5,3) ; %grille rajoutée pour la lisibilité du code - \foreach \ptsupport in {(0,0),(3,-4),(-3,-1),(-2,-3.5),(2,2.75),(-4.5,-4.5)}% + \foreach \ptsupport in {(0,0),(3,-4),(-3,-1),(-2,-3.5),(2,2.75),(-4.5,-4.5),,(1,-2.5)}% {\filldraw[Gray] \ptsupport circle[radius=2pt] ;} %poits rajouté pour la lisibilité du code - \foreach \x in {-5,-4,...,5} \draw[lightgray] (\x,-5) node[below,font=\small] {\x} ; - \foreach \y in {-5,-4,...,3} \draw[lightgray] (-5,\y) node[left,font=\small] {\y} ; + \foreach \x in {-5,-4,...,5} \draw[lightgray] (\x,-5) node[below,font=\small] {$\x$} ; + \foreach \y in {-5,-4,...,3} \draw[lightgray] (-5,\y) node[left,font=\small] {$\y$} ; \AffCarteJeu[Hauteur=2,Tikz=true,TikzAutonome=false]% {10C} \AffCarteJeu[TypeJeu=Pokerv2,Hauteur=2.5,Tikz=true,TikzAutonome=false,DecalageX=3,DecalageY=-4]% @@ -853,6 +899,9 @@ L'\textit{origine} des cartes est fixée, au coin bas-gauche, et la \Cle{Rotatio {18AT} \AffCarteJeu[TypeJeu=Uno,Hauteur=2,Tikz=true,TikzAutonome=false,DecalageX=-4.5,DecalageY=-4.5]% {P4} + \AffCarteJeu% + [TypeJeu=Pokerv4,Hauteur=1.75,Tikz=true,TikzAutonome=false,Rotation=-10,DecalageX=1,DecalageY=-2.5]% + {RP} \end{tikzpicture} \end{codetex} diff --git a/Master/texmf-dist/doc/latex/jeuxcartes/README.md b/Master/texmf-dist/doc/latex/jeuxcartes/README.md index 13bfc292bcd..3593df51ccd 100644 --- a/Master/texmf-dist/doc/latex/jeuxcartes/README.md +++ b/Master/texmf-dist/doc/latex/jeuxcartes/README.md @@ -8,5 +8,6 @@ Licence : Released under the LaTeX Project Public License v1.3c or later, see ht Poker v1 cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards Poker v2 cards Image's Licence : Public Domain https://tekeye.uk/playing_cards/svg-playing-cards Poker v3 cards Image's Licence : Public Domain https://www.me.uk/cards/ +Poker v4 cards Image's Licence : CC BY-SA 4.0 https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg Tarot v1 cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards Uno v1 cards Image's Licence : MIT License https://eperezcosano.github.io/uno-part1/
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10C.pdf Binary files differnew file mode 100644 index 00000000000..327e83e22cf --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10K.pdf Binary files differnew file mode 100644 index 00000000000..aeaa7d994f4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10P.pdf Binary files differnew file mode 100644 index 00000000000..b0a868f000c --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10T.pdf Binary files differnew file mode 100644 index 00000000000..e4eefa11816 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-10T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2C.pdf Binary files differnew file mode 100644 index 00000000000..6f9499e4390 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2K.pdf Binary files differnew file mode 100644 index 00000000000..90baca0f2c2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2P.pdf Binary files differnew file mode 100644 index 00000000000..ac7f1db313a --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2T.pdf Binary files differnew file mode 100644 index 00000000000..f91326101e0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-2T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3C.pdf Binary files differnew file mode 100644 index 00000000000..3b0cd4c8259 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3K.pdf Binary files differnew file mode 100644 index 00000000000..42ccc76f68c --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3P.pdf Binary files differnew file mode 100644 index 00000000000..8bca73f91ac --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3T.pdf Binary files differnew file mode 100644 index 00000000000..e1541721fd5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-3T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4C.pdf Binary files differnew file mode 100644 index 00000000000..e9df534c4f1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4K.pdf Binary files differnew file mode 100644 index 00000000000..40856a0c9b3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4P.pdf Binary files differnew file mode 100644 index 00000000000..5a93edba707 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4T.pdf Binary files differnew file mode 100644 index 00000000000..fc9130a2ac5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-4T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5C.pdf Binary files differnew file mode 100644 index 00000000000..4d7d6c1475c --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5K.pdf Binary files differnew file mode 100644 index 00000000000..124e16201cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5P.pdf Binary files differnew file mode 100644 index 00000000000..f65169cf475 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5T.pdf Binary files differnew file mode 100644 index 00000000000..45b5ddd9ec4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-5T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6C.pdf Binary files differnew file mode 100644 index 00000000000..1216087b127 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6K.pdf Binary files differnew file mode 100644 index 00000000000..2a4e6c6c79d --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6P.pdf Binary files differnew file mode 100644 index 00000000000..5316058ff5d --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6T.pdf Binary files differnew file mode 100644 index 00000000000..d0bf59754b7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-6T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7C.pdf Binary files differnew file mode 100644 index 00000000000..3513a2bd0d4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7K.pdf Binary files differnew file mode 100644 index 00000000000..ce5ae47b0da --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7P.pdf Binary files differnew file mode 100644 index 00000000000..3f1c8cc387f --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7T.pdf Binary files differnew file mode 100644 index 00000000000..d80cba718a3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-7T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8C.pdf Binary files differnew file mode 100644 index 00000000000..0a65a47c22e --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8K.pdf Binary files differnew file mode 100644 index 00000000000..f03235dde7f --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8P.pdf Binary files differnew file mode 100644 index 00000000000..3bb002a1e35 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8T.pdf Binary files differnew file mode 100644 index 00000000000..c66e82563c3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-8T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9C.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9C.pdf Binary files differnew file mode 100644 index 00000000000..9b0888ab7c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9C.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9K.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9K.pdf Binary files differnew file mode 100644 index 00000000000..5cf0a862f24 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9K.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9P.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9P.pdf Binary files differnew file mode 100644 index 00000000000..5381890146f --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9P.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9T.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9T.pdf Binary files differnew file mode 100644 index 00000000000..89f1bc16a40 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-9T.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AC.pdf Binary files differnew file mode 100644 index 00000000000..c0fc161f09a --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AC.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AK.pdf Binary files differnew file mode 100644 index 00000000000..53363cefc8a --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AK.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf Binary files differnew file mode 100644 index 00000000000..a74874dca91 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AP.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AT.pdf Binary files differnew file mode 100644 index 00000000000..d84a2277f8c --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-AT.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DC.pdf Binary files differnew file mode 100644 index 00000000000..8fc4ed3cb2e --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DC.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DK.pdf Binary files differnew file mode 100644 index 00000000000..833c386b2c2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DK.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DP.pdf Binary files differnew file mode 100644 index 00000000000..7172e724176 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DP.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DT.pdf Binary files differnew file mode 100644 index 00000000000..ea1757152e6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DT.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosBleu.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosBleu.pdf Binary files differnew file mode 100644 index 00000000000..7c4dd6760cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosBleu.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosRouge.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosRouge.pdf Binary files differnew file mode 100644 index 00000000000..1e415ddd5b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-DosRouge.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JN.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JN.pdf Binary files differnew file mode 100644 index 00000000000..ed660d030b7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JN.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JR.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JR.pdf Binary files differnew file mode 100644 index 00000000000..ded30001994 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-JR.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RC.pdf Binary files differnew file mode 100644 index 00000000000..f479d143c0c --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RC.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RK.pdf Binary files differnew file mode 100644 index 00000000000..05964459403 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RK.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RP.pdf Binary files differnew file mode 100644 index 00000000000..a5d8f9977c7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RP.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RT.pdf Binary files differnew file mode 100644 index 00000000000..d5861dc4642 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-RT.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VC.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VC.pdf Binary files differnew file mode 100644 index 00000000000..735c95b08b4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VC.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VK.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VK.pdf Binary files differnew file mode 100644 index 00000000000..a524ae12f26 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VK.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VP.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VP.pdf Binary files differnew file mode 100644 index 00000000000..f6c20146ffa --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VP.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VT.pdf b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VT.pdf Binary files differnew file mode 100644 index 00000000000..77f10dafecd --- /dev/null +++ b/Master/texmf-dist/tex/latex/jeuxcartes/CaJ-PokeRv4-VT.pdf diff --git a/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty b/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty index c37e0334e69..a94f30eefb1 100644 --- a/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty +++ b/Master/texmf-dist/tex/latex/jeuxcartes/JeuxCartes.sty @@ -3,21 +3,24 @@ % Poker v1 cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards % Poker v2 cards Image's Licence : Public Domain https://tekeye.uk/playing_cards/svg-playing-cards % Poker v3 cards Image's Licence : Public Domain https://www.me.uk/cards/ +% Poker v4 cards Image's Licence : CC BY-SA 4.0) https://commons.wikimedia.org/wiki/File:Computer_screen_playing_cards_deck.svg % Tarot v1 cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards % Uno v1 cards Image's Licence : MIT License https://eperezcosano.github.io/uno-part1/ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{JeuxCartes}[2022/12/27 v0.2.1 Jeux de cartes] -% 0.2.1 Correction d'un bug avec une carte de poker... -% 0.2.0 Modification des images (en mode pdf !) + v3 Poker + réduction taille Tarot -% 0.1.7 Correction d'un bug avec les noms de Uno -% 0.1.5 Ajout v2 pour le Poker -% 0.1.4 Réduction de la taille des images -% 0.1.3 Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami -% Amélioration de la qualité des cartes de Tarot (sans augmenter la taille) -% 0.1.2 Modification du nom (et de la source) des images de Tarot (CC0) -% 0.1.1 Ajout de commandes pour des mini-cartes -% 0.1 Version initiale +\ProvidesPackage{JeuxCartes}[2023/02/22 v0.2.2a Jeux de cartes] +% 0.2.2a Correction de 2 cartes de pokerv4 +% 0.2.2 Ajout d'un style v4 pour le poker +% 0.2.1a Correction d'un bug avec une carte de poker... +% 0.2.0 Modification des images (en mode pdf !) + v3 Poker + réduction taille Tarot +% 0.1.7 Correction d'un bug avec les noms de Uno +% 0.1.5 Ajout v2 pour le Poker +% 0.1.4 Réduction de la taille des images +% 0.1.3 Ajout de cartes Uno (CC1.0 par AlexDer) + modification des commandes + rami +% Amélioration de la qualité des cartes de Tarot (sans augmenter la taille) +% 0.1.2 Modification du nom (et de la source) des images de Tarot (CC0) +% 0.1.1 Ajout de commandes pour des mini-cartes +% 0.1 Version initiale %------Packages utiles \RequirePackage{graphicx} @@ -65,8 +68,11 @@ \IfStrEq{\AffCarteJeuType}{Pokerv2}%poker2 {\def\CartePrefixe{CaJ-PokeRv2-}}{}% %cas pokerv3 - \IfStrEq{\AffCarteJeuType}{Pokerv3}%poker2 + \IfStrEq{\AffCarteJeuType}{Pokerv3}%poker3 {\def\CartePrefixe{CaJ-PokeRv3-}}{}% + %cas pokerv4 + \IfStrEq{\AffCarteJeuType}{Pokerv4}%poker4 + {\def\CartePrefixe{CaJ-PokeRv4-}}{}% %cas tarot \IfStrEq{\AffCarteJeuType}{Tarot}%tarot {\def\CartePrefixe{CaJ-TaroTv1-}}{}% @@ -157,6 +163,8 @@ {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv2-}}{}% \IfStrEq{\MainJeuType}{Pokerv3}%poker3 {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv3-}}{}% + \IfStrEq{\MainJeuType}{Pokerv4}%poker4 + {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-PokeRv4-}}{}% \IfStrEq{\MainJeuType}{Tarot}%tarot {\def\HauteurGenerique{5.5}\def\CarteMainPrefixe{CaJ-TaroTv1-}}{}% \IfStrEq{\MainJeuType}{Uno}%uno @@ -228,6 +236,8 @@ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv2}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}% \IfStrEq{\MainJeuType}{Pokerv3}%pokerv3 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}% + \IfStrEq{\MainJeuType}{Pokerv4}%pokerv4 + {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}% \IfStrEq{\MainJeuType}{Uno}%uno {\def\HauteurGenerique{8.5}\def\CarteMainType{Uno}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}% % \IfStrEq{\MainJeuType}{Unov2}%unov2 @@ -238,18 +248,24 @@ {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv2}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}% \IfStrEq{\MainJeuType}{Bataillev3}%bataillev3 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}% + \IfStrEq{\MainJeuType}{Bataillev4}%bataillev4 + {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}% \IfStrEq{\MainJeuType}{Belote}%belote {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}% \IfStrEq{\MainJeuType}{Belotev2}%belotev2 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv2}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}% - \IfStrEq{\MainJeuType}{Belotev2}%belotev3 + \IfStrEq{\MainJeuType}{Belotev3}%belotev3 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}% + \IfStrEq{\MainJeuType}{Belotev4}%belotev4 + {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}% \IfStrEq{\MainJeuType}{Rami}%rami {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}% \IfStrEq{\MainJeuType}{Ramiv2}%ramiv2 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv2}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}% \IfStrEq{\MainJeuType}{Ramiv3}%ramiv3 {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv3}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}% + \IfStrEq{\MainJeuType}{Ramiv4}%ramiv4 + {\def\HauteurGenerique{8.5}\def\CarteMainType{Pokerv4}\xdef\CarteDebutRand{\fpeval{randint(0,108-#2)}}}{}% \IfStrEq{\MainJeuType}{Tarot}%tarot {\def\HauteurGenerique{6.375}\def\CarteMainType{Tarot}\xdef\CarteDebutRand{\fpeval{randint(0,78-#2)}}}{}% %échelle relative des cartes @@ -280,6 +296,12 @@ \do{\InsertRandomItem{CartesJeuMelange}{##1}}% }% {}% + \IfStrEq{\MainJeuType}{Pokerv4}%si c'est le pokerv4 + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuPoker}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% \IfStrEq{\MainJeuType}{Bataille}%si c'est la bataille {% \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}% @@ -298,6 +320,12 @@ \do{\InsertRandomItem{CartesJeuMelange}{##1}}% }% {}% + \IfStrEq{\MainJeuType}{Bataillev4}%si c'est la bataillev4 + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% \IfStrEq{\MainJeuType}{Rami}%si c'est le rami {% \xintFor* ##1 in {\xintCSVtoList{\CartesJeuRami}}% @@ -316,6 +344,12 @@ \do{\InsertRandomItem{CartesJeuMelange}{##1}}% }% {}% + \IfStrEq{\MainJeuType}{Ramiv4}%si c'est le ramiv4 + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuRami}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% \IfStrEq{\MainJeuType}{Uno}%si c'est le uno {% \xintFor* ##1 in {\xintCSVtoList{\CartesJeuUno}}% @@ -346,6 +380,12 @@ \do{\InsertRandomItem{CartesJeuMelange}{##1}}% }% {}% + \IfStrEq{\MainJeuType}{Belotev4}%si c'est la belotev4 + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% \IfStrEq{\MainJeuType}{Tarot}%si c'est le tarot {% \xintFor* ##1 in {\xintCSVtoList{\CartesJeuTarot}}% |