Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions AppListing/fd10a958-f8ef-4b31-ab15-fb3ad74721de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "AppListing",
"module": "https://realms-staging.stack.cards/catalog/catalog-app/listing/listing"
}
},
"type": "card",
"attributes": {
"name": "Risk Game",
"images": [],
"summary": "The Game class defines the state and interface for a Risk game implementation, encompassing game setup, player turns, and map interactions. It manages participants, territories, continents, current turn, game phases (placement, attack, fortify), and dice rolls. The class provides mechanisms for placing armies, attacking territories with dice rolls, resolving battles, and ending turns, including reinforcement calculations based on territory ownership and continent control. The associated user interface offers game controls, territory selection, and visual indicators of game status, supporting interactive gameplay.",
"cardInfo": {
"name": null,
"notes": null,
"summary": null,
"cardThumbnailURL": null
}
},
"relationships": {
"skills": {
"links": {
"self": null
}
},
"tags.0": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/Tag/140feda8-625b-4a24-9ddb-6f4da891aef2"
}
},
"tags.1": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/Tag/4d0f9ae2-048e-4ce0-b263-7006602ce6a4"
}
},
"license": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/License/4c5a023b-a72c-4f90-930b-da60a1de5b2d"
}
},
"specs.0": {
"links": {
"self": "../Spec/684d03d7-394b-4e30-9f7d-ffe91ac68ef4"
}
},
"specs.1": {
"links": {
"self": "../Spec/34684d03-d739-4bbe-b01f-7dffe91ac68e"
}
},
"specs.2": {
"links": {
"self": "../Spec/1d34684d-03d7-494b-be30-1f7dffe91ac6"
}
},
"publisher": {
"links": {
"self": null
}
},
"categories": {
"links": {
"self": null
}
},
"examples.0": {
"links": {
"self": "../risk/game"
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/1d34684d-03d7-494b-be30-1f7dffe91ac6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../risk/territory",
"name": "Territory"
},
"specType": "card",
"containedExamples": [],
"cardTitle": "Territory",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/34684d03-d739-4bbe-b01f-7dffe91ac68e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../risk/player",
"name": "Player"
},
"specType": "card",
"containedExamples": [],
"cardTitle": "Player",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/684d03d7-394b-4e30-9f7d-ffe91ac68ef4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../risk/continent",
"name": "Continent"
},
"specType": "card",
"containedExamples": [],
"cardTitle": "Continent",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
43 changes: 43 additions & 0 deletions risk/Continent/midrealm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "Continent",
"module": "../continent"
}
},
"type": "card",
"attributes": {
"name": "Midrealm",
"cardInfo": {
"notes": null,
"name": null,
"summary": null,
"cardThumbnailURL": null
},
"bonusArmies": 3
},
"relationships": {
"territories.0": {
"links": {
"self": "../Territory/m1"
}
},
"territories.1": {
"links": {
"self": "../Territory/m2"
}
},
"territories.2": {
"links": {
"self": "../Territory/m3"
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
20 changes: 20 additions & 0 deletions risk/Continent/northland.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"data": {
"type": "card",
"attributes": {
"name": "Northland",
"bonusArmies": 3
},
"relationships": {
"territories.0": { "links": { "self": "../Territory/n1" } },
"territories.1": { "links": { "self": "../Territory/n2" } },
"territories.2": { "links": { "self": "../Territory/n3" } }
},
"meta": {
"adoptsFrom": {
"name": "Continent",
"module": "../continent"
}
}
}
}
58 changes: 58 additions & 0 deletions risk/Continent/southreach.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "Continent",
"module": "../continent"
}
},
"type": "card",
"attributes": {
"name": "Southreach",
"cardInfo": {
"notes": null,
"name": null,
"summary": null,
"cardThumbnailURL": null
},
"bonusArmies": 4
},
"relationships": {
"territories.0": {
"links": {
"self": "../Territory/s1"
}
},
"territories.1": {
"links": {
"self": "../Territory/s2"
}
},
"territories.2": {
"links": {
"self": "../Territory/s3"
}
},
"territories.3": {
"links": {
"self": "../Territory/w1"
}
},
"territories.4": {
"links": {
"self": "../Territory/w2"
}
},
"territories.5": {
"links": {
"self": "../Territory/w3"
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
17 changes: 17 additions & 0 deletions risk/Player/azul.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"data": {
"type": "card",
"attributes": {
"name": "Azul",
"color": "#2563eb",
"reserves": 10,
"eliminated": ""
},
"meta": {
"adoptsFrom": {
"name": "Player",
"module": "../player"
}
}
}
}
17 changes: 17 additions & 0 deletions risk/Player/crimson.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"data": {
"type": "card",
"attributes": {
"name": "Crimson",
"color": "#dc2626",
"reserves": 10,
"eliminated": ""
},
"meta": {
"adoptsFrom": {
"name": "Player",
"module": "../player"
}
}
}
}
Loading
Loading