-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTutorial.aspx.html
570 lines (530 loc) · 34.3 KB
/
Tutorial.aspx.html
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>
Match 2 of the Imagine Cup 2008 Algorithm Invitational - Tutorial
</title><link id="ctl00_styleLink" type="text/css" rel="stylesheet" href="Tutorial.aspx_files/Default.css"><link></head><body id="ctl00_bCompeteMaster">
<form name="aspnetForm" method="post" action="Tutorial.aspx?CId=91EpYq2pNxJnnl4XqyD84Q%3d%3d" id="aspnetForm">
<div>
<input name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTczODYwNjQ5Mw9kFgJmD2QWBAIBD2QWAgIBDxYCHgRocmVmBRQuLi9TdHlsZS9EZWZhdWx0LmNzc2QCAw9kFgICAQ9kFgYCAQ8WAh4HVmlzaWJsZWgWAgIBD2QWGAIBDw8WAh4ISW1hZ2VVcmwFFy4uL2ltYWdlcy90b3BiYW5uZXIuanBnZGQCBQ8WAh8BZ2QCBw8WAh8BZ2QCCQ8WAh8BZ2QCCw8WAh8BZ2QCDQ8WAh8BaGQCDw8WAh8BZ2QCEQ8WAh8BZ2QCEw8WAh8BZ2QCFQ8WAh8BaGQCFw8WAh8BaGQCGw8WAh8BZ2QCAw8WAh8BZxYCAgEPZBYYAgEPDxYCHwIFFy4uL2ltYWdlcy90b3BiYW5uZXIuanBnZGQCBQ8WAh8BZ2QCBw8WAh8BZ2QCCQ8WAh8BZ2QCCw8WAh8BZ2QCDQ8WAh8BaGQCDw8WAh8BZ2QCEQ8WAh8BZ2QCEw8WAh8BZ2QCFQ8WAh8BaGQCFw8WAh8BaGQCGw8WAh8BZ2QCBQ9kFgRmDxYCHwFoZAIBDxYCHwFoZGQ=" type="hidden">
</div>
<div>
<table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
<tbody><tr valign="top">
</tr>
<tr>
<td id="ctl00_tdVMenu" style="width: 20%;" colspan="0" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="2" style="height: 134px; background-image: url("../images/bgmain.jpg");">
<img id="ctl00_Vmenu1_TopBanner" src="Tutorial.aspx_files/topbanner.jpg" style="height: 134px; border-width: 0px; width: 820px;"></td>
</tr>
<tr>
<td style="width: 20%;" valign="top">
<table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top">
<img src="Tutorial.aspx_files/Chin.jpg" id="ctl00_Vmenu1_IMG1" style="text-align: left;">
</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tbody><tr id="ctl00_Vmenu1_mnuHome">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/Home.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">home</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuTutorial">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/Tutorial.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">tutorial</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuScoring">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/judgingprocess.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">scoring</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuMySubmission">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/enter.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">my submission</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuForum">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/vcontent.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">forum</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuLeaderBoard">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/LeaderBoard.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">leaderboard</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuHelp">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/help.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">help</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuLogin">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/Login.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">login</a>
</td>
</tr>
<tr id="ctl00_Vmenu1_mnuRegister">
<td class="navitem">
<a href="http://wildnoodle.com/UI/Compete/contestsignup.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">sign up
</a>
</td>
</tr>
<tr>
<td style="height: 10px;">
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<br>
<table class="maintext" style="text-align: left;" width="99%" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="headertitle" style="width: 100%;">
Tutorial</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td class="headertitlesubtopic" style="width: 100%;">
Introduction</td>
</tr>
<tr>
<td colspan="2">
The
Match 2 of the Imagine Cup 2008 Algorithm Invitational
contest is in the form of a game called Herbert. Herbert requires you to solve a
series of levels by writing small programs to control a robot. The simpler and more
elegant your solution, the more points you get.
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="headertitlesubtopic" style="width: 100%;">
An overview of the game</td>
</tr>
<tr>
<td colspan="2">
<p>
Herbert challenges your ability to see patterns and create algorithms to produce
these patterns.
</p>
<p>
This
Match 2 of the Imagine Cup 2008 Algorithm Invitational
contest consists of
25
levels. On each level there are some white buttons; to "solve" a level you must
press all the white buttons. To press the buttons, you have at your disposal a programmable
robot named Herbert. You must program Herbert, in a language called “h”, to press
all the white buttons while avoiding obstacles such as walls and gray buttons (walls
block Herbert's path and gray buttons will reset any previously pressed white buttons
to their unpressed state). You are only allotted a certain number of "bytes" (a
unit of program size) per level; your program must use no more than this number
of bytes. This last restriction is not too stringent for the earlier levels where
the goal is to simply write a program that works. However, you will find that your
program must be small and cleanly designed in order to complete the higher levels.
On each level, points are awarded for each white button pressed, a bonus is awarded
for solving the level, and extra points are awarded for those solutions that use
less than the allotted maximum number of bytes.
</p>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<img alt="" src="Tutorial.aspx_files/Herbert_Tutorial_xp.gif" style="border: 0pt none;" height="434" width="614"></td>
</tr>
<tr>
<td colspan="2">
<br>
</td>
</tr>
<tr>
<td class="headertitlesubtopic" style="width: 100%;">
The “h” language</td>
</tr>
<tr>
<td colspan="2">
<p>
Herbert is programmed in a simple but powerful language called “h”. “h” contains
elements of traditional high-level languages: statements, procedures, parameters,
arguments, and recursion. However, “h” is syntactically more simple, and contains
some concepts (procedural arguments) that are not found in traditional languages.
</p>
<p>
Here are the basic elements of “h”:</p>
<table class="maintext" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="headertitlesubtopic" style="width: 12%;">
Element</td>
<td class="headertitlesubtopic" style="width: 8%;">
</td>
<td class="headertitlesubtopic" style="width: 36%;">
Syntax</td>
<td class="headertitlesubtopic" style="width: 24%;">
</td>
<td class="headertitlesubtopic" style="width: 12%;">
Examples</td>
<td class="headertitlesubtopic" style="width: 8%;">
</td>
</tr>
<tr class="maincelldark">
<td class="maincelldark" colspan="2">
Statement</td>
<td class="maincelldark" colspan="2">
<strong>s</strong> (go <span class="makeunderline">s</span>traight), <strong>r</strong>
(turn <span class="makeunderline">r</span>ight), or <strong>l</strong> (turn <span class="makeunderline">l</span>eft), a procedure call, or a procedural parameter.</td>
<td class="maincelldark" colspan="2">
<strong>s</strong></td>
</tr>
<tr class="maincelldark">
<td class="maincelldark" colspan="2">
Procedure definition</td>
<td class="maincelldark" colspan="2">
<strong>x</strong>[<strong>(P<sub>1</sub>,P<sub>2</sub>,...,P<sub>k</sub>)</strong>]<strong>:y<sub>1</sub>y<sub>2</sub>y<sub>3</sub></strong>...<strong>y<sub>n
</sub></strong>where <strong>x</strong> is any lowercase letter (except<strong> s</strong>,
<strong>r</strong>, or <strong>l</strong>), <strong>P<sub>i</sub></strong> is a
parameter, <strong>y<sub>i</sub></strong> is any statement, 0 <= <b>k</b> <=15,
and <b>n </b>>= 0. If <b>k</b> = 0 (no parameters) then the
parentheses are not used.</td>
<td class="maincelldark" colspan="2">
<strong>a:ssssr<br>
b(C,D):sra(C)D</strong></td>
</tr>
<tr class="maincelldark">
<td class="maincelldark" colspan="2">
Parameter</td>
<td class="maincelldark" colspan="2">
<strong>X</strong> where <strong>X</strong> is any uppercase letter.</td>
<td class="maincelldark" colspan="2">
<strong>A</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Expression</td>
<td class="maincelldark" colspan="2">
[<b>-</b>]<b> X</b> [(<b>+</b> or <b>-</b>) <b>X</b> [(<b>+</b> or <b>-</b>) <b>X</b>
[(<b>+</b> or <b>-</b>) <b>X</b> ... ]]] where each X is either a numeric parameter
or a number.</td>
<td class="maincelldark" colspan="2">
<strong>5<br>
A-5<br>
-A-B-C+1</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Argument</td>
<td class="maincelldark" colspan="2">
Any number, expression, or sequence of zero or more statements.</td>
<td class="maincelldark" colspan="2">
<strong>4<br>
rsr<br>
A-1</strong></td>
</tr>
<tr class="maincelldark">
<td class="maincelldark" colspan="2">
Procedure call</td>
<td class="maincelldark" colspan="2">
<strong>x</strong>[<strong>(a<sub>1</sub>,a<sub>2</sub>,...,a<sub>k</sub>)</strong>]
where <b>x</b> is the name of a procedure and <strong>a<sub>i</sub></strong> is
an argument (one for each parameter). If <b>k</b> = 0 (no parameters)
then the parentheses are not used. No call is made if any numeric argument is 0
or less.</td>
<td class="maincelldark" colspan="2">
<strong>a(1,B-1,srs)<br>
b</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Recursion</td>
<td class="maincelldark" colspan="2">
<strong>x</strong>[<strong>(P<sub>1</sub>,P<sub>2</sub>,...,P<sub>k</sub>)</strong>]<strong>:</strong><strong>y<sub>1</sub>y<sub>2</sub>y<sub>3</sub></strong>...<strong>y<sub>m</sub>x</strong>[<strong>(a<sub>1</sub>,a<sub>2</sub>,a<sub>3</sub>,..,a<sub>k</sub>)</strong>]<strong>y<sub>m+1</sub>y<sub>m+2</sub>y<sub>m+3</sub></strong>...<strong>y<sub>n
</sub></strong>where <strong>x</strong> is any lowercase letter (except<strong> s</strong>,
<strong>r</strong>, or <strong>l</strong>), <strong>P<sub>i</sub></strong> is a
parameter, <strong>a<sub>i</sub></strong> is an argument, <strong>y<sub>i</sub></strong>
is any statement, 0<= <b>k</b> <= 15, <b>m</b> >= 0,
and <b>n </b>>= 0.
</td>
<td class="maincelldark" colspan="2">
<strong>a(A):sa(A-1)<br>
b:sssrb</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Main Procedure</td>
<td class="maincelldark" colspan="2">
<strong>y<sub>1</sub>y<sub>2</sub>y<sub>3</sub></strong>...<strong>y<sub>n</sub> </strong>
where <strong>y<sub>i</sub></strong> is any statement and <b>n</b> >= 1.</td>
<td class="maincelldark" colspan="2">
<strong>sa(1,rsr)r</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Program</td>
<td class="maincelldark" colspan="2">
<p>
<strong><procedure definition> </strong><br>
<strong> :</strong><br>
<strong> :</strong><br>
<strong><main procedure></strong>
</p>
</td>
<td class="maincelldark" colspan="2">
<strong>a:ssssra<br>
sssa</strong></td>
</tr>
<tr>
<td class="maincelldark" colspan="2">
Byte</td>
<td class="maincelldark" colspan="2">
Any lowercase or uppercase letter, or any number</td>
<td class="maincelldark" colspan="2">
<strong>s</strong><br>
<strong>A</strong><br>
<strong>123</strong></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="headertitlesubtopic" style="width: 100%;">
<a id="#Tutorial"></a>Take a test drive</td>
</tr>
<tr>
<td colspan="2">
<p>
Here is a short tutorial to get you familiar with “h” and with Herbert.<br>
<br>
First, make sure that your system is able to run Herbert with all of its functionality.
See <a class="whitetext" href="http://wildnoodle.com/UI/Compete/help.aspx?CId=91EpYq2pNxJnnl4XqyD84Q==">help</a>
for more information on minimum systems requirements and required security settings.<br>
<br>
Next, <a class="whitetext" href="#Tutorial" onclick="javascript:LaunchHerbert();">click
here to run a practice version of Herbert</a>.<br>
<br>
You can now follow along in the tutorial by both writing programs yourself, and
checking them against the examples given, or by copying and pasting the examples
from this page into Herbert to see how they work.
</p>
<p>
In this tutorial we'll learn how to program in "h" by writing a program that makes
Herbert go around in a square. We'll start out with a simple solution and then show
how procedures and parameters can be used to simplify and/or generalize the solution.
</p>
<p>
Our first task is to program Herbert to go around in a square 5 units per edge,
and then end in the same position and facing the same direction in which he started.
</p>
<p>
The tutorial consists of a single level (level 0) which is free of buttons and obstructions.
Go to the Options menu, turn on "trace", and make sure "Path" is enabled, so you
can better see what your program is doing. At any time during this tutorial, feel
free to adjust Herbert's speed by using the scroll bar on the bottom of the Herbert
window. To watch a program more carefully, you may halt it at any time by choosing
"Halt" from the "Run" menu, pressing the Halt (Pause) toolbar button, or simply
clicking anywhere in the text area. You can also place a vertical bar "|" (a breakpoint)
at the point in the program where you want it to stop. Once the program is halted,
you can start stepping through the program one command at a time ("Step" in the
"Run" menu or on the toolbar), resume execution ("Resume"), or reset Herbert to
his starting position ("Reset").
</p>
<p>
Type the following into the program text area:
</p>
<blockquote>
<p>
<strong>sssssrsssssrsssssrsssssr</strong>
</p>
</blockquote>
<p>
Now choose "Go" from the "Run" menu. Note that "s" makes Herbert go forward one
unit, while "r" makes him turn one-quarter turn to the right. As you might guess,
"l" (the letter "ell") would make him turn one-quarter turn to the left. These three
commands are the only ones Herbert understands.
</p>
<p>
Now reset Herbert by choosing "Reset" from the "Run" menu (or simply go ahead and
edit the program; Herbert will be automatically reset on your first edit) and try:
</p>
<blockquote>
<p>
<strong>a:sssssr</strong><br>
<strong>aaaa</strong></p>
</blockquote>
<p>
Here you've defined a procedure called "a", which does "sssssr" whenever called.
By calling it four times in a row, this is effectively the same as the first example,
but it's a smaller program; 11 bytes versus 24. Any single lowercase letter is legal
as a procedure name (except for "s", "r", and "l" which already mean something to
Herbert).
</p>
<p>
Even simpler is:
</p>
<blockquote>
<p>
<strong>a:sssssra</strong><br>
<strong>a</strong></p>
</blockquote>
<p>
Here "a" does "sssssr" as before, and then calls itself (which then does "sssssr"
and calls itself ...). When a procedure calls itself, this is called "recursion".
This example is an infinite recursion; Herbert doesn't stop when he's done with
the square. There is no problem with this in itself, since Herbert has an infinite
stack, but you can stop him if you want by choosing "Halt" on the "Run" menu. You
may wish to limit the depth of the recursion in the program itself if, for instance,
you wanted him to do something else after he's gone around in a square. To do this
you must use a parameter:
</p>
<blockquote>
<p>
<strong>a(A):sssssra(A-1)</strong><br>
<strong>a(4)</strong></p>
</blockquote>
<p>
Parameters are always single uppercase letters. When a procedure with parameters
is called, you must supply "arguments" for each parameter (here the argument for
"A" is initially 4, then 3, then 2, etc.). The rule with arguments in "h" is that
if any numeric argument in a procedure call evaluates to 0 or less, the call is
not made.
</p>
<p>
You can also use a second parameter to vary the size of the square.
</p>
<blockquote>
<p>
<strong>a(A,B):f(B)ra(A-1,B)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>a(4,5)</strong></p>
</blockquote>
<p>
Now change the "5" to "8" and see what happens. Study the procedure "f" here (we've
used the letter "f" to stand for "forward"). This procedure is a very important
one and will appear time and time again in your solutions.
</p>
<p>
Parameters can be supplied with "procedural" arguments as well as numeric ones.
try:
</p>
<blockquote>
<p>
<strong>a(A,B,C):f(B)Ca(A-1,B,C)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>a(4,5,r)</strong></p>
</blockquote>
<p>
Then, try changing the "r" to an "l" (ell).
</p>
<p>
That's all there is to it! For more practice with "h", try the following variations
of our square program. What does each one do?
</p>
<blockquote>
<p>
<strong>a(A,B,C):f(B)Ca(A-1,B,C)</strong><br>
<strong>b(A):a(4,5,r)lb(A-1)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>b(4)</strong></p>
<p>
<strong>a(A,B,C):f(B)Ca(A-1,B,C)</strong><br>
<strong>b(A):a(4,A,r)b(A-1)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>b(10)</strong></p>
<p>
<strong>a(A,B,C):f(B)Ca(A-1,B,C)</strong><br>
<strong>b(A):a(2,11-A,r)b(A-1)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>b(10)</strong></p>
<p>
<strong>a(A,B,C):f(B)Ca(A-1,B,C)</strong><br>
<strong>f(A):sf(A-1)</strong><br>
<strong>a(4,5,rslsr)</strong></p>
</blockquote>
<br>
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="headertitlesubtopic" style="width: 100%;">
Limitations and Advanced Techniques</td>
</tr>
<tr>
<td colspan="2">
Herbert is a pretty capable robot, but he does have his limits:
<ul>
<li>"h" programs can be a maximum of 999 characters (including special characters and
digits). Your program can have a maximum of 15 lines, and each line can have a maximum
of 127 characters (excluding the function prototype; that is, including everything
after the ":").<br>
</li>
<li>Numbers are limited to the range between -2<sup>8</sup> and +2<sup>8</sup> - 1 (-256
to 255). You will receive a runtime error if a numeric argument evaluates to a number
outside this range.<br>
</li>
<li>Herbert's stack is circular and is 64K. For a procedure call, the size of each stack
frame is 4 * (1 + number of arguments). For evaluating procedural arguments, a stack
frame of size 8 is used. What this means in practice is that programs that recur
infinitely, without returning, and without nested procedural arguments, can run
forever. Other programs are limited to a maximum call depth of approximately 2,000
calls (depending on the number of arguments being passed). You will receive a runtime
error if you attempt to return from a call stack which exceeds this size.<br>
</li>
<li>There is no inherent time limit to running Herbert programs. Keep in mind, however,
that your score will be based on the number of buttons pressed (and score uploaded)
by the end of the contest.<br>
</li>
<li>Level 0, in both the tutorial and full version of Herbert, is a practice level.
Programs left on this level are not saved or restored across program sessions.</li>
</ul>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
function LaunchHerbert()
{
var strUrl = '../../Herbert.application?sdi=0';
window.location.href = strUrl;
var topPos = (screen.height / 2) - 120;
var leftPos = (screen.width / 2) - 190;
var propertyString = 'alwaysRaised=yes,width=380,height=240,left='+leftPos+',top='+topPos;
window.open("../HerbertAnimation.aspx",'HerbertAnimation',propertyString).focus();
}
</script>
</td>
</tr>
<tr>
<td colspan="2" class="headertitlesubtopic" style="white-space: nowrap;">©Copyright 2005-2008 Wild Noodle. All Rights Reserved.</td>
</tr>
</tbody></table>
</td></tr></tbody></table></div></form></body></html>