Add the random-walk and spirograph challenges to the command line

turtle-challenges random-walk and turtle-challenges spirograph, the latter with
--gap for the degrees between two circles.

Task: MIL-004#4
This commit is contained in:
2026-10-07 23:59:15 +08:00
parent 2328490945
commit b5483a7373
3 changed files with 45 additions and 4 deletions
+8
View File
@@ -92,9 +92,17 @@ CHALLENGE_DASHED_LINE = "dashed-line"
## Command line name of challenge 3.
CHALLENGE_SHAPES = "shapes"
## Command line name of challenge 4.
CHALLENGE_RANDOM_WALK = "random-walk"
## Command line name of challenge 5.
CHALLENGE_SPIROGRAPH = "spirograph"
## Names of the challenges on the command line, in the order of the course.
CHALLENGE_NAMES: tuple[str, ...] = (
CHALLENGE_SQUARE,
CHALLENGE_DASHED_LINE,
CHALLENGE_SHAPES,
CHALLENGE_RANDOM_WALK,
CHALLENGE_SPIROGRAPH,
)