diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-07-09 03:13:33 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-07-09 03:13:57 +0200 |
commit | 52cb859a46f0c4bd61c217029b35f46ce634bfb7 (patch) | |
tree | 68f93764045061ce4a3b71f9acfba32d7adbcdf8 | |
parent | 28e6f9700a7fcb9c88eaf5bd1b0e97620b196420 (diff) |
Adding a few more icons, and getting ready to translate cards.
-rw-r--r-- | cards.tex | 36 | ||||
-rw-r--r-- | icons.tex | 28 |
2 files changed, 47 insertions, 17 deletions
@@ -1,29 +1,31 @@ -\card{Rule}{ -This is a test of card rule. This is supposed to contain lots of lines, and -possibly icons. For example, this is a Mixed (Black or White) King \iMK which is blended with -the rest of the rule. Note it bumps line heights.\\ -\iWK\iWQ\iWB\iWN\iWR\iWP\\ -\iBK\iBQ\iBB\iBN\iBR\iBP\\ -\iMK\iMQ\iMB\iMN\iMR\iMP\\ -\inoK\iBoard\\ -}{...}{...} +%\card{Rule}{ +%This is a test of card rule. This is supposed to contain lots of lines, and +%possibly icons. For example, this is a Mixed (Black or White) King \iMK which is blended with +%the rest of the rule. Note it bumps line heights.\\ +%\iWK\iWQ\iWB\iWN\iWR\iWP\\ +%\iBK\iBQ\iBB\iBN\iBR\iBP\\ +%\iMK\iMQ\iMB\iMN\iMR\iMP\\ +%\inoK\iBoard\iWA\iBA\iMA\\ +%}{...}{...} + +\newcommand{\ET}{Play this card at the end of your turn.} \card{Hopper}{ One of your Rooks can, at the end of its move, continue on its line for two more squares by hopping over one piece, be it yours or your opponent's. This move can only happen if it takes a piece. -}{Play this card at the end of your turn.}{\iWR} +}{\ET}{\iWR} \card{Regency}{ You are making your King disappear from the board for the next turn. Before your next turn, you will have to place him back, by putting it on any square on the side of the board. -}{Play this card at the end of your turn.}{\iWK} +}{\ET}{\iWK} -%\card{Tango}{ -%Move any of your pieces by doing the same exact move you just did (same -%direction, same distance), as long as the move is valid. For example, no -%other piece should be in the path, except when reproducing knight moves. -%This move can take another piece. -%}{Play this card at the end of your turn.}{\iBB\iWB\iBK\iWK} +\card{Tango}{ +Move any of your pieces by doing the same exact move you just did (same +direction, same distance), as long as the move is valid. For example, no +other piece should be in the path, except when reproducing knight moves. +This move can take another piece. +}{\ET}{\iWA} @@ -152,3 +152,31 @@ (10, 14) -- (20, 9) -- (30, 14) -- (20, 20) -- cycle; \end{tikzpicture} } + +\newcommand{\iWA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw, fill] (0, 0) circle (0.3); + \end{tikzpicture} +} + +\newcommand{\iBA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, fill, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw=white, fill=white] (0, 0) circle (0.3); + \end{tikzpicture} +} + +\newcommand{\iMA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw, fill] (0, 0) circle (0.3); + \clip (-1, 1) -- (1, -1) -- (1, 1); + \path[draw, fill, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw=white, fill=white] (0, 0) circle (0.3); + \end{tikzpicture} +} |