From f96cb9d17989334824a759128eea7a6e6bf20481 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Wed, 7 Dec 2016 05:05:05 +0100 Subject: Add game card and wonders data --- .../org/luxons/sevenwonders/game/data/age1.csv | 1 + .../org/luxons/sevenwonders/game/data/age2.csv | 1 + .../org/luxons/sevenwonders/game/data/age3.csv | 1 + .../org/luxons/sevenwonders/game/data/wonders.json | 113 +++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 src/main/resources/org/luxons/sevenwonders/game/data/age1.csv create mode 100644 src/main/resources/org/luxons/sevenwonders/game/data/age2.csv create mode 100644 src/main/resources/org/luxons/sevenwonders/game/data/age3.csv create mode 100644 src/main/resources/org/luxons/sevenwonders/game/data/wonders.json (limited to 'src/main/resources/org/luxons/sevenwonders') diff --git a/src/main/resources/org/luxons/sevenwonders/game/data/age1.csv b/src/main/resources/org/luxons/sevenwonders/game/data/age1.csv new file mode 100644 index 00000000..f08bc193 --- /dev/null +++ b/src/main/resources/org/luxons/sevenwonders/game/data/age1.csv @@ -0,0 +1 @@ +,,brown,Lumber Yard,T,,,1,2,2,2,2 ,,brown,Stone Pit,S,,,1,1,2,2,2 ,,brown,Clay Pool,C,,,1,1,2,2,2 ,,brown,Ore Vein,O,,,1,2,2,2,2 ,1,brown,Tree Farm,T/C,,,0,0,0,1,1 ,1,brown,Excavation,S/C,,,0,1,1,1,1 ,1,brown,Clay Pit,C/O,,,1,1,1,1,1 ,1,brown,Timber Yard,S/T,,,1,1,1,1,1 ,1,brown,Forest Cave,T/O,,,0,0,1,1,1 ,1,brown,Mine,O/S,,,0,0,0,1,1 ,,grey,Loom,L,,,1,1,1,2,2 ,,grey,Glassworks,G,,,1,1,1,2,2 ,,grey,Press,P,,,1,1,1,2,2 ,,blue,Pawnshop,3,,,0,1,1,1,2 ,S,blue,Baths,3,Aquaduct,,1,1,1,1,2 ,,blue,Altar,2,Temple,,1,1,2,2,2 ,,blue,Theater,2,Statue,,1,1,1,2,2 ,,yellow,Tavern,5,,,0,1,2,2,3 ,,yellow,East Trading Post,> CSOW,Forum,,1,1,1,1,2 ,,yellow,West Trading Post,< CSOW,Forum,,1,1,1,1,2 ,,yellow,Marketplace,<> LGP,Caravansery,,1,1,1,2,2 ,T,red,Stockade,1,,,1,1,1,1,2 ,O,red,Barracks,1,,,1,1,2,2,2 ,C,red,Guard Tower,1,,,1,2,2,2,2 ,L,green,Apothecary,1,Stables,Dispensary,1,1,2,2,2 ,G,green,Workshop,2,Archery Range,Laboratory,1,1,1,1,2 ,P,green,Scriptorium,3,Courthouse,Library,1,2,2,2,2 \ No newline at end of file diff --git a/src/main/resources/org/luxons/sevenwonders/game/data/age2.csv b/src/main/resources/org/luxons/sevenwonders/game/data/age2.csv new file mode 100644 index 00000000..23a548c1 --- /dev/null +++ b/src/main/resources/org/luxons/sevenwonders/game/data/age2.csv @@ -0,0 +1 @@ +,1,brown,Sawmill,TT,,,1,2,2,2,2 ,1,brown,Quarry,SS,,,1,2,2,2,2 ,1,brown,Brickyard,CC,,,1,2,2,2,2 ,1,brown,Foundry,OO,,,1,2,2,2,2 ,,grey,Loom,L,,,1,1,2,2,2 ,,grey,Glassworks,G,,,1,1,2,2,2 ,,grey,Press,P,,,1,1,2,2,2 Baths,SSS,blue,Aqueduct,5,,,1,1,1,1,2 Altar,TCG,blue,Temple,3,Pantheon,,1,1,1,2,2 Theater,TOO,blue,Statue,4,Gardens,,1,1,1,1,2 Scriptorium,CCL,blue,Courthouse,4,,,1,1,2,2,2 East Trading Post,CC,yellow,Forum,L/G/P,Haven,,1,1,1,2,3 Marketplace,TT,yellow,Caravansery,C/S/O/T,Lighthouse,,1,1,2,3,3 ,,yellow,Vineyard, brown 1,,,1,1,1,2,2 ,,yellow,Bazar, grey 2,,,0,1,1,1,2 ,SSS,red,Walls,2,Fortifications,,1,1,1,1,2 ,TOO,red,Training Ground,2,Circus,,0,1,1,2,3 Apothecary,OCT,red,Stables,2,,,1,1,2,2,2 Workshop,TTO,red,Archery Range,2,,,1,1,1,2,2 Apothecary,OOG,green,Dispensary,1,Arena,Lodge,1,2,2,2,2 Workshop,CCP,green,Laboratory,2,Siege Workshop,Observatory,1,1,2,2,2 Scriptorium,SSL,green,Library,3,Senate,University,1,1,1,2,2 ,TP,green,School,3,Academy,Study,1,1,1,1,2 \ No newline at end of file diff --git a/src/main/resources/org/luxons/sevenwonders/game/data/age3.csv b/src/main/resources/org/luxons/sevenwonders/game/data/age3.csv new file mode 100644 index 00000000..bcd488e8 --- /dev/null +++ b/src/main/resources/org/luxons/sevenwonders/game/data/age3.csv @@ -0,0 +1 @@ +Temple,CCOGPL,blue,Pantheon,7,,,1,1,1,2,2 Statue,TCC,blue,Gardens,5,,,1,2,2,2,2 ,GOSS,blue,Town Hall,6,,,1,1,2,3,3 ,GPLCTOS,blue,Palace,8,,,1,1,1,1,2 Library,OSTT,blue,Senate,6,,,1,1,2,2,2 Forum,LOT,yellow,Haven,(1){1} brown,,,1,2,2,2,2 Caravansery,GS,yellow,Lighthouse,(1){1} grey,,,1,1,1,2,2 ,CCP,yellow,Chamber of Commerce,(2){2} grey,,,0,1,1,2,2 Dispensary,OSS,yellow,Arena,(3){1} wonder,,,1,1,2,2,3 Walls,SOOO,red,Fortifications,3,,,1,1,1,1,2 Training Ground,SSSO,red,Circus,3,,,0,1,2,3,3 ,OTTL,red,Arsenal,3,,,1,2,2,2,3 Laboratory,TCCC,red,Siege Workshop,3,,,1,1,2,2,2 Dispensary,CCLP,green,Lodge,1,,,1,1,1,2,2 Laboratory,OOGL,green,Observatory,2,,,1,1,1,1,2 Library,TTPG,green,University,3,,,1,2,2,2,2 School,SSSG,green,Academy,1,,,1,1,1,1,2 School,TPL,green,Study,2,,,1,1,2,2,2 ,OOCST,purple,Workers Guild,<> brown 1,,,,,,, ,OOSS,purple,Craftsmens Guild,<> grey 2,,,,,,, ,LPG,purple,Traders Guild,<> yellow 1,,,,,,, ,CCCLP,purple,Philosophers Guild,<> green 1,,,,,,, ,CCCG,purple,Spies Guild,<> red 1,,,,,,, ,OOSL,purple,Strategists Guild,<> -1 1,,,,,,, ,TTTPG,purple,Shipowners Guild,"V brown,grey,blue 1",,,,,,, ,TTOOP,purple,Scientists Guild,&/@/#,,,,,,, ,TTTSL,purple,Magistrates Guild,<> blue 1,,,,,,, ,SSCCG,purple,Builders Guild, wonder 1,,,,,,, \ No newline at end of file diff --git a/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json b/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json new file mode 100644 index 00000000..8d89d2fe --- /dev/null +++ b/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json @@ -0,0 +1,113 @@ +[ + {"name": "alexandria", + "a": {"resource": "G", + "stages": [ + {"requirements": "SS", "points": 3}, + {"requirements": "OO", "resource": "C/O/W/S"}, + {"requirements": "GG", "points": 7} + ] + }, + "b": {"resource": "G", + "stages": [ + {"requirements": "CC", "resource": "C/O/W/S"}, + {"requirements": "WW", "resource": "L/G/P"}, + {"requirements": "SSS", "points": 7} + ] + }}, + + {"name": "babylon", + "a": {"resource": "C", + "stages": [ + {"requirements": "CC", "points": 3}, + {"requirements": "WWW", "science": "any"}, + {"requirements": "CCCC", "points": 7} + ] + }, + "b": {"resource": "C", + "stages": [ + {"requirements": "CL", "points": 3}, + {"requirements": "GWW", "custom": "play2"}, + {"requirements": "CCCP", "science": "any"} + ] + }}, + + {"name": "ephesos", + "a": {"resource": "P", + "stages": [ + {"requirements": "SS", "points": 3}, + {"requirements": "WW", "coins": 9}, + {"requirements": "PP", "points": 7} + ] + }, + "b": {"resource": "P", + "stages": [ + {"requirements": "SS", "points": 2, "coins": 4}, + {"requirements": "WW", "points": 3, "coins": 4}, + {"requirements": "GPL", "points": 5, "coins": 4} + ] + }}, + + {"name": "gizah", + "a": {"resource": "S", + "stages": [ + {"requirements": "SS", "points": 3}, + {"requirements": "WWW", "points": 5}, + {"requirements": "SSSS", "points": 7} + ] + }, + "b": {"resource": "S", + "stages": [ + {"requirements": "WW", "points": 3}, + {"requirements": "SSS", "points": 5}, + {"requirements": "CCC", "points": 5}, + {"requirements": "PSSSS", "points": 7} + ] + }}, + + {"name": "halikarnassus", + "a": {"resource": "L", + "stages": [ + {"requirements": "CC", "points": 3}, + {"requirements": "OOO", "custom": "discard"}, + {"requirements": "LL", "points": 7} + ] + }, + "b": {"resource": "L", + "stages": [ + {"requirements": "OO", "points": 2, "custom": "discard"}, + {"requirements": "CCC", "points": 1, "custom": "discard"}, + {"requirements": "GPL", "custom": "discard"} + ] + }}, + + {"name": "olympia", + "a": {"resource": "W", + "stages": [ + {"requirements": "WW", "points": 3}, + {"requirements": "SS", "custom": "1free"}, + {"requirements": "OO", "points": 7} + ] + }, + "b": {"resource": "W", + "stages": [ + {"requirements": "WW", "custom": "discount"}, + {"requirements": "SS", "points": 5}, + {"requirements": "LOO", "custom": "guild"} + ] + }}, + + {"name": "rhodos", + "a": {"resource": "O", + "stages": [ + {"requirements": "WW", "points": 3}, + {"requirements": "CCC", "military": 2}, + {"requirements": "OOOO", "points": 7} + ] + }, + "b": {"resource": "O", + "stages": [ + {"requirements": "SSS", "military": 1, "points": 3, "coins": 3}, + {"requirements": "OOOO", "military": 1, "points": 4, "coins": 4} + ] + }} +] -- cgit