$10.00
Recommend
8 
 Thumb up
 Hide
11 Posts

Perikles» Forums » General

Subject: Perikles attacker/defender required roll grid rss

Your Tags: Add tags
Popular Tags: [View All]
Philip Eve
United Kingdom
flag msg tools
I am using Perikles in an upcoming board gaming event, and as part of my preparation I created a grid showing the rolls needed for the attacker and defender for various relative strength levels. I uploaded it to BGG, but it was declined - don't know why. You can view it here: http://junk.orderofthehammer.com/perikles-table.pdf. Here also is the LaTeX code I wrote to generate it, should you wish to make your own customised version of it. Have fun!

----------------------------------


% by Hammerite, 6th March 2011

\documentclass[a4paper]{amsart}

\usepackage{fullpage}
\usepackage{ifthen,tikz}
\usetikzlibrary{arrows}
\pagestyle{empty}

\newlength{\tableCellWidth}
\newcounter{tableYSize}
\newcounter{tableXSize}
\newcounter{defenderDoubleTest}
\newcounter{defenderAdvantageTest}
\newcounter{attackerAdvantageTest}
\newcounter{attackerDoubleTest}
\newcounter{attackerTripleTest}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Cell dimensions, number of rows, and number of columns
\setlength{\tableCellWidth}{9mm}
\setcounter{tableYSize}{16}
\setcounter{tableXSize}{16}

% Colours - comments indicate HSL coordinates
\xdefinecolor{defenderDouble}{RGB}{221, 214, 235} % 173, 83, 211
\xdefinecolor{defenderAdvantage}{RGB}{204, 236, 244} % 128, 155, 211
\xdefinecolor{noAdvantage}{RGB}{217, 251, 196} % 65, 210, 210
\xdefinecolor{attackerAdvantage}{RGB}{248, 254, 165} % 43, 235, 197
\xdefinecolor{attackerDouble}{RGB}{249, 230, 189} % 27, 200, 206
\xdefinecolor{attackerTriple}{RGB}{255, 213, 219} % 234, 240, 220

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\thispagestyle{empty}

\[
\begin{tikzpicture} [x = \tableCellWidth, y = \tableCellWidth]
\begin{scope} [ x = \tableCellWidth,
y = -\tableCellWidth,
yshift = (\value{tableYSize} + 1) * \tableCellWidth
]
\foreach \x in {1, ..., \value{tableXSize}} {
\foreach \y in {1, ..., \value{tableYSize}} {
\pgfmathsetcounter{defenderDoubleTest}{\y + 1 > 2 * \x}
\pgfmathsetcounter{defenderAdvantageTest}{\y - 1 > \x}
\pgfmathsetcounter{attackerAdvantageTest}{\x - 1 > \y}
\pgfmathsetcounter{attackerDoubleTest}{\x + 1 > 2 * \y}
\pgfmathsetcounter{attackerTripleTest}{\x + 1 > 3 * \y}
\ifthenelse{\equal{\value{defenderDoubleTest}}{1}}{
\path [fill = defenderDouble] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {10} --
+ (0.7, 0.7) node {5};
}{\ifthenelse{\equal{\value{attackerTripleTest}}{1}}{
\path [fill = attackerTriple] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {5} --
+ (0.7, 0.7) node {10};
}{\ifthenelse{\equal{\value{attackerDoubleTest}}{1}}{
\path [fill = attackerDouble] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {6} --
+ (0.7, 0.7) node {9};
}{\ifthenelse{\equal{\value{defenderAdvantageTest}}{1}}{
\path [fill = defenderAdvantage] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {9} --
+ (0.7, 0.7) node {6};
}{\ifthenelse{\equal{\value{attackerAdvantageTest}}{1}}{
\path [fill = attackerAdvantage] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {7} --
+ (0.7, 0.7) node {8};
}{
\path [fill = noAdvantage] (\x, \y) rectangle + (1, 1);
\path (\x, \y) --
+ (0.3, 0.3) node {8} --
+ (0.7, 0.7) node {7};
}}}}}
\draw (\x + 0.22, \y + 0.78) -- (\x + 0.78, \y + 0.22);
}
}
\end{scope}
\foreach \x in {1, ..., \value{tableXSize}} {
\path (\x + 0.5, \value{tableYSize} + 0.5) node {\x};
}
\foreach \y in {1, ..., \value{tableYSize}} {
\path (0.5, \value{tableYSize} - \y + 0.5) node {\y};
}
\draw (0.001, 0) grid [step={(1, 1)}]
(\value{tableXSize} + 1, \value{tableYSize} + 0.999);
\path (1, \value{tableYSize} + 1.5) --
node [midway] {\textbf{Attacker's strength}}
(\value{tableXSize} + 1, \value{tableYSize} + 1.5);
\path (-0.5, 0) --
node [midway, rotate = 90] {\textbf{Defender's strength}}
(-0.5, \value{tableYSize});
\end{tikzpicture}
\]\vspace*{2mm}

\[
\begin{tikzpicture} [x = \tableCellWidth, y = \tableCellWidth]
\path (-1.5, 0.5) node {\textbf{Key:}};
\path [fill = attackerDouble, draw] (0, 0) rectangle (1, 1);
\path (0.3, 0.7) node {6} --
(0.7, 0.3) node {9};
\draw (0.22, 0.22) -- (0.78, 0.78);
\draw [ultra thick, ->, > = angle 90]
(2.5, 1.25)
node [right] {This is the die roll (on 2D6) required by the \textbf{attacker}.} -|
(0.3, 0.87);
\draw [ultra thick, ->, > = angle 90]
(2.5, -0.25)
node [right] {This is the die roll (on 2D6) required by the \textbf{defender}.} -|
(0.7, 0.13);
\end{tikzpicture}
\]

\end{document}
3 
 Thumb up
1.30
 tip
 Hide
  • [+] Dice rolls
Łukasz
Poland
Warsaw
flag msg tools
veritas nos liberabit
badge
e^{i · π} + 1 = 0
mb
It's been ages since I last saw LaTeX source code.

Thanks for sharing, it will come in handy once I put Perikles back on the table.

And there's little tip to compensate you the denial of the file. Geekmodding is only of examples of why Internet sometimes sucks.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Peter Mumford
United States
Somerville
Massachusetts
flag msg tools
ceci n'est pas une pipe
mbmbmbmbmb
Hammer, upload it again. It seems like a useful tool.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Snooze Fest
United States
Hillsborough
North Carolina
flag msg tools
We love our pups!! Misu, RIP 28 Nov 2010. Tikka, RIP 11 Aug 2011.
mbmbmbmbmb
My guess would be that it was because there is another very similar table already there: http://boardgamegeek.com/filepage/62031/perikles-combat-odds.... That one, however, only tells you which column to use (whereas yours replaces the table altogether).
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
United States
Norwood
Massachusetts
flag msg tools
mbmbmbmbmb
My version is more in spirit with the game, is better looking, and has a more traditional feel to it.

That is a personal opinion, of course.

meeple
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Snooze Fest
United States
Hillsborough
North Carolina
flag msg tools
We love our pups!! Misu, RIP 28 Nov 2010. Tikka, RIP 11 Aug 2011.
mbmbmbmbmb
Actually, I think I agree on all counts. If I could manage to get this game to the table, I'd probably be using it!
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Snooze Fest
United States
Hillsborough
North Carolina
flag msg tools
We love our pups!! Misu, RIP 28 Nov 2010. Tikka, RIP 11 Aug 2011.
mbmbmbmbmb
I don't suppose you're going to implement this on your website??
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Łukasz
Poland
Warsaw
flag msg tools
veritas nos liberabit
badge
e^{i · π} + 1 = 0
mb
snoozefest wrote:
I don't suppose you're going to implement this on your website??


I myself have been thinking of implementing an on-line version of Perikles; the only problem were the special cards - they introduce another layer of interaction which isn't that straightforward to deal with in a PBEM game.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
United States
Norwood
Massachusetts
flag msg tools
mbmbmbmbmb
I've been itching to play this game but I cannot find the group. If you create it, they will come.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Philip Eve
United Kingdom
flag msg tools
snoozefest wrote:
I don't suppose you're going to implement this on your website??


Sorry, no. I don't have the time. If I did have the time, there are other games I would consider first.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Michelle Rose
United States
Phoenix
AZ
flag msg tools
Yet another reason to love BGG: this awesome combo of nerdiness and sharing. Thanks! We are playing for the first time tonight. This will come in handy!
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.