Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-11-01 17:06:21 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-11-01 17:06:21 (GMT)
commit68b35de02d013f1f2db1fc7f2818f51b92ec837e (patch)
treea96ee88600d4a6c7139ec2b232bad78397539582 /samples
parent5a8c22ba72d48089fe817cd92680734c75446aad (diff)
use thicker line and define color box before you use it
Diffstat (limited to 'samples')
-rw-r--r--samples/game-snake.tb75
1 files changed, 39 insertions, 36 deletions
diff --git a/samples/game-snake.tb b/samples/game-snake.tb
index 95be7b7..4e8215c 100644
--- a/samples/game-snake.tb
+++ b/samples/game-snake.tb
@@ -1,57 +1,60 @@
[[0, ["start", 2.0], 200, 180, [null, 56]],
[1, "hat", 740, 420, [null, 2, 13]],
-[2, ["string", "left"], 799, 432, [1, null]],
+[2, ["string", "left"], 798, 432, [1, null]],
[3, "hat", 740, 180, [null, 4, 12]],
-[4, ["string", "right"], 799, 192, [3, null]],
+[4, ["string", "right"], 798, 192, [3, null]],
[5, "stack", 520, 276, [11, 6, 7]],
-[6, ["string", "left"], 579, 276, [5, null]],
+[6, ["string", "left"], 578, 276, [5, null]],
[7, "stack", 520, 318, [5, 8, 9]],
-[8, ["string", "right"], 579, 318, [7, null]],
+[8, ["string", "right"], 578, 318, [7, null]],
[9, "forward", 520, 360, [7, 10, 51]],
-[10, ["number", 10], 594, 360, [9, null]],
+[10, ["number", 10], 591, 360, [9, null]],
[11, "kbinput", 520, 234, [33, 5]],
[12, ["vspace", 0], 740, 234, [3, 14]],
[13, ["vspace", 0], 740, 474, [1, 15]],
[14, ["if", 0], 740, 276, [12, 16, 20, null]],
[15, ["if", 0], 740, 516, [13, 17, 22, null]],
-[16, ["equal2", 0], 806, 242, [14, 45, 18, null]],
-[17, ["equal2", 0], 806, 482, [15, 46, 19, null]],
-[18, "keyboard", 862, 284, [16, null]],
-[19, "keyboard", 862, 524, [17, null]],
+[16, ["equal2", 0], 796, 242, [14, 45, 18, null]],
+[17, ["equal2", 0], 796, 482, [15, 46, 19, null]],
+[18, "keyboard", 852, 284, [16, null]],
+[19, "keyboard", 852, 524, [17, null]],
[20, "right", 758, 342, [14, 21, null]],
-[21, ["number", 10], 830, 342, [20, null]],
+[21, ["number", 10], 816, 342, [20, null]],
[22, "left", 758, 582, [15, 23, null]],
-[23, ["number", 10], 837, 582, [22, null]],
-[24, "wait", 218, 502, [35, 25, null]],
-[25, ["number", 0.1], 287, 502, [24, null]],
+[23, ["number", 10], 816, 582, [22, null]],
+[24, "wait", 218, 586, [35, 25, null]],
+[25, ["number", 0.1], 276, 586, [24, null]],
[26, "forward", 1020, 276, [30, 27, 39]],
-[27, ["number", 3], 1094, 276, [26, null]],
+[27, ["number", 5.0], 1091, 276, [26, null]],
[28, "back", 1020, 402, [39, 29, 31]],
-[29, ["number", 3], 1078, 402, [28, null]],
+[29, ["number", 5.0], 1078, 402, [28, null]],
[30, "penup", 1020, 234, [49, 26]],
[31, "pendown", 1020, 444, [28, null]],
-[32, "showblocks", 200, 562, [47, null]],
+[32, "showblocks", 200, 646, [47, null]],
[33, "hat", 520, 180, [null, 34, 11]],
-[34, ["string", "action"], 579, 192, [33, null]],
-[35, "stack", 218, 460, [47, 36, 24]],
-[36, ["string", "action"], 277, 460, [35, null]],
-[37, "setpensize", 200, 268, [56, 38, 54]],
-[38, ["number", 5], 301, 268, [37, null]],
+[34, ["string", "action"], 578, 192, [33, null]],
+[35, "stack", 218, 544, [47, 36, 24]],
+[36, ["string", "action"], 276, 544, [35, null]],
+[37, "setpensize", 200, 352, [57, 38, 54]],
+[38, ["number", 8.0], 302, 352, [37, null]],
[39, ["storein", 0], 1020, 318, [26, 40, 41, 28]],
-[40, ["string", "color"], 1115, 318, [39, null]],
-[41, "see", 1115, 360, [39, null]],
-[42, ["equal2", 0], 256, 360, [47, 43, 53, null]],
-[43, "box", 312, 360, [42, 44, null]],
-[44, ["string", "color"], 367, 360, [43, null]],
-[45, ["number", 3], 862, 242, [16, null]],
-[46, ["number", 1], 862, 482, [17, null]],
-[47, ["until", 21], 200, 394, [48, 42, 35, 32]],
-[48, ["vspace", 0], 200, 352, [54, 47]],
+[40, ["string", "color"], 1088, 318, [39, null]],
+[41, "see", 1088, 360, [39, null]],
+[42, ["equal2", 0], 256, 444, [47, 43, 53, null]],
+[43, "box", 312, 444, [42, 44, null]],
+[44, ["string", "color"], 367, 444, [43, null]],
+[45, ["number", 3], 852, 242, [16, null]],
+[46, ["number", 1], 852, 482, [17, null]],
+[47, ["until", 21], 200, 478, [48, 42, 35, 32]],
+[48, ["vspace", 0], 200, 436, [54, 47]],
[49, "hat", 1020, 180, [null, 50, 30]],
-[50, ["string", "look ahead"], 1079, 192, [49, null]],
+[50, ["string", "look ahead"], 1078, 192, [49, null]],
[51, "stack", 520, 402, [9, 52, null]],
-[52, ["string", "look ahead"], 579, 402, [51, null]],
-[53, "red", 312, 402, [42, null]],
-[54, "setcolor", 200, 310, [37, 55, 48]],
-[55, "red", 281, 310, [54, null]],
-[56, "clean", 200, 226, [0, 37]]]
+[52, ["string", "look ahead"], 578, 402, [51, null]],
+[53, "red", 312, 486, [42, null]],
+[54, "setcolor", 200, 394, [37, 55, 48]],
+[55, "red", 277, 394, [54, null]],
+[56, "clean", 200, 226, [0, 57]],
+[57, ["storein", 0], 200, 268, [56, 58, 59, 37]],
+[58, ["string", "color"], 268, 268, [57, null]],
+[59, "blue", 268, 310, [57, null]]]