4,990
edits
(→Theory) |
|||
Line 27: | Line 27: | ||
== Example Code == | == Example Code == | ||
Zig Zag never drives straight. Either it turns to left or right. However, it can be made very fast, and reliable---of course depending on the line. The turning part is coded into ''if else'' block which is in the loop. | Zig Zag never drives straight. Either it turns to left or right. However, it can be made very fast, and reliable---of course depending on the line. The turning part is coded into ''if else'' block which is in the loop. | ||
== Exercises == | == Exercises == |