@cogniplay/logic-games-sheet 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @cogniplay/logic-games-sheet
2
2
 
3
- Makes the child's printed sheet for a logic-game instance: a PDF of one page (two for a Rearrange the Pieces board, whose second is the goal picture) with the board at the exact size of the kit's pieces, the variant's title, the instance's instruction and the instance's code. For a Line Counts, a Build a Bridge, a Fill the Shape or a Build the Mirror Image board it also shows the pieces to place, for a Fair Shares board the pieces to share, for a Find the Hidden Shapes board the hidden pieces and the questions asked, and for a Last Player Wins board the pieces in the box. The same function serves the content repository's play-test prints in Node and, later, the `/edu` print button in the browser.
3
+ Makes the child's printed sheet for a logic-game instance: a PDF of one page (two for a Rearrange the Pieces board, whose second is the goal picture) with the board at the exact size of the kit's pieces, the variant's title, the instance's instruction and the instance's code. For a Line Counts, a Build a Bridge, a Fill the Shape or a Build the Mirror Image board it also shows the pieces to place, for a Fair Shares board the pieces to share, for a Find the Hidden Shapes board the hidden pieces and the questions asked, and for a Last Player Wins board the pieces in the box. The same function runs in Node and in the browser.
4
4
 
5
- It builds on `@cogniplay/logic-games`, which draws the board, and on pdfmake 0.3, which lays the page out and embeds the font. The designs are in `docs/superpowers/specs/2026-11-05-logic-games-sheet-design.md`, `docs/superpowers/specs/2026-11-10-line-counts-drawing-design.md`, `docs/superpowers/specs/2026-11-11-fair-shares-drawing-design.md`, `docs/superpowers/specs/2026-11-17-build-a-bridge-drawing-design.md`, `docs/superpowers/specs/2026-11-24-fill-the-shape-drawing-design.md` and `docs/superpowers/specs/2026-11-26-build-the-mirror-image-drawing-design.md`.
5
+ It builds on `@cogniplay/logic-games`, which draws the board, and on pdfmake 0.3, which lays the page out and embeds the font.
6
6
 
7
7
  ## Installing
8
8
 
@@ -12,7 +12,7 @@ The package is published on npm. The renderer is a peer dependency, so install t
12
12
  pnpm add --save-exact @cogniplay/logic-games @cogniplay/logic-games-sheet
13
13
  ```
14
14
 
15
- The sheet asks for the renderer's minor version it was built with (`^0.1.0` takes any 0.1 patch); pdfmake comes as its own dependency, at the exact version the sheets are tested with. The package holds the built JavaScript, its types, the source under `src/` and this README.
15
+ The sheet asks for the renderer version it was built with or a later patch of the same minor (a caret range); pdfmake comes as its own dependency, at the exact version the sheets are tested with. The package holds the built JavaScript, its types, the source under `src/` and this README.
16
16
 
17
17
  ## API
18
18
 
@@ -60,11 +60,11 @@ One page (a Rearrange the Pieces board two, below), A4 or Letter, with 10 mm mar
60
60
 
61
61
  The pieces on the board print as ghosts, thin outlines with light stripes, since the child covers them with the real pieces. A Line Counts board's clues print beside it, and its pieces to place print under it at half scale, as tiles in the kit's colours or in grey: they say which pieces to take, and the child matches them by shape. A Fair Shares board's grids print at true size, as many side by side as fit, with its pieces to share above them at half scale in the same way. Nothing on its sheet marks a place for a piece to leave out, and nothing prints the shares' sizes or the difference to reach. A Build a Bridge board prints at true size with its circles and squares, any piece already in place solid grey, and its pieces to place under it at half scale as Line Counts' are; with two paths each carries its path's symbol. A Fill the Shape board prints as a Build a Bridge board does, without marks or symbols: the outline at true size with its holes hatched. A Build the Mirror Image board prints as a Fill the Shape board does, with the pattern's grid beside it: the grey pattern, the axis or the point O, the empty board and any piece already in place solid grey, at true size, and the pieces to place under both grids. A No Way Back board prints its start: the board with its holes hatched, the pieces at their starts as ghosts with their letters, A and B, and each target dashed with its piece's letter; no X. Its ghosts are outlined in solid black, and every other piece's stripes lean the other way, so pieces side by side under a target's dashes read apart. A Rearrange the Pieces board prints two pages: its start as a No Way Back board's, the pieces lettered A to E; then its goal picture, the same board at the same size, at the same height and the same way up, with only the targeted pieces, each on its target with its letter, so the goal stays in view when the real pieces cover the start. The goal page is headed "Goal" ("Cél") where the first page has the title, has no instruction, and has the first page's footer. A Find the Hidden Shapes board prints its start in the format's one layout: the board at true size, empty for the real pieces, with its row numbers on its left and its column letters under it; a cell search's marks on it, a circle for empty, a tick for a hit, or the hit piece's letter; the hidden pieces under it at half scale, lettered A and B, or a shape search's offer, A, B and C, C's letter on a white square where its fill is hatched; and a trial search's trials under them at half size, three to a row, each with its number and answer above it, a shape search's each its one shape outlined and lettered, its answer the number alone. Nothing on it asks the child to write or draw. A Last Player Wins board prints its position as a Fill the Shape board does, but with its holes solid black, so that a hatched piece round one doesn't read as one bigger piece: the board at true size, the pieces down solid grey, all alike, any proposals dashed with their numbers, 1 and 2, the board's outline solid over them where they run along it, and the pieces in the box under it at half scale, those that fit nowhere included.
62
62
 
63
- The PDF states its sizes in physical units and asks viewers not to scale it (`PrintScaling: None`). For viewers that ignore that, Edu tells the teacher to print at actual size.
63
+ The PDF states its sizes in physical units and asks viewers not to scale it (`PrintScaling: None`). For viewers that ignore that, tell whoever prints to print at actual size.
64
64
 
65
65
  ### The limits
66
66
 
67
- A sheet holds a footprint of at most 190×219 mm upright or 259×150 mm sideways, the same numbers the content repository's validator and the backend's import assume. For Amoeba, No Way Back and Rearrange the Pieces the footprint is the board: every piece starts on it and the targets lie on it. A Rearrange the Pieces goal page has the same box, and its heading sits in the header, outside the area the footprint measures. For Line Counts it is:
67
+ A sheet holds a footprint of at most 190×219 mm upright or 259×150 mm sideways. For Amoeba, No Way Back and Rearrange the Pieces the footprint is the board: every piece starts on it and the targets lie on it. A Rearrange the Pieces goal page has the same box, and its heading sits in the header, outside the area the footprint measures. For Line Counts it is:
68
68
 
69
69
  - width = (columns + 1 if any row has a clue) × cell size
70
70
  - height = (rows + 1 if any column has a clue + 2 if any piece is to place) × cell size
@@ -78,15 +78,15 @@ For Fair Shares the grids lie in rows of some number across, with one cell betwe
78
78
 
79
79
  The board fits when some `n` from 1 to `shares` gives a footprint within a limit. The sheet takes the most across that fits upright, or failing that the most across that fits sideways; `gridsAcross(instance, 16)` says which. At 16 mm, two grids of 5×5 are 176×112 mm, and three grids of 5×5 with pieces to share are two above one, 176×208 mm, upright. Three grids of 6×6 fit no sheet. Nothing is counted for a piece left out: the sheet draws no place for it.
80
80
 
81
- For Build a Bridge the footprint is Line Counts' without clues: the board's cells, and two cells more down when any piece is to place. At 16 mm the handbook's largest square boards, 9×11, take 144×208 mm with the whole Square Blocks kit to place, upright. The path symbols sit on the pieces and take no room.
81
+ For Build a Bridge the footprint is Line Counts' without clues: the board's cells, and two cells more down when any piece is to place. At 16 mm a 9×11 board takes 144×208 mm with the whole Square Blocks kit to place, upright. The path symbols sit on the pieces and take no room.
82
82
 
83
- Fill the Shape's footprint is Build a Bridge's. The first round's outlines lie in a box of at most 6×5, or are rectangles of up to 32 cells; 6×5 with the whole kit on offer takes 96×112 mm, upright.
83
+ Fill the Shape's footprint is Build a Bridge's. A 6×5 outline with the whole kit on offer takes 96×112 mm, upright.
84
84
 
85
- For Build the Mirror Image the footprint is the bounding box of the board and its image, the pattern's grid, with any gap the data leaves at the axis; the axis's 3 mm past both its ends, 6 mm more down for a vertical axis and 6 mm more across for a horizontal one, nothing for a half turn's point; and two cells more down when any piece is to place. A board that fits both ways prints upright: three upright bars of 4, 3 and 2 beside a vertical axis take 160×134 mm. The largest vertical layouts print sideways, such as the handbook's T2-SQ with its gap, 256×134 mm, and the tallest, 7 rows and the pieces to place, takes all 150 mm; the horizontal axis's prints upright, 118×192 mm. The handbook's own T3-SQ layout, 7×16 cells, fits neither way, nor does a 16×3 board under a horizontal axis with pieces to place: 262 mm across.
85
+ For Build the Mirror Image the footprint is the bounding box of the board and its image, the pattern's grid, with any gap the data leaves at the axis; the axis's 3 mm past both its ends, 6 mm more down for a vertical axis and 6 mm more across for a horizontal one, nothing for a half turn's point; and two cells more down when any piece is to place. A board that fits both ways prints upright: three upright bars of 4, 3 and 2 beside a vertical axis take 160×134 mm. The largest vertical layouts print sideways, such as one with a gap at the axis, 256×134 mm, and the tallest, 7 rows and the pieces to place, takes all 150 mm; the horizontal axis's prints upright, 118×192 mm. A layout of 7×16 cells fits neither way, nor does a 16×3 board under a horizontal axis with pieces to place: 262 mm across.
86
86
 
87
- For Find the Hidden Shapes the footprint is the format's one layout, counted in half cells (`seekFootprint` in the renderer): the board at full size with a half cell for its row numbers and one for its letters, four for the tray, and for each row of trials a half cell of gap, one for the captions and the board's height at half size, three trials to a row in slots at least six half cells wide, one apart; a shape search's questions count as trials. A 4×4 shape search with three trials, Which shape hid's examples, takes 160×152 mm. A 3×3 cell search takes 56×88 mm; a 1×4 board with bar4, 32×104 mm, its tray wider than the board; a 5×4 board with six trials, 160×200 mm. Every board of this round prints upright. The drawing is the footprint exactly, so its pieces never overrun it; 4×4 with seven trials, 160×248 mm, fits neither way.
87
+ For Find the Hidden Shapes the footprint is the format's one layout, counted in half cells (`seekFootprint` in the renderer): the board at full size with a half cell for its row numbers and one for its letters, four for the tray, and for each row of trials a half cell of gap, one for the captions and the board's height at half size, three trials to a row in slots at least six half cells wide, one apart; a shape search's questions count as trials. A 4×4 shape search with three trials takes 160×152 mm. A 3×3 cell search takes 56×88 mm; a 1×4 board with bar4, 32×104 mm, its tray wider than the board; a 5×4 board with six trials, 160×200 mm. The drawing is the footprint exactly, so its pieces never overrun it; 4×4 with seven trials, 160×248 mm, fits neither way.
88
88
 
89
- Last Player Wins' footprint is Fill the Shape's, with two cells more down when any piece is in the box; the proposals and the solution lie on the board. This round's boards lie within 6×6, 96×128 mm with the box, upright. The handbook's board with a lone cell 13 rows down, 96×208 mm, fits upright alone and neither way with its box, 96×240 mm.
89
+ Last Player Wins' footprint is Fill the Shape's, with two cells more down when any piece is in the box; the proposals and the solution lie on the board. A 6×6 board takes 96×128 mm with the box, upright. A board with a lone cell 13 rows down, 96×208 mm, fits upright alone and neither way with its box, 96×240 mm.
90
90
 
91
91
  To tell ahead of time:
92
92
 
@@ -110,7 +110,7 @@ boardLimitsMm; // { upright: { width: 190, height: 219 }, sideways: { width: 259
110
110
  - a Last Player Wins board too big with its box: `A 96×208 mm board, 96×240 mm with the pieces in the box, fits no sheet: …`, and one whose box needs more rows: `The pieces in the box don't fit beside the 96×176 mm board: …`;
111
111
  - a Find the Hidden Shapes board too big: `A 64×64 mm board, 160×248 mm with its addresses, the pieces and 7 trials, fits no sheet: …`, a shape search's questions counted as trials, or for a cell search `… with its addresses and the pieces, fits no sheet: …`;
112
112
  - a Fair Shares board in the same case: `The pieces to share don't fit beside the 3 grids of 80×80 mm: the drawing is 178×238 mm, which fits no sheet upright`;
113
- - an instruction so long it leaves the board no room: `The instruction (1200 characters) is too long for a board this tall`. Nothing caps the instruction in the format; the content repository's validator runs the sheet for every instance and reports this failure, so the sheet fails here and never shrinks or clips the text.
113
+ - an instruction so long it leaves the board no room: `The instruction (1200 characters) is too long for a board this tall`. Nothing caps the instruction in the format, so the sheet fails here and never shrinks or clips the text.
114
114
 
115
115
  A `paper` or `language` outside the type, from a caller without TypeScript, throws too: `Unknown paper "a4": "A4" or "Letter"`. The renderer's own errors, for an instance it can't draw, pass through unchanged.
116
116
 
@@ -121,12 +121,8 @@ A `paper` or `language` outside the type, from a caller without TypeScript, thro
121
121
  | `hu` | `Feladat:` |
122
122
  | `en` | `Puzzle:` |
123
123
 
124
- The Hungarian is a first draft; a Hungarian speaker reviews it in the pull request that changes it. It lives in `src/wording.ts`.
124
+ It lives in `src/wording.ts`.
125
125
 
126
126
  ## The font
127
127
 
128
- Roboto Regular, the file pdfmake ships, under the SIL Open Font License 1.1; see `src/font/README.md` and `src/font/OFL.txt`. It is embedded as a base64 module so it loads the same way in Node and in the browser, and only the glyphs a sheet uses go into the PDF. Regenerate the module after a pdfmake upgrade with `node scripts/font.mjs` from this directory.
129
-
130
- ## Releasing
131
-
132
- As for the renderer: a pull request that changes what the package holds raises `version` in `package.json`, and the Pipeline publishes it from `main`. A new renderer version needs a new sheet version as well, even with no change to the sheet, because the sheet's peer range is built from the renderer's version; the checks ask for both.
128
+ Roboto Regular, the file pdfmake ships, under the SIL Open Font License 1.1; see `src/font/README.md` and `src/font/OFL.txt`. It is embedded as a base64 module so it loads the same way in Node and in the browser, and only the glyphs a sheet uses go into the PDF.
package/limits.d.ts CHANGED
@@ -2,8 +2,7 @@ import { type FairSharesInstance, type GameData, type MirrorInstance } from "@co
2
2
  /**
3
3
  * The largest footprint a sheet holds, in millimetres, each way up: the printable
4
4
  * area A4 and Letter share (210 × 279 mm) less 10 mm margins and a 40 mm band
5
- * of text under the board. The content repository's validator and the
6
- * backend's import assume the same numbers.
5
+ * of text under the board.
7
6
  */
8
7
  export declare const boardLimitsMm: {
9
8
  readonly upright: {
@@ -64,8 +63,8 @@ export declare function gridsAcross(instance: FairSharesInstance, cellSizeMm?: n
64
63
  * place. For Find the Hidden Shapes: the format's one layout, in half
65
64
  * cells at half the cell size, `seekFootprint`: the board with its row
66
65
  * numbers and letters, the tray of its hidden pieces and a trial search's
67
- * trials. The content repository's validator and the backend's import
68
- * compute the same from the data.
66
+ * trials. Every implementation of the format computes the same from the
67
+ * data.
69
68
  */
70
69
  export declare function footprintMm(instance: GameData, cellSizeMm?: number): SizeMm;
71
70
  /** Which way the sheet turns for a footprint, or undefined if it fits neither way. */
package/limits.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["src/limits.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,cAAc,EAapB,MAAM,wBAAwB,CAAC;AAEhC;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;CAGhB,CAAC;AAEX,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAID;;;GAGG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ,EAClB,UAAU,GAAE,MAA0B,GACrC,MAAM,CAOR;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,UAAU,GAAE,MAA0B,GACrC,MAAM,CAWR;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B;;;GAGG;AACH,eA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tF,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,GACX,UAAU,GAAG,WAAW,GAAG,SAAS,CAMtC"}
package/limits.js CHANGED
@@ -2,8 +2,7 @@ import { clueBands, gridGapCells, imageOf, isFairShares, isFill, isLineCounts, i
2
2
  /**
3
3
  * The largest footprint a sheet holds, in millimetres, each way up: the printable
4
4
  * area A4 and Letter share (210 × 279 mm) less 10 mm margins and a 40 mm band
5
- * of text under the board. The content repository's validator and the
6
- * backend's import assume the same numbers.
5
+ * of text under the board.
7
6
  */
8
7
  export const boardLimitsMm = {
9
8
  upright: { width: 190, height: 219 },
@@ -96,8 +95,8 @@ export function gridsAcross(instance, cellSizeMm = defaultCellSizeMm) {
96
95
  * place. For Find the Hidden Shapes: the format's one layout, in half
97
96
  * cells at half the cell size, `seekFootprint`: the board with its row
98
97
  * numbers and letters, the tray of its hidden pieces and a trial search's
99
- * trials. The content repository's validator and the backend's import
100
- * compute the same from the data.
98
+ * trials. Every implementation of the format computes the same from the
99
+ * data.
101
100
  */
102
101
  export function footprintMm(instance, cellSizeMm = defaultCellSizeMm) {
103
102
  if (isFairShares(instance)) {
package/limits.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"limits.js","sourceRoot":"","sources":["src/limits.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,MAAM,EACN,aAAa,GACd,MAAM,wBAAwB,CAAC;AAEhC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE;IACpC,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE;CAC7B,CAAC;AAOX,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B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CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAClE,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,GAAG,UAAU;QAC5C,MAAM,EACJ,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU;KAC1E,CAAC;AACJ,CAAC;AAED,sFAAsF;AACtF,MAAM,UAAU,gBAAgB,CAC9B,IAAY;IAEZ,MAAM,IAAI,GAAG,CAAC,KAAa,EAAE,EAAE,CAC7B,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;IAC3D,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC;QAAE,OAAO,UAAU,CAAC;IACnD,IAAI,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;QAAE,OAAO,WAAW,CAAC;IACrD,OAAO,SAAS,CAAC;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@cogniplay/logic-games-sheet",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/cogniplay-tech/cogniplay-frontend.git",
7
+ "url": "git+https://github.com/cogniplay-tech/cogniplay-platform.git",
8
8
  "directory": "libs/logic-games-sheet"
9
9
  },
10
10
  "type": "module",
@@ -15,7 +15,7 @@
15
15
  "pdfmake": "0.3.13"
16
16
  },
17
17
  "peerDependencies": {
18
- "@cogniplay/logic-games": "^0.9.1"
18
+ "@cogniplay/logic-games": "^0.9.2"
19
19
  },
20
20
  "exports": {
21
21
  ".": {
package/src/limits.ts CHANGED
@@ -19,8 +19,7 @@ import {
19
19
  /**
20
20
  * The largest footprint a sheet holds, in millimetres, each way up: the printable
21
21
  * area A4 and Letter share (210 × 279 mm) less 10 mm margins and a 40 mm band
22
- * of text under the board. The content repository's validator and the
23
- * backend's import assume the same numbers.
22
+ * of text under the board.
24
23
  */
25
24
  export const boardLimitsMm = {
26
25
  upright: { width: 190, height: 219 },
@@ -140,8 +139,8 @@ export function gridsAcross(
140
139
  * place. For Find the Hidden Shapes: the format's one layout, in half
141
140
  * cells at half the cell size, `seekFootprint`: the board with its row
142
141
  * numbers and letters, the tray of its hidden pieces and a trial search's
143
- * trials. The content repository's validator and the backend's import
144
- * compute the same from the data.
142
+ * trials. Every implementation of the format computes the same from the
143
+ * data.
145
144
  */
146
145
  export function footprintMm(
147
146
  instance: GameData,
package/src/wording.ts CHANGED
@@ -3,7 +3,7 @@ import type { SheetLanguage } from "./types.js";
3
3
  /**
4
4
  * The sheet's fixed wording, per language: the label before the code, and
5
5
  * the heading of a Rearrange the Pieces sheet's goal page. Fixed wording
6
- * stays out of the database (backend decision 6), so it lives here.
6
+ * stays out of the data, so it lives here.
7
7
  */
8
8
  export const wording: Record<SheetLanguage, { label: string; goal: string }> = {
9
9
  hu: { label: "Feladat:", goal: "Cél" },
package/wording.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { SheetLanguage } from "./types.js";
2
2
  /**
3
3
  * The sheet's fixed wording, per language: the label before the code, and
4
4
  * the heading of a Rearrange the Pieces sheet's goal page. Fixed wording
5
- * stays out of the database (backend decision 6), so it lives here.
5
+ * stays out of the data, so it lives here.
6
6
  */
7
7
  export declare const wording: Record<SheetLanguage, {
8
8
  label: string;
package/wording.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The sheet's fixed wording, per language: the label before the code, and
3
3
  * the heading of a Rearrange the Pieces sheet's goal page. Fixed wording
4
- * stays out of the database (backend decision 6), so it lives here.
4
+ * stays out of the data, so it lives here.
5
5
  */
6
6
  export const wording = {
7
7
  hu: { label: "Feladat:", goal: "Cél" },