summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-26 13:47:50 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 17:53:32 +0100
commit797717e115567c75960398a3f26e2450bfed1334 (patch)
tree3090efcf4013903dbb3371981b649ddcd045b9d3
parent168a810ea24d1c223834aadf68212b325cb60cec (diff)
downloadplantagenet-797717e115567c75960398a3f26e2450bfed1334.tar.gz
Add skeleton.
-rw-r--r--.gitignore1
-rw-r--r--README6
-rw-r--r--about.html19
-rw-r--r--cover.1x.jpgbin0 -> 19874 bytes
-rw-r--r--cover.2x.jpgbin0 -> 64273 bytes
-rw-r--r--cover.pngbin0 -> 927237 bytes
-rw-r--r--create.html3
-rw-r--r--rules.js31
-rw-r--r--thumbnail.jpgbin0 -> 11559 bytes
-rw-r--r--title.sql2
10 files changed, 62 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8702f8f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+HIRES
diff --git a/README b/README
new file mode 100644
index 0000000..ac01f3b
--- /dev/null
+++ b/README
@@ -0,0 +1,6 @@
+This game is implemented with the generous permission of GMT Games.
+
+Rules and art copyright 2023 GMT Games, LLC.
+
+Copyright 2022 by Tor Andersson.
+Copyright 2023 by Christophe Correia.
diff --git a/about.html b/about.html
new file mode 100644
index 0000000..74f945a
--- /dev/null
+++ b/about.html
@@ -0,0 +1,19 @@
+<p>
+Lorem ipsum dolor etc.
+
+<br clear="left">
+
+<p>
+Game Design: Francisco Gradaille.<br>
+
+<p>
+Copyright &copy; 2019
+<a href="https://www.gmtgames.com/p-1009-nevsky-teutons-and-rus-in-collision-1240-1242-2nd-edition.aspx">GMT Games, LLC</a>.
+
+<ul>
+<li><a href="/plantagenet/info/rulebook.html">Rules of Play</a>
+<li><a href="/plantagenet/info/playbook.html">Background Book</a>
+<li><a href="/plantagenet/info/pac.html">Reference Sheets</a>
+<li><a href="/plantagenet/info/cards.html">Arts of War and Lords</a>
+<li><a href="/plantagenet/info/notes.html">Implementation Notes</a>
+</ul>
diff --git a/cover.1x.jpg b/cover.1x.jpg
new file mode 100644
index 0000000..178586b
--- /dev/null
+++ b/cover.1x.jpg
Binary files differ
diff --git a/cover.2x.jpg b/cover.2x.jpg
new file mode 100644
index 0000000..77d560a
--- /dev/null
+++ b/cover.2x.jpg
Binary files differ
diff --git a/cover.png b/cover.png
new file mode 100644
index 0000000..588688a
--- /dev/null
+++ b/cover.png
Binary files differ
diff --git a/create.html b/create.html
new file mode 100644
index 0000000..106d6f2
--- /dev/null
+++ b/create.html
@@ -0,0 +1,3 @@
+<p>
+<label><input type="checkbox" name="hidden" value="true">Hidden Mats</label>
+</p>
diff --git a/rules.js b/rules.js
new file mode 100644
index 0000000..d336037
--- /dev/null
+++ b/rules.js
@@ -0,0 +1,31 @@
+"use strict"
+
+const BOTH = "Both"
+const LANCASTER = "Lancaster"
+const YORK = "York"
+
+const P1 = LANCASTER
+const P2 = YORK
+
+const HIT = [ "0", '\u2776', '\u2777', '\u2778', '\u2779', '\u277A', '\u277B' ]
+const MISS = [ "0", '\u2460', '\u2461', '\u2462', '\u2463', '\u2464', '\u2465' ]
+
+let game = null
+let view = null
+let states = {}
+
+exports.roles = [ LANCASTER, YORK ]
+
+exports.scenarios = [
+ "Ia. Henry VI",
+ "Ib. Towton",
+ "Ic. Somerset's Return",
+ "II. Warwicks' Rebellion",
+ "III. My Kingdom for a Horse",
+ "I-III. Wars of the Roses",
+ "I. Plantagenets Go to War",
+ "IIY. The Kingmaker",
+ "IIL. Lancastrian Legitimacy Fades",
+ "IIIY. New Rivals",
+ "IIIL. Yorkists' Last Stand",
+]
diff --git a/thumbnail.jpg b/thumbnail.jpg
new file mode 100644
index 0000000..bbd0d47
--- /dev/null
+++ b/thumbnail.jpg
Binary files differ
diff --git a/title.sql b/title.sql
new file mode 100644
index 0000000..d11f02d
--- /dev/null
+++ b/title.sql
@@ -0,0 +1,2 @@
+insert or replace into titles ( title_id, title_name, bgg ) values ( 'plantagenet', 'Plantagenet', 352135 );
+