{
  "slug": "math-mans-castle",
  "title": "Math-Man's Castle",
  "subject": "Math",
  "notes": "Redesign content (games/math-mans-castle/DESIGN.md; the ladder is LEVELS.md, decision #88), read by facts.ts. Each item is one family of questions: a kind, its number ranges and a tip with placeholders. Every question shows four coins with different values, the answer once; the answer's rank among the four (smallest to largest) is drawn first with equal odds, the wrong coins are then chosen to fit that rank, and the coins are shuffled. In text, ^ marks an exponent (9^2 is shown as 9 with a raised 2) and n/d of w is shown as a stacked fraction. Numbers of 1,000 or more are written with a comma; negative numbers with a true minus sign, in brackets after an operator. Families. addsub ones: a two-digit number (12 to 89, or 21 to 98) and a one-digit number (2 to 9) whose ones cross a ten, never landing on it. addsub tens: a two-digit number that is not whole tens and whole tens 10 to 80, the result 1 to 99. addsub from100: 100 minus a multiple of 5 from 5 to 95. round: with x and y from 2 to 9 and a unit u (10 or 100; 10 for times and divide): add x·u + y·u with x + y of 11 or more; sub (x + y)·u − y·u; times x × y·10; divide x·y·10 ÷ x. fraction: denominator d, quotient m in `times`, whole d·m; numerator 1, or 2 to d − 1 in lowest terms. percent: p% of w for w in the `of` ranges [from, to, step], whole answers of 4 or more. power: base to the exponent. order: a + b × c. integers: seven sign forms with a and b from `range`, a ≠ b. root: the square or cube root of a base's power. powers: product b^m × b^n (m ≠ n, m + n at most `sum`), quotient b^m ÷ b^n (m − n at least 2), power (b^m)^n (not both 2, m·n at most `sum`); the coins carry powers. Wrong coins. addsub: the answer A, A + 10 or A − 10, and two more that are 1 or 2 off the answer, the answer plus ten or the answer minus ten, so two coins share the answer's last digit and two share another (55, 45, 56, 46); from100: the answer and three more that are 10, 20 or 30 off it, so all four end in the same digit (65, 75, 55, 45). round: a neighbouring fact (the sum or difference 1 or 2 off; for times a factor one off; for divide the quotient 1 or 2 off) and both facts at ten times or a tenth of the size (420, 480, 42, 48), so neither the fact alone nor the size alone gives the answer. fraction, unit: twice the part, the rest of the whole, the denominator, the whole divided by a neighbouring denominator when whole; non-unit: (n ± 1)/d of w, 1/d of w, w − A, w ÷ n when whole; never more than the whole (a unit fraction's wrong coins are always less than it). percent: a neighbouring percent of w, w ÷ p when whole, w − A, w − p, half the answer; always less than w. power: the base times the exponent, the neighbouring bases' powers, n(n ± 1) for squares, n squared and the swapped power for cubes. order: working left to right (a + b) × c wherever the rank leaves room above the answer, a + b + c, b × c, a × b + c. root: for a square root, half or a quarter of the number and twice the answer; for a cube root, a third of the number, its square root where whole (∛64 gives 8), three times the answer and the answer squared; in about half the questions the three wrong coins are whole numbers 1 to 3 from the answer. powers: product: the exponents subtracted or multiplied, the bases multiplied; quotient: the exponents added or divided; power: the exponents added, or one raised to the other; exponents one, two or three off fill in. integers: two magnitudes, each with both signs: the answer's, and a + b or |a − b| where that fits the drawn rank, otherwise a number 1 or 2 from the answer's magnitude (about half the questions). Where a kind's mistakes can't fill the drawn rank, numbers 1 or 2 away from the answer or from one of the mistakes fill in, always so that the answer is not the only coin with a near neighbour. Tips are shown for 2 s after a wrong coin, under the full fact; at most 8 words. Placeholders: addsub {a} {b} {r} the numbers and result; ones {up} or {down} the step to the ten, {ten} the ten, {rest} what is left; tens {at} {ao} a's tens and ones, {st} = at ± b; round {x} {y} {l} the basic fact, {a} {b} {r} the question; fraction {n} {d} {w} {m} = w ÷ d, {a}; percent {w} {a}; power {n}; order {a} {b} {c} {p} = b × c; root {n} {v}; powers {b} {m} {n} {s} the answer's exponent; integers {a} {b} {r}.",
  "levels": [
    {
      "id": 1, "name": "Level 1", "grade": 3,
      "teaches": "Add and subtract one step at a time",
      "items": [
        {"id": "add-ones", "name": "A two-digit number plus a one-digit number, across a ten", "kind": "addsub", "form": "ones", "op": "+", "skill": "math.add.cross-ten", "standards": ["CCSS.MATH.CONTENT.2.NBT.B.5", "CCSS.MATH.CONTENT.3.NBT.A.2"], "weight": 3, "tip": "{a} + {up} = {ten}, then {rest} more", "example": "47 + 8 = 55", "source": "https://www.thecorestandards.org/Math/Content/3/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/2/NBT/"},
        {"id": "sub-ones", "name": "A two-digit number minus a one-digit number, across a ten", "kind": "addsub", "form": "ones", "op": "−", "skill": "math.subtract.cross-ten", "standards": ["CCSS.MATH.CONTENT.2.NBT.B.5", "CCSS.MATH.CONTENT.3.NBT.A.2"], "weight": 3, "tip": "{a} − {down} = {ten}, then {rest} less", "example": "82 − 7 = 75", "source": "https://www.thecorestandards.org/Math/Content/3/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/2/NBT/"},
        {"id": "add-tens", "name": "A two-digit number plus whole tens", "kind": "addsub", "form": "tens", "op": "+", "skill": "math.add.whole-tens", "standards": ["CCSS.MATH.CONTENT.2.NBT.B.5", "CCSS.MATH.CONTENT.3.NBT.A.2"], "weight": 2, "tip": "{at} + {b} = {st}, then {ao} more", "example": "34 + 50 = 84", "source": "https://www.thecorestandards.org/Math/Content/3/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/2/NBT/"},
        {"id": "sub-tens", "name": "A two-digit number minus whole tens", "kind": "addsub", "form": "tens", "op": "−", "skill": "math.subtract.whole-tens", "standards": ["CCSS.MATH.CONTENT.2.NBT.B.5", "CCSS.MATH.CONTENT.3.NBT.A.2"], "weight": 2, "tip": "{at} − {b} = {st}, then {ao} more", "example": "82 − 50 = 32", "source": "https://www.thecorestandards.org/Math/Content/3/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/2/NBT/"},
        {"id": "from-100", "name": "100 minus a multiple of 5", "kind": "addsub", "form": "from100", "op": "−", "small": true, "skill": "math.subtract.from-100", "standards": ["CCSS.MATH.CONTENT.2.NBT.B.5", "CCSS.MATH.CONTENT.3.NBT.A.2"], "weight": 1, "tip": "{b} + {r} = 100", "example": "100 − 35 = 65", "source": "https://www.thecorestandards.org/Math/Content/3/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/2/NBT/"}
      ]
    },
    {
      "id": 2, "name": "Level 2", "grade": 4,
      "teaches": "Basic facts with tens and hundreds",
      "items": [
        {"id": "add-round", "name": "Sums of whole tens or hundreds, across a ten", "kind": "round", "form": "add", "units": [10, 100], "skill": "math.add.tens-hundreds", "standards": ["CCSS.MATH.CONTENT.3.NBT.A.2", "CCSS.MATH.CONTENT.4.NBT.B.4"], "weight": 2, "tip": "{x} + {y} = {l}, so {a} + {b} = {r}", "example": "80 + 70 = 150", "source": "https://www.thecorestandards.org/Math/Content/4/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/3/NBT/"},
        {"id": "sub-round", "name": "Differences of whole tens or hundreds, across a ten", "kind": "round", "form": "sub", "units": [10, 100], "skill": "math.subtract.tens-hundreds", "standards": ["CCSS.MATH.CONTENT.3.NBT.A.2", "CCSS.MATH.CONTENT.4.NBT.B.4"], "weight": 2, "tip": "{x} − {y} = {l}, so {a} − {b} = {r}", "example": "1,300 − 600 = 700", "source": "https://www.thecorestandards.org/Math/Content/4/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/3/NBT/"},
        {"id": "times-tens", "name": "A one-digit number times whole tens", "kind": "round", "form": "times", "skill": "math.multiply.by-tens", "standards": ["CCSS.MATH.CONTENT.3.NBT.A.3", "CCSS.MATH.CONTENT.4.NBT.B.5"], "weight": 2, "tip": "{x} × {y} = {l}, so {a} × {b} = {r}", "example": "6 × 70 = 420", "source": "https://www.thecorestandards.org/Math/Content/4/NBT/", "source2": "https://www.thecorestandards.org/Math/Content/3/NBT/"},
        {"id": "divide-tens", "name": "Whole tens divided by a one-digit number", "kind": "round", "form": "divide", "skill": "math.divide.tens", "standards": ["CCSS.MATH.CONTENT.4.NBT.B.6"], "weight": 2, "tip": "{x} ÷ {y} = {l}, so {a} ÷ {b} = {r}", "example": "420 ÷ 6 = 70", "source": "https://www.thecorestandards.org/Math/Content/4/NBT/"}
      ]
    },
    {
      "id": 3, "name": "Level 3", "grade": 5,
      "teaches": "Find a fraction of a whole number",
      "items": [
        {"id": "unit-fraction", "name": "A unit fraction of a whole number", "kind": "fraction", "denominators": [2, 3, 4, 5, 6, 7, 8, 9, 10], "numerator": 1, "times": [2, 10], "skill": "math.fraction.unit-of-number", "standards": ["CCSS.MATH.CONTENT.5.NF.B.4.a"], "weight": 8, "tip": "{w} ÷ {d} = {m}", "example": "1/4 of 28 = 7", "source": "https://www.thecorestandards.org/Math/Content/5/NF/"},
        {"id": "fraction-of", "name": "Thirds, quarters and fifths of a whole number", "kind": "fraction", "denominators": [3, 4, 5], "times": [2, 5], "skill": "math.fraction.of-number", "standards": ["CCSS.MATH.CONTENT.5.NF.B.4.a"], "weight": 1, "tip": "{w} ÷ {d} = {m}, then {m} × {n} = {a}", "example": "2/3 of 12 = 8", "source": "https://www.thecorestandards.org/Math/Content/5/NF/"}
      ]
    },
    {
      "id": 4, "name": "Level 4", "grade": 6,
      "teaches": "Friendly percents, squares, cubes and multiplying before adding",
      "items": [
        {"id": "percent-10", "name": "10% of a number", "kind": "percent", "percent": 10, "of": [[40, 300, 10]], "skill": "math.percent.of-number", "standards": ["CCSS.MATH.CONTENT.6.RP.A.3.c"], "weight": 2, "tip": "10% is one tenth: {w} ÷ 10 = {a}", "example": "10% of 80 = 8", "source": "https://www.thecorestandards.org/Math/Content/6/RP/"},
        {"id": "percent-50", "name": "50% of a number", "kind": "percent", "percent": 50, "of": [[8, 100, 2], [120, 200, 20]], "skill": "math.percent.of-number", "standards": ["CCSS.MATH.CONTENT.6.RP.A.3.c"], "weight": 2, "tip": "50% is one half: {w} ÷ 2 = {a}", "example": "50% of 70 = 35", "source": "https://www.thecorestandards.org/Math/Content/6/RP/"},
        {"id": "percent-25", "name": "25% of a number", "kind": "percent", "percent": 25, "of": [[16, 48, 4], [80, 400, 40]], "skill": "math.percent.of-number", "standards": ["CCSS.MATH.CONTENT.6.RP.A.3.c"], "weight": 2, "tip": "25% is one quarter: {w} ÷ 4 = {a}", "example": "25% of 36 = 9", "source": "https://www.thecorestandards.org/Math/Content/6/RP/"},
        {"id": "percent-20", "name": "20% of a number", "kind": "percent", "percent": 20, "of": [[20, 60, 5]], "skill": "math.percent.of-number", "standards": ["CCSS.MATH.CONTENT.6.RP.A.3.c"], "weight": 1, "tip": "20% is one fifth: {w} ÷ 5 = {a}", "example": "20% of 35 = 7", "source": "https://www.thecorestandards.org/Math/Content/6/RP/"},
        {"id": "squares", "name": "Squares", "kind": "power", "exponent": 2, "bases": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "small": true, "skill": "math.powers.squares", "standards": ["CCSS.MATH.CONTENT.6.EE.A.1"], "weight": 3, "tip": "{n}^2 means {n} × {n}", "example": "7^2 = 49", "source": "https://www.thecorestandards.org/Math/Content/6/EE/"},
        {"id": "cubes", "name": "Cubes", "kind": "power", "exponent": 3, "bases": [2, 3, 4, 5, 10], "small": true, "skill": "math.powers.cubes", "standards": ["CCSS.MATH.CONTENT.6.EE.A.1"], "weight": 1, "tip": "{n}^3 means {n} × {n} × {n}", "example": "4^3 = 64", "source": "https://www.thecorestandards.org/Math/Content/6/EE/"},
        {"id": "order", "name": "Multiply before you add", "kind": "order", "a": [1, 9], "b": [2, 5], "c": [2, 5], "skill": "math.order-of-operations", "standards": ["CCSS.MATH.CONTENT.6.EE.A.2.c"], "weight": 1.5, "tip": "Multiply first: {b} × {c} = {p}", "example": "3 + 2 × 4 = 11", "source": "https://www.thecorestandards.org/Math/Content/6/EE/"}
      ]
    },
    {
      "id": 5, "name": "Level 5", "grade": 7,
      "teaches": "Add and subtract negative numbers",
      "items": [
        {"id": "neg-minus", "name": "A negative minus a positive", "kind": "integers", "form": "na-b", "range": [1, 10], "skill": "math.integers.subtract", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 1, "tip": "Start at −{a}, go down {b}: {r}", "example": "−7 − 5 = −12", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "neg-plus-neg", "name": "A negative plus a negative", "kind": "integers", "form": "na+nb", "range": [1, 10], "skill": "math.integers.add", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 1, "tip": "Adding a negative goes down: −{a} − {b} = {r}", "example": "−7 + (−5) = −12", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "small-minus-big", "name": "A smaller number minus a larger one", "kind": "integers", "form": "a-b", "range": [1, 10], "skill": "math.integers.subtract", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 1, "tip": "Start at {a}, go down {b}: {r}", "example": "6 − 9 = −3", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "neg-plus", "name": "A negative plus a positive", "kind": "integers", "form": "na+b", "range": [1, 10], "skill": "math.integers.add", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 2, "tip": "Start at −{a}, go up {b}: {r}", "example": "−8 + 3 = −5", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "plus-neg", "name": "A positive plus a negative", "kind": "integers", "form": "a+nb", "range": [1, 10], "skill": "math.integers.add", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 2, "tip": "Adding a negative subtracts: {a} − {b} = {r}", "example": "4 + (−9) = −5", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "neg-minus-neg", "name": "A negative minus a negative", "kind": "integers", "form": "na-nb", "range": [1, 10], "skill": "math.integers.subtract", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 2, "tip": "Subtracting a negative adds: −{a} + {b} = {r}", "example": "−7 − (−5) = −2", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"},
        {"id": "minus-neg", "name": "A positive minus a negative", "kind": "integers", "form": "a-nb", "range": [1, 10], "skill": "math.integers.subtract", "standards": ["CCSS.MATH.CONTENT.7.NS.A.1"], "weight": 2, "tip": "Subtracting a negative adds: {a} + {b} = {r}", "example": "4 − (−9) = 13", "source": "https://www.thecorestandards.org/Math/Content/7/NS/"}
      ]
    },
    {
      "id": 6, "name": "Level 6", "grade": 8,
      "teaches": "Square roots, cube roots and the exponent rules",
      "items": [
        {"id": "square-roots", "name": "Square roots", "kind": "root", "index": 2, "bases": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "small": true, "skill": "math.roots.square", "standards": ["CCSS.MATH.CONTENT.8.EE.A.2"], "weight": 3, "tip": "{n} × {n} = {v}", "example": "√144 = 12", "source": "https://www.thecorestandards.org/Math/Content/8/EE/"},
        {"id": "cube-roots", "name": "Cube roots", "kind": "root", "index": 3, "bases": [2, 3, 4, 5, 10], "small": true, "skill": "math.roots.cube", "standards": ["CCSS.MATH.CONTENT.8.EE.A.2"], "weight": 1, "tip": "{n} × {n} × {n} = {v}", "example": "∛64 = 4", "source": "https://www.thecorestandards.org/Math/Content/8/EE/"},
        {"id": "product-rule", "name": "Multiplying powers of the same base", "kind": "powers", "form": "product", "bases": [2, 3, 4, 5, 10], "exponents": [1, 5], "sum": 7, "skill": "math.exponents.product-rule", "standards": ["CCSS.MATH.CONTENT.8.EE.A.1"], "weight": 2, "tip": "Same base: add the exponents, {m} + {n} = {s}", "example": "2^3 × 2^2 = 2^5", "source": "https://www.thecorestandards.org/Math/Content/8/EE/"},
        {"id": "quotient-rule", "name": "Dividing powers of the same base", "kind": "powers", "form": "quotient", "bases": [2, 3, 4, 5, 10], "exponents": [2, 9], "skill": "math.exponents.quotient-rule", "standards": ["CCSS.MATH.CONTENT.8.EE.A.1"], "weight": 1, "tip": "Same base: subtract the exponents, {m} − {n} = {s}", "example": "5^6 ÷ 5^2 = 5^4", "source": "https://www.thecorestandards.org/Math/Content/8/EE/"},
        {"id": "power-rule", "name": "A power of a power", "kind": "powers", "form": "power", "bases": [2, 3, 4, 5, 10], "exponents": [2, 4], "sum": 12, "skill": "math.exponents.power-rule", "standards": ["CCSS.MATH.CONTENT.8.EE.A.1"], "weight": 1, "tip": "Power of a power: multiply, {m} × {n} = {s}", "example": "(2^3)^2 = 2^6", "source": "https://www.thecorestandards.org/Math/Content/8/EE/"}
      ]
    }
  ]
}
