Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/samples/basic-intro.ta
blob: 5323c3d92aff9b2a755e716431563bba34fadd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[[0, ["start", 2.0], 580, 282, [null, 24]],
[1, ["userdefined2args", "pysamples/load_block.py"], 1526, 501, [17, 5, 2, 6]],
[2, ["number", 100], 1584, 543, [1, null]],
[3, ["userdefined", "pysamples/load_block.py"], 43, 1123, [49, 4, 28]],
[4, ["string", "delete"], 101, 1123, [3, null]],
[5, ["string", "forward"], 1584, 501, [1, null]],
[6, ["userdefined2args", "pysamples/load_block.py"], 1526, 585, [1, 7, 8, 34]],
[7, ["string", "right"], 1584, 585, [6, null]],
[8, ["number", 90], 1584, 627, [6, null]],
[9, ["userdefined2args", "pysamples/load_block.py"], 1526, 251, [31, 10, 11, 12]],
[10, ["string", "repeat"], 1584, 251, [9, null]],
[11, ["number", 4], 1584, 293, [9, null]],
[12, ["setxy2", 20], 1526, 335, [9, 16, 20, 17]],
[13, ["number", 20], 1638, 377, [16, null]],
[14, "xcor", 1638, 335, [16, null]],
[15, "ycor", 1638, 417, [20, null]],
[16, ["plus2", 0], 1584, 335, [12, 14, 13]],
[17, ["vspace", 0], 1526, 459, [12, 1]],
[18, "penup", 1526, 125, [27, 31]],
[19, "pendown", 1526, 921, [37, null]],
[20, ["minus2", 0], 1584, 417, [12, 15, 21]],
[21, ["number", 40], 1662, 459, [20, null]],
[22, "hat", 43, 859, [null, 23, 94]],
[23, ["string", "next"], 101, 871, [22, null]],
[24, "stack", 102, 576, [0, 25, null]],
[25, ["string", "next"], 160, 576, [24, null]],
[26, "clean", 43, 955, [94, 49]],
[27, "hat", 1526, 71, [null, 48, 18]],
[28, "stack", 43, 1165, [3, 47, 43]],
[29, "show", 1526, 795, [42, 30, 37]],
[30, ["string", "The repeat block lets your repeat an action."], 1584, 795, [29, null]],
[31, ["setxy2", 0], 1526, 167, [18, 32, 33, 9]],
[32, ["number", -300.0], 1584, 167, [31, null]],
[33, ["number", 100.0], 1584, 209, [31, null]],
[34, ["setxy2", 0], 1526, 669, [6, 35, 41, 42]],
[35, ["number", -300.0], 1584, 669, [34, null]],
[36, ["number", 150.0], 1662, 753, [41, null]],
[37, ["setxy2", 0], 1526, 837, [29, 38, 39, 19]],
[38, ["number", 0], 1584, 837, [37, null]],
[39, ["number", 0], 1584, 879, [37, null]],
[40, "ycor", 1638, 711, [41, null]],
[41, ["minus2", 0], 1584, 711, [34, 40, 36]],
[42, ["vspace", 0], 1526, 753, [34, 29]],
[43, "storeinbox1", 43, 1207, [28, 46, null]],
[44, ["number", 1.0], 215, 1249, [46, null]],
[45, "box1", 215, 1207, [46, null]],
[46, ["plus2", 0], 161, 1207, [43, 45, 44]],
[47, "box1", 101, 1165, [28, null]],
[48, ["number", 1.0], 1584, 83, [27, null]],
[49, ["if", 0], 43, 997, [26, 53, 50, 3]],
[50, "storeinbox1", 61, 1063, [49, 51, null]],
[51, ["number", 0.0], 179, 1063, [50, null]],
[52, "box1", 145, 963, [53, null]],
[53, ["greater2", 0], 99, 963, [49, 52, 54, null]],
[54, ["number", 1.0], 169, 1005, [53, null]],
[55, ["number", 0.0], 1356, 85, [93, null]],
[56, "penup", 1298, 127, [93, 57]],
[57, ["setxy2", 0], 1298, 169, [56, 58, 59, 60]],
[58, ["number", -300], 1356, 169, [57, null]],
[59, ["number", 150.0], 1356, 211, [57, null]],
[60, ["userdefined2args", "pysamples/load_block.py"], 1298, 253, [57, 61, 62, 84]],
[61, ["string", "forward"], 1356, 253, [60, null]],
[62, ["number", 100.0], 1356, 295, [60, null]],
[63, ["userdefined2args", "pysamples/load_block.py"], 1298, 421, [84, 64, 65, 87]],
[64, ["string", "back"], 1356, 421, [63, null]],
[65, ["number", 100], 1356, 463, [63, null]],
[66, ["userdefined2args", "pysamples/load_block.py"], 1298, 757, [90, 67, 68, 69]],
[67, ["string", "right"], 1356, 757, [66, null]],
[68, ["number", 90], 1356, 799, [66, null]],
[69, ["setxy2", 0], 1298, 841, [66, 70, 71, 74]],
[70, ["number", -300], 1356, 841, [69, null]],
[71, ["minus2", 0], 1356, 883, [69, 72, 73]],
[72, "ycor", 1410, 883, [71, null]],
[73, ["number", 75.0], 1434, 925, [71, null]],
[74, ["vspace", 0], 1298, 925, [69, 75]],
[75, "show", 1298, 967, [74, 76, 77]],
[76, ["string", "The turtle can go forward, back, left, and right."], 1356, 967, [75, null]],
[77, ["setxy2", 0], 1298, 1009, [75, 78, 79, 80]],
[78, ["number", 0], 1356, 1009, [77, null]],
[79, ["number", 0], 1356, 1051, [77, null]],
[80, "pendown", 1298, 1093, [77, null]],
[81, ["userdefined2args", "pysamples/load_block.py"], 1298, 589, [87, 82, 83, 90]],
[82, ["string", "left"], 1356, 589, [81, null]],
[83, ["number", 90], 1356, 631, [81, null]],
[84, ["setxy2", 0], 1298, 337, [60, 85, 86, 63]],
[85, ["number", -300.0], 1356, 337, [84, null]],
[86, ["number", 75.0], 1356, 379, [84, null]],
[87, ["setxy2", 0], 1298, 505, [63, 88, 89, 81]],
[88, ["number", -300.0], 1356, 505, [87, null]],
[89, ["number", 0.0], 1356, 547, [87, null]],
[90, ["setxy2", 0], 1298, 673, [81, 91, 92, 66]],
[91, ["number", -300.0], 1356, 673, [90, null]],
[92, ["number", -75.0], 1356, 715, [90, null]],
[93, "hat", 1298, 73, [null, 55, 56]],
[94, "showblocks", 43, 913, [22, 95]],
[95, ["userdefined", "pysamples/load_palette.py"], 40, 936, [94, 96, 26]],
[96, ["string", "turtle"], 98, 936, [95, null]]]