Skip to content

Commit

Permalink
Control: Add descriptions to board sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlkonig committed Feb 10, 2025
1 parent a96a98c commit 312d7a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions locales/en/apgames.json
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@
},
"control": {
"size-5": {
"name": "Small board (Size 5)"
"name": "Small board (Size 5)",
"description": "Ideal for learning the rules"
},
"size-9": {
"name": "Large board (Size 9)"
Expand Down Expand Up @@ -1979,7 +1980,8 @@
},
"control": {
"board": {
"name": "board (Size 7)"
"name": "board (Size 7)",
"description": "Ideal for experienced players"
}
},
"courtesan": {
Expand Down
4 changes: 4 additions & 0 deletions src/schemas/gameinfo.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export interface APGamesInformation {
* The people and organizations involved in the game's creation
*/
people?: Person[];
/**
* A succinct, plain text description of the ruleset of the base, "no variants provided" game. Often most useful when there are many variant choices.
*/
defaults?: string;
/**
* A list of supported variants
*/
Expand Down
4 changes: 4 additions & 0 deletions src/schemas/gameinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
"$ref": "#/definitions/person"
}
},
"defaults": {
"description": "A succinct, plain text description of the ruleset of the base, \"no variants provided\" game. Often most useful when there are many variant choices.",
"type": "string"
},
"variants": {
"description": "A list of supported variants",
"type": "array",
Expand Down

0 comments on commit 312d7a4

Please sign in to comment.