-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
602 lines (546 loc) · 29 KB
/
index.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
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
<html>
<head>
<link rel=StyleSheet href="style.css" type="text/css">
<script type='text/javascript' src='lib/jquery.js'></script>
<script type='text/javascript' src='lib/jquery.timers-1.2.js'></script>
<script type='text/javascript' src='runtime.js'></script>
<script type='text/javascript' src='parser.js'></script>
<script type='text/javascript' src='things.js'></script>
<script type='text/javascript' src='ui.js'></script>
<script type='text/javascript' src='media.js'></script>
<script type='text/javascript' src='levels.js'></script>
<script type='text/javascript' src='scenes.js'></script>
<script type='text/javascript' src='text.js'></script>
<script type='text/javascript' src='intro.js'></script>
<script type='text/javascript' src='experiment.js'></script>
<!-- This must be last, since it assumes all of the above scripts are loaded -->
<script type='text/javascript' src='initialize.js'></script>
<title>Gidget</title>
</head>
<body>
<div id='container'>
<div id='titleBar'>
<span id="levelTitle"></span>
<span id="titleRight">
<span><span id='passed'></span> levels passed | </span>
<span>total bonus <span id='bonus'>0.00</span> | </span>
<span><button id='quit' onclick='if(GIDGET.ui.getNumberOfLevelsPassed() > 0) {$("#quitConfirm").show();} else $("#noCodeYet").show();' title='Pressing this button will quit the game and give you your MTurk code.'>Quit & receive MTurk code</button></span>
</span>
</div>
<div id='content'>
<!-- LEFT PANEL -->
<div id='leftPanel'>
<div id='instructionsContainer'>
<div>
<h2 title="Instructional code where you can view and modify Gidget's instructional code." style="display:inline-block;">instructions</h2><span id='commandReset'><button id='reset' onclick='hideToolTip(); GIDGET.ui.setCodeToWorldDefault();' title="Pressing this will reset the code to its original state and restart the level.">restore original instructions</button></span><button id='toggleCheatsheet'><b>?</b></button>
</div>
<div id='codeMissionContainer'>
<div id='cheatsheet'>
<div id='cheat-scan' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>scan </span><span class='sourceToken identifier'>thing</span></div>
<div class='cheatsheetExplanation'>Enables Gidget to <span class='sourceToken keyword'>goto</span> a thing.</div>
</div>
<div id='cheat-goto' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>goto </span><span class='sourceToken identifier'>thing </span><span class='sourceToken optional'>avoid thing</span></div>
<div class='cheatsheetExplanation'>Moves Gidget to all of the things matching the name <span class='sourceToken identifier'>thing</span>. If a thing to avoid is supplied, Gidget tries to find a path that avoids things with the given name.</div>
</div>
<div id='cheat-ask' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>ask </span><span class='sourceToken identifier'>thing</span> <span class='sourceToken keyword'>to </span><span class='sourceToken identifier'>action </span><span class='sourceToken optional'>things...</span></div>
<div class='cheatsheetExplanation'>Causes thing to perform an action.</div>
</div>
<div id='cheat-analyze' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>analyze </span><span class='sourceToken identifier'>thing</span></div>
<div class='cheatsheetExplanation'>Enables Gidget to ask a thing to perform an action.</div>
</div>
<div id='cheat-grab' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>grab </span><span class='sourceToken identifier'>thing</span></div>
<div class='cheatsheetExplanation'>Enables Gidget to move with a thing.</div>
</div>
<div id='cheat-drop' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>drop </span><span class='sourceToken identifier'>thing</span></div>
<div class='cheatsheetExplanation'>Stops grabbing a thing.</div>
</div>
<div id='cheat-if' class='cheatsheetItem'>
<div class='sourceLine'><span class='sourceToken keyword'>if </span><span class='sourceToken identifier'>thing </span><span class='sourceToken keyword'>is(n't) </span><span class='sourceToken identifier'>aspect</span>, ...</div>
<div class='cheatsheetExplanation'>Only executes step if the thing has the specified aspect.</div>
</div>
</div>
<div id='code' class='codeContainer' contentEditable='true'></div>
<div id='mission'><div id='missionText'></div><button id='missionDismiss' onclick='$("#mission").animate({opacity:0.0}, 500, function() { $(this).hide().css("opacity",1.0); });'>I'm ready to help!</button></div>
</div>
<!-- End of instructions container -->
</div>
<!--<h2 title="This is the area where you can see the set goals required to complete the level.">Goals</h2>-->
<div id='goals' class='infoPanel'></div>
<!-- Learner's Thought Bubble -->
<div id='learnerThought' class='bubbleText'></div>
</div>
<!-- CENTER PANEL -->
<div id='centerPanel'>
<div id='worldContainer'>
<h2 title="This is the area where you can see Gidget out in the field.">World</h2>
<div class='thoughtBubbleThing' id='thingThought'></div>
<canvas id='grid' width='300' height='300' title="This is Gidget's world! You can give him commands by editing the code in the left panel, and communicate with him in the panels below!"></canvas>
</div>
<!-- Gidget's Thought Bubble -->
<div id='gidgetThought' class='bubbleText'></div>
</div>
<!-- RIGHT PANEL -->
<div id='rightPanel'>
<h2 id="memoryBoxHeading" title="This is the area where you can see Gidget's energy level and memory banks."></h2>
<div id='memory' class='infoPanel'>
<h2 title="This is Gidget's current energy. Gidget cannot continue if it gets to zero."><span id='energy'></span></h2>
<h3 title="This shows currently 'scanned' objects in Gidget's memory banks.">Scanned</h3>
<div class='runtimeInfoContainer' id='scanned'></div>
<h3 title="This shows currently 'analyzed' objects in Gidget's memory banks.">Analyzed</h3>
<div class='runtimeInfoContainer' id='analyzed'></div>
<h3 title="This shows objects that are currently 'grabbed' by Gidget.">Grabbed</h3>
<div class='runtimeInfoContainer' id='grabbed'></div>
<h3 title="This shows objects that Gidget is currently 'focused' on.">Focus</h3>
<div class='runtimeInfoContainer' id='focused'></div>
<h3 title="This shows objects that Gidget is currently examining.">Results</h3>
<div class='runtimeInfoContainer' id='results'></div>
</div>
<!-- Forces container to fit to height -->
<div style="clear: both;"></div>
<!-- End content -->
</div>
<div style="clear: both;"></div>
</div>
</div>
<div class='popup' id='quitResults'></div>
<div class='popup' id='noCodeYet'>
<p>You will not receive an MTurk code until you've completed at least the first level.</p>
<button onclick='$("#noCodeYet").hide();'>Okay</button>
</div>
<div class='popup' id='chooseAvatar'>
<h2>Choose Your Avatar</h2>
<p>Please click on the image you would like to represent yourself in the game.</p>
<table style="margin-left: auto; margin-right: auto; height: 4em;"><tr>
<td style="width: 5em;"><img src="media/male.default.png" id="setAvatarMale" style="padding: .75em" /></td>
<td style="width: 5em;"><img src="media/female.default.png" id="setAvatarFemale" style="padding: .75em" /></td>
<td style="width: 5em;"><img src="media/experimental.default.png" id="setAvatarExp" style="padding: .75em" /></td>
</tr></table>
</div>
<div class='popup' id='quitConfirm'>
<h2>Quit & Receive MTurk Code</h2>
<p>Are you sure you want to quit?</p><p>You will receive your MTurk code but you <b>will not be able to return</b> to play the game.</p>
<p class='align-right'>
<button onclick='$("#quitConfirm").hide()'>No, I do not want to quit</button>
<button onclick='$("#quitConfirm").hide(); $("#toggleCheatsheet").hide(); $("#postSurvey").show()'>Yes, I want to quit</button>
</p>
</div>
<div class='popup' id='postSurvey'>
<h2>Survey</h2>
<form id="postQuiz" name="postQuiz" onsubmit='GIDGET.ui.quit("Okay.");return false;'>
<table>
<tr>
<td valign="middle" ><b>1) Are you male or female?</b><br />
<input type="radio" name="gender" value="male" /> Male<br />
<input type="radio" name="gender" value="female" /> Female<br />
<input type="radio" name="gender" value="unspecified" /> Prefer not to say
</td>
</tr>
<tr>
<td valign="middle" ><b>2) What is your age?</b><br />
<p>
<label>
<input name="age" type="text" id="age" size="2" maxlength="2" />
</label>
years old</p>
</td>
</tr>
<tr>
<td valign="middle"><b>3) In which country do you currently reside?</b></br>
<p>
<select name="country" id="country" size="1">
<option value="" selected="selected">-- Select Here --</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Aland Islands">Aland Islands</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<option value="American Samoa">American Samoa</option>
<option value="Andorra">Andorra</option>
<option value="Angola">Angola</option>
<option value="Anguilla">Anguilla</option>
<option value="Antarctica">Antarctica</option>
<option value="Antigua and Barbuda">Antigua and Barbuda</option>
<option value="Argentina">Argentina</option>
<option value="Armenia">Armenia</option>
<option value="Aruba">Aruba</option>
<option value="Australia">Australia</option>
<option value="Austria">Austria</option>
<option value="Azerbaijan">Azerbaijan</option>
<option value="Bahamas">Bahamas</option>
<option value="Bahrain">Bahrain</option>
<option value="Bangladesh">Bangladesh</option>
<option value="Barbados">Barbados</option>
<option value="Belarus">Belarus</option>
<option value="Belgium">Belgium</option>
<option value="Belize">Belize</option>
<option value="Benin">Benin</option>
<option value="Bermuda">Bermuda</option>
<option value="Bhutan">Bhutan</option>
<option value="Bolivia">Bolivia</option>
<option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
<option value="Botswana">Botswana</option>
<option value="Bouvet Island">Bouvet Island</option>
<option value="Brazil">Brazil</option>
<option value="British Indian Ocean territory">British Indian Ocean territory</option>
<option value="Brunei Darussalam">Brunei Darussalam</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cambodia">Cambodia</option>
<option value="Cameroon">Cameroon</option>
<option value="Canada">Canada</option>
<option value="Cape Verde">Cape Verde</option>
<option value="Cayman Islands">Cayman Islands</option>
<option value="Central African Republic">Central African Republic</option>
<option value="Chad">Chad</option>
<option value="Chile">Chile</option>
<option value="China">China</option>
<option value="Christmas Island">Christmas Island</option>
<option value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
<option value="Colombia">Colombia</option>
<option value="Comoros">Comoros</option>
<option value="Congo">Congo</option>
<option value="Congo Democratic Republic">Congo, Democratic Republic</option>
<option value="Cook Islands">Cook Islands</option>
<option value="Costa Rica">Costa Rica</option>
<option value="Ivory Coast">Cote d'Ivoire (Ivory Coast)</option>
<option value="Croatia (Hrvatska)">Croatia (Hrvatska)</option>
<option value="Cuba">Cuba</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Djibouti">Djibouti</option>
<option value="Dominica">Dominica</option>
<option value="Dominican Republic">Dominican Republic</option>
<option value="East Timor">East Timor</option>
<option value="Ecuador">Ecuador</option>
<option value="Egypt">Egypt</option>
<option value="El Salvador">El Salvador</option>
<option value="Equatorial Guinea">Equatorial Guinea</option>
<option value="Eritrea">Eritrea</option>
<option value="Estonia">Estonia</option>
<option value="Ethiopia">Ethiopia</option>
<option value="Falkland Islands">Falkland Islands</option>
<option value="Faroe Islands">Faroe Islands</option>
<option value="Fiji">Fiji</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="French Guiana">French Guiana</option>
<option value="French Polynesia">French Polynesia</option>
<option value="French Southern Territories">French Southern Territories</option>
<option value="Gabon">Gabon</option>
<option value="Gambia">Gambia</option>
<option value="Georgia">Georgia</option>
<option value="Germany">Germany</option>
<option value="Ghana">Ghana</option>
<option value="Gibraltar">Gibraltar</option>
<option value="Greece">Greece</option>
<option value="Greenland">Greenland</option>
<option value="Grenada">Grenada</option>
<option value="Guadeloupe">Guadeloupe</option>
<option value="Guam">Guam</option>
<option value="Guatemala">Guatemala</option>
<option value="Guinea">Guinea</option>
<option value="Guinea-Bissau">Guinea-Bissau</option>
<option value="Guyana">Guyana</option>
<option value="Haiti">Haiti</option>
<option value="Heard and McDonald Islands">Heard and McDonald Islands</option>
<option value="Honduras">Honduras</option>
<option value="Hong Kong">Hong Kong</option>
<option value="Hungary">Hungary</option>
<option value="Iceland">Iceland</option>
<option value="India">India</option>
<option value="Indonesia">Indonesia</option>
<option value="Iran">Iran</option>
<option value="Iraq">Iraq</option>
<option value="Ireland">Ireland</option>
<option value="Israel">Israel</option>
<option value="Italy">Italy</option>
<option value="Jamaica">Jamaica</option>
<option value="Japan">Japan</option>
<option value="Jordan">Jordan</option>
<option value="Kazakhstan">Kazakhstan</option>
<option value="Kenya">Kenya</option>
<option value="Kiribati">Kiribati</option>
<option value="Korea (north)">Korea (North)</option>
<option value="Korea (south)">Korea (South)</option>
<option value="Kuwait">Kuwait</option>
<option value="Kyrgyzstan">Kyrgyzstan</option>
<option value="Lao Peoples Democratic Republic">Lao People's Democratic Republic</option>
<option value="Latvia">Latvia</option>
<option value="Lebanon">Lebanon</option>
<option value="Lesotho">Lesotho</option>
<option value="Liberia">Liberia</option>
<option value="Libyan Arab Jamahiriya">Libyan Arab Jamahiriya</option>
<option value="Liechtenstein">Liechtenstein</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Macao">Macao</option>
<option value="Macedonia Former Yugoslav Republic Of">Macedonia, Former Yugoslav Republic Of</option>
<option value="Madagascar">Madagascar</option>
<option value="Malawi">Malawi</option>
<option value="Malaysia">Malaysia</option>
<option value="Maldives">Maldives</option>
<option value="Mali">Mali</option>
<option value="Malta">Malta</option>
<option value="Marshall Islands">Marshall Islands</option>
<option value="Martinique">Martinique</option>
<option value="Mauritania">Mauritania</option>
<option value="Mauritius">Mauritius</option>
<option value="Mayotte">Mayotte</option>
<option value="Mexico">Mexico</option>
<option value="Micronesia">Micronesia</option>
<option value="Moldova">Moldova</option>
<option value="Monaco">Monaco</option>
<option value="Mongolia">Mongolia</option>
<option value="Montenegro">Montenegro</option>
<option value="Montserrat">Montserrat</option>
<option value="Morocco">Morocco</option>
<option value="Mozambique">Mozambique</option>
<option value="Myanmar">Myanmar</option>
<option value="Namibia">Namibia</option>
<option value="Nauru">Nauru</option>
<option value="Nepal">Nepal</option>
<option value="Netherlands">Netherlands</option>
<option value="Netherlands Antilles">Netherlands Antilles</option>
<option value="New Caledonia">New Caledonia</option>
<option value="New Zealand">New Zealand</option>
<option value="Nicaragua">Nicaragua</option>
<option value="Niger">Niger</option>
<option value="Nigeria">Nigeria</option>
<option value="Niue">Niue</option>
<option value="Norfolk Island">Norfolk Island</option>
<option value="Northern Mariana Islands">Northern Mariana Islands</option>
<option value="Norway">Norway</option>
<option value="Oman">Oman</option>
<option value="Pakistan">Pakistan</option>
<option value="Palau">Palau</option>
<option value="Palestinian Territories">Palestinian Territories</option>
<option value="Panama">Panama</option>
<option value="Papua New Guinea">Papua New Guinea</option>
<option value="Paraguay">Paraguay</option>
<option value="Peru">Peru</option>
<option value="Philippines">Philippines</option>
<option value="Pitcairn">Pitcairn</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Puerto Rico">Puerto Rico</option>
<option value="Qatar">Qatar</option>
<option value="Reunion">Reunion</option>
<option value="Romania">Romania</option>
<option value="Russian Federation">Russian Federation</option>
<option value="Rwanda">Rwanda</option>
<option value="Saint Helena">Saint Helena</option>
<option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
<option value="Saint Lucia">Saint Lucia</option>
<option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
<option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
<option value="Samoa">Samoa</option>
<option value="San Marino">San Marino</option>
<option value="Sao Tome and Principe">Sao Tome and Principe</option>
<option value="Saudi Arabia">Saudi Arabia</option>
<option value="Senegal">Senegal</option>
<option value="Serbia">Serbia</option>
<option value="Seychelles">Seychelles</option>
<option value="Sierra Leone">Sierra Leone</option>
<option value="Singapore">Singapore</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Solomon Islands">Solomon Islands</option>
<option value="Somalia">Somalia</option>
<option value="South Africa">South Africa</option>
<option value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
<option value="Spain">Spain</option>
<option value="Sri Lanka">Sri Lanka</option>
<option value="Sudan">Sudan</option>
<option value="Suriname">Suriname</option>
<option value="Svalbard and Jan Mayen Islands">Svalbard and Jan Mayen Islands</option>
<option value="Swaziland">Swaziland</option>
<option value="Sweden">Sweden</option>
<option value="Switzerland">Switzerland</option>
<option value="Syria">Syria</option>
<option value="Taiwan">Taiwan</option>
<option value="Tajikistan">Tajikistan</option>
<option value="Tanzania">Tanzania</option>
<option value="Thailand">Thailand</option>
<option value="Togo">Togo</option>
<option value="Tokelau">Tokelau</option>
<option value="Tonga">Tonga</option>
<option value="Trinidad and Tobago">Trinidad and Tobago</option>
<option value="Tunisia">Tunisia</option>
<option value="Turkey">Turkey</option>
<option value="Turkmenistan">Turkmenistan</option>
<option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
<option value="Tuvalu">Tuvalu</option>
<option value="Uganda">Uganda</option>
<option value="Ukraine">Ukraine</option>
<option value="United Arab Emirates">United Arab Emirates</option>
<option value="United Kingdom">United Kingdom</option>
<option value="USA">United States of America</option>
<option value="Uruguay">Uruguay</option>
<option value="Uzbekistan">Uzbekistan</option>
<option value="Vanuatu">Vanuatu</option>
<option value="Vatican City">Vatican City</option>
<option value="Venezuela">Venezuela</option>
<option value="Vietnam">Vietnam</option>
<option value="Virgin Islands (British)">Virgin Islands (British)</option>
<option value="Virgin Islands (US)">Virgin Islands (US)</option>
<option value="Wallis and Futuna Islands">Wallis and Futuna Islands</option>
<option value="Western Sahara">Western Sahara</option>
<option value="Yemen">Yemen</option>
<option value="Zaire">Zaire</option>
<option value="Zambia">Zambia</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
</p>
</td>
</tr>
<tr>
<td valign="middle"><b>4) What is the highest level of education you have <i>completed?</i></b><br />
<select name="education">
<option value="" selected="selected">-- Select Here --</option>
<option value="lessHighschool"> Less than High School </option>
<option value="highschool"> High School/GED </option>
<option value="someCollege"> Some College </option>
<option value="associates"> 2-Year College Degree (Associates) </option>
<option value="bachelors"> 4-Year College Degree (BA, BS) </option>
<option value="masters"> Master's Degree </option>
<option value="doctorate"> Doctoral Degree (PhD, EdD) </option>
<option value="professional"> Professional Degree (MD, JD, PharmD) </option>
</select></td>
</tr>
<tr>
<td valign="middle"><b>5) Prior to playing this game (check all that apply)</b>:
<p>
<label>
<input name="experience1" type="checkbox" value="webCourse" />
I have taken a website design course</label>
</p>
<p>
<label>
<input name="experience2" type="checkbox" value="csCourse" />
I have taken a computer programming course</label>
</p>
<p>
<label>
<input name="experience3" type="checkbox" value="madeWebsite" />
I have made a website from scratch</label>
</p>
<p>
<label>
<input name="experience4" type="checkbox" value="customizedWebsite" />
I have modified or customized an existing webpage using HTML and/or CSS (e.g. myspace)</label>
</p>
<p>
<label>
<input name="experience5" type="checkbox" value="madeSimpleProgram" />
I have written a simple computer program</label>
</p>
<p>
<label>
<input name="experience6" type="checkbox" value="madeApplication" />
I have written or contributed to developing software</label>
</p></td>
</tr>
<tr>
<td valign="middle"><p><b>6) I enjoyed playing the game.</b></p>
<p>
<input type="radio" name="enjoyment" value="2" /> Strongly Agree<br />
<input type="radio" name="enjoyment" value="1" /> Agree<br />
<input type="radio" name="enjoyment" value="0" /> Undecided <br />
<input type="radio" name="enjoyment" value="-1" /> Disagree <br />
<input type="radio" name="enjoyment" value="-2" /> Strongly Disagree</p></td>
</tr>
<tr>
<td valign="middle"><p><b>7) I would recommend this game to a friend wanting to learn programming.</b></p>
<p>
<input type="radio" name="recommend" value="2" /> Strongly Agree<br />
<input type="radio" name="recommend" value="1" /> Agree<br />
<input type="radio" name="recommend" value="0" /> Undecided <br />
<input type="radio" name="recommend" value="-1" /> Disagree <br />
<input type="radio" name="recommend" value="-2" /> Strongly Disagree</p></td>
</tr>
<tr>
<td valign="middle"><p><b>8) I wanted to help Gidget succeed.</b></p>
<p>
<input type="radio" name="helpGidget" value="2" /> Strongly Agree<br />
<input type="radio" name="helpGidget" value="1" /> Agree<br />
<input type="radio" name="helpGidget" value="0" /> Undecided <br />
<input type="radio" name="helpGidget" value="-1" /> Disagree <br />
<input type="radio" name="helpGidget" value="-2" /> Strongly Disagree</p></td>
</tr>
<tr>
<td valign="middle"><p><b>9) Describe your feelings about the dialogue between yourself and Gidget.</b></p>
<p>
<textarea name="freeDialogue" cols="50" rows="10"></textarea>
<br>
</p>
</td>
</tr>
<tr>
<td valign="middle"><p><b>10) Describe your feelings towards Gidget's avatar (image)?</b></p>
<p>
<textarea name="freeAvatar" cols="50" rows="10"></textarea>
<br>
</p>
</td>
</tr>
<tr>
<td valign="middle" ><p><b>11) How was this learning experience different, if at all, from any previous experience you have had dealing with programming?</b></p>
<p>
<textarea name="freeExperience" cols="50" rows="10"></textarea>
<br>
</p>
</td>
</tr>
<tr>
<td valign="middle" ><p><b>12) Are there any particular factors that influenced your decision to quit the game? If so, what are they? </b></p>
<p>
<textarea name="freeQuit" cols="50" rows="10"></textarea>
<br>
</p>
</td>
</tr>
<tr>
<td valign="middle" ><p><b>13) Are there any particular factors that kept you playing or would have kept you playing the game longer? If so, what are they?</b></p>
<p>
<textarea name="freeMore" cols="50" rows="10"></textarea>
<br>
</p>
</td>
</tr>
<tr>
<td valign="middle" ><label>
<input class="align-right" type="submit" name="submit" id="submit" value="Submit and receive MTurk code" />
</label></td>
</tr>
</table>
</form>
</div>
<div class='introBox' id='introTextBox'>
<p>Welcome to the world of Gidget! Your mission, if you choose to accept it, is to help the robot Gidget with the cleanup process from a major disaster.</p><p>A rural <b><em>goop</em></b> factory has gone out of control and is spewing goops all around the countryside. Goop is highly toxic to humans, so all the residents have been evacuated from the area. Your job, from the safety of mission control, is to <b>communicate with Gidget</b> to clean up the goop, rescue any stranded animals, and ultimately shut down the goop factory.</p><p>Unfortunately, there was an <b>accident</b> while transporting Gidget to the disaster site and his logic chip and battery are <b>malfunctioning</b>. It is up to you to figure out how to help Gidget complete his missions!</p>
<div style='text-align:right'><button id='closeIntro'>Let's get started!</button></div>
<!-- <canvas id='introCanvas' width='480' height='480'></canvas> -->
</div>
<div class='popup' id='finishedLevels'>
<h2>success!</h2>
<p>Congratulations, you have helped Gidget complete all the missions!</p>
<button onclick='$("#finishedLevels").hide(); $("#toggleCheatsheet").hide(); $("#postSurvey").show()'>Take survey and receive MTurk code.</button>
</div>
<div class='popup' id='debug'>
<h2>Debug Menu</h2>
<p><button id='playIntro'>play intro</button></p>
<p>Choose a level:<br /><select id='levels'></select> <button id='gotoNextLevel'>next</button><br /><button id='clearLocalStorage'>Reset progress</button></p>
<p>Condition: </p>
<p><button id='setCondControl'>control</button> <button id='setCondMale'>♀</button> <button id='setCondFemale'>♂</button> <button id='setCondExp'>E</button></p>
</div>
<div class='popup' id='loadingIntro'>
<div class='progress'></div>
</div>
</body>
</html>