Add drawing canvas (canvas module, DrawingView, drawing_* tests) and levels 13-14 (classes, saved patterns)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-16 17:40:53 +02:00
parent 4689d25700
commit d3b7c611f1
46 changed files with 1250 additions and 22 deletions
+8 -1
View File
@@ -143,5 +143,12 @@
"lint.solution_error": "The solution crashes: {type} — {message}{line}",
"lint.solution_fails": "The solution does not pass its tests: {failures}.",
"lint.starter_passes": "The starter code already passes the tests: the exercise would already be solved.",
"lint.starter_error": "The starter code does not run: {type} — {message}{line}"
"lint.starter_error": "The starter code does not run: {type} — {message}{line}",
"author.kind.drawing_segments": "Drawing: number of lines",
"author.kind.drawing_segments.help": "Number of lines drawn by canvas.line: “4” (exactly) or “4+” (at least).",
"author.kind.drawing_has_line": "Drawing: a specific line",
"author.kind.drawing_has_line.help": "A line between two points, either direction: “0,0 100,0” or with a colour “0,0 100,0 red”. Tolerance 0.5.",
"author.kind.drawing_colors": "Drawing: colours used",
"author.kind.drawing_colors.help": "Colours that must all appear, comma-separated: “red,blue”.",
"lint.drawing_value_invalid": "Malformed drawing test value (see the test type help; colours: black, red, green, blue, orange, purple, gray)."
}