arch & placeholders

This commit is contained in:
Maxime Réaux 2025-12-19 09:56:45 +01:00
parent a3b16ae58a
commit 57543e139a
10 changed files with 233 additions and 2 deletions

78
data/example.json Normal file
View file

@ -0,0 +1,78 @@
{
"version": 1,
"players": {
"P1": {
"name": "Alice"
},
"P2": {
"name": "Bob"
},
"P3": {
"name": "Charlie"
}
},
"wars": [
{
"id": "WAR2025",
"name": "Llael War 2025",
"year": 2025,
"registered_players": {
"P1": {
"war_points": 0,
"influence_tokens": 1
},
"P2": {
"war_points": 0,
"influence_tokens": 0
}
},
"campaigns": [
{
"id": "CAMP01",
"name": "Widower's Wood",
"order": 1,
"participants": {
"P1": { "campaign_points": 0 },
"P2": { "campaign_points": 0 }
},
"rounds": [
{
"number": 1,
"sectors": ["North", "South"],
"choices": {
"P1": { "primary": "North", "secondary": "South" },
"P2": { "primary": "North", "secondary": "South" }
},
"battles": [
{
"sector": "North",
"players": ["P1", "P2"],
"winner": "P1",
"effects": {
"campaign_points": 1,
"grants_influence_token": false
}
}
],
"completed": true
}
],
"completed": false
}
],
"completed": false
}
]
}