Walk
Walk forward
walk_forward
- Studio
- Pad: L stick
Plan a route the way people plan work for real farm robots: write down what it must do, name routines as Your cards, fit a whole field into 40 steps, then write a level for another group.
Only these. A row in this pack can lay the same card more than once, so each group needs three Walk the row (Your card 203). Print this pack's cut sheet once for each group, then untick every card but that card and print it again until each group has enough.
Walk
Walk forward
walk_forward
Walk
Walk back
walk_backward
Walk
Turn left
turn_left
Walk
Turn right
turn_right
Walk
Stop
stop
Speed
Slow
slow
Trick
Peck the ground
peck_ground
Sound
Hello
greet
Control
Start
start
Control
End
end
Control
Repeat
times
repeat
Control
End repeat
end_repeat
When
When it falls
when_falls
Your card
Name it
card_4
It does
203The one Your card drawn here stands for three blank cards, each with its own code.
Write the name on the blank card with that number. In the pack file, the card carries the row it stands for.
Your card 203
Walk forward five times: one whole row, end to end.
Your card 204
Turn right, walk forward, turn right: round the end of a row and back along the next.
Your card 205
Turn left, walk forward, turn left: round the end of a row the other way.
Fewest cards wins. Count every card between Start and End: Repeat and End repeat, and every card under another. A Your card is one card. This is where a loop pays off.
Par is the shortest row the pack's author found. If your class finds a shorter one, the par was wrong, not the class.
A row solves a challenge when the duck ends on the goal, has walked through every tunnel the long way, and has not bumped into a wall or the edge of the board. When a challenge names a card to finish with, that card is last. Every Repeat needs its End repeat.
Every challenge card below draws its own board. Here is how big a square is.
One Walk card moves the duck one square. One Turn card is a quarter turn, where it stands. That is the rule on paper and in Studio, and every par is counted by it.
Walk and Turn cards on a duck are timed for now: two seconds each, and the duck does not land on board squares. Measured cards are being tested. So for now the board is played by people and in Studio, and a duck beside it is a trial.
Measured cards walk until the duck's own odometry says one 30 cm square and turn until it says a quarter turn. They are being validated, in Pollen's simulator and then on testers' ducks, before they are switched on.
Tape the board on the floor in 30 cm squares, so a student playing the duck can stand in one. Or draw it on squared paper and walk a finger.
Easiest first. Print this page and it prints these cards and nothing else, four to a sheet, ready to cut. Choose Actual size or 100%.
Plan the farm 1 of 3
Par 3 cards
Your cards name a routine. Three names can say the whole route.
Two rows of a field and the turn between them: one row out, round the end, and one row back.
Grades 6 to 8. Duck Cards, CC BY 4.0, microduckstudio.com
Plan the farm 2 of 3
Par 7 cards
Name the pattern for two rows, then repeat it. Why is this field five rows and not six?
Five rows, a gate at each row end, and one row of cards. Write what the route must do before you lay any.
Grades 6 to 8. Duck Cards, CC BY 4.0, microduckstudio.com
Plan the farm 3 of 3
Par 4 cards
Walk the row walks five squares whichever way the duck is facing. Does it have to be a row?
From the far corner to the barn door, then one pretend peck at the door.
Finish with
Peck the groundGrades 6 to 8. Duck Cards, CC BY 4.0, microduckstudio.com
Each one fits a class period with paper only.
Your cards
Walk the row, Row end right and Row end left are Your cards: printed cards saved under one name. Write out every card The whole field stands for, step by step, and count them. Then count the cards you laid.
Ask: when is a run of cards worth a name of its own?
Specifications
Before laying cards, write in plain sentences what the route must do: where it starts and faces, where it ends, which gates it passes, what it must never bump, and the card it finishes with. A spec says what, not how. Trade specs with another group, and each writes a row for the other's spec.
Ask: did a row meet your spec and still surprise you? What did the spec leave out?
Limits
A duck runs at most 40 steps in one row. A full six by six field, row by row, takes 45 steps, so The whole field is five rows, which take 37. Plan the sixth row as a second run: mark a nest square where the first run ends, and a person sets the duck there, facing the right way, before the second run.
Ask: where would you split a field into runs, and why there?
Authoring
Each group draws a six by six field on squared paper: a start and facing, a goal, walls, one or two gates, and a finish card if you like. Solve it with plain cards only, because a class pack Studio writes carries no Your cards. Your card count is your par. Trade levels and try to beat each other's par.
Ask: if another group beat your par, what did they see that you did not?
Robots and people
Real field robots and milking robots follow plans that people write and check. A milking robot stays in one place and the cows walk to it. The duck only plays a game about these robots; it does no farm work. Write three more lines a real farm robot's spec would need.
Ask: what should a real farm robot do when a person or an animal is in its way?
The whole pack is one file in the open duck-pack/0 format. Duck Cards, from microduckstudio.com, CC BY 4.0.