-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathindex.html
2254 lines (2069 loc) · 87.6 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
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<title>Armor Alley: Remastered</title>
<meta charset="UTF-8" />
<meta name="description" content='"Armor Alley: Remastered" - a web browser version of the RTS-style "Armor Alley" game originally released for Macintosh and MS-DOS computers.' />
<meta name="keywords" content="Armor Alley, JavaScript, HTML, DHTML, multiplayer, network browser game, animation, CSS3, arcade, retro, browser game, MS-DOS, Macintosh Plus, Mac Classic" />
<meta name="author" content="Scott Schiller" />
<link rel="shortcut icon" href="image/app-icons/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="image/app-icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="image/app-icons/favicon-16x16.png" />
<link rel="preload" href="image/armor-alley-wordmark-colour.webp" as="image" />
<link rel="preload" href="font/sysfont/sysfont.woff2" as="font" crossorigin="anonymous" />
<link rel="manifest" href="manifest.json" />
<link rel="mask-icon" href="image/app-icons/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" content="#000000" />
<meta name="application-name" content="Armor Alley: Remastered" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@schill" />
<meta property="twitter:creator" content="@schill" />
<meta property="twitter:domain" content="play.armor-alley.net" />
<meta property="og:title" content="Armor Alley" />
<meta property="og:url" content="https://play.armor-alley.net" />
<meta property="og:description" content='An online version of the RTS-style "Armor Alley" game originally released for Macintosh and MS-DOS computers.' />
<meta property="og:image" content="https://play.armor-alley.net/image/app-images/armor-alley_game_image_1920x1080.png" />
<meta property="og:image:width" content="1920" />
<meta property="og:image:height" content="1080" />
<!--
████▙ ▀████▌████▙ ▀█████ █████▀ ▄██████▄ ▀████▌████▙ ████▙ ▀█████▀ ▀█████▀ ▀████▐███▋▀█████▀ ▀█████▀ TM
▄██▀ ▕█████▏ ████▌ ████▌ ▐████▌ ████▌ ████▎▐███▊ ████▌ ████▌ █████▏ █████ █████ ████ ▝██▋ ▝████ ▐███▘
▄█▀ ▐▐████▎ ████▌ ████▌ █████ ▌████▌▐███▊ ████▏████▌ ████▌ ▐▐████▎ █████ █████ ████ ▝▋ ▝███▙ ▗███▘
▄████▄▄▄▄▄▄▄▄▄ █▀▄▄▄▄▄▄▄▄▄▄▄ █▌████▋ ████▌▗████▘ ▌█████▌████▌████▊ ████▌████▌▗████▘ █▌████▋ █████ █████ ████ ▗█▌ ▝███▙▝█▘
▄█████▄▄▄▄ ▀▀▀ ▐█▌▐████ ████▌████▘ ▌█████▌████▌████▊ ████▌████▌████▘ ▐█▌▐████ █████ █████ ████▐██▌ ▐████▌
▄ ▄████████████████▄ ██ ▄████▎ ████▌▝███▙ █▐████ ████▌████▊ ████▌████▌▝███▙ ██ ▄████▎ █████ █████ ████ ▝█▌ ▐████▌
██ ▀████████████████████▄ ▐█▌██████▌ ████▌ ████▌ ▕█ ███▌ ████▌▐███▊ ████ ████▌ ████▌ ▐█▌██████▌ █████ ▗▋█████ ▗▋ ████ ▗▋ ▐████▌
▀███ ▄██████████████████████ ███ ▐████ ████▌ ████▌▗▋▐█ ▐██ ████▌ ████▎▐███▊ ████▌ ████▌▗▋ ███ ▐████ █████ ▗██▌█████ ▗██▌ ████ ▗██▌ ▐████▌
████▄▄███████████████████████▀ ▄███▄ ▄████▌▄█████▄▀████▀▄██▄ █▌ ▄█████▄ ▀██████▀ ▄█████▄▀████▀ ▄███▄ ▄████▌▄█████▐████▌█████▌████▌▄████▐███▌ ▄██████▄
████████▀▀▀▀▀▀▀▀████▀█▀▀▀▀█▀
██▀ ██▘▘ ██▘▘
---------------------------------------------
A R M O R A L L E Y :: R E M A S T E R E D
--------- 10th Anniversary Edition ----------
A browser-based interpretation of the Macintosh + MS-DOS releases of Armor Alley.
Online game
https://armor-alley.net/
Quick video overview (3m 45s)
https://youtu.be/oYUCUvg02rY
Source code
https://github.com/scottschiller/ArmorAlley/
Original development and history (2013)
https://www.schillmania.com/content/entries/2013/armor-alley-web-prototype/
Original game Copyright (C) 1989 - 1991 Information Access Technologies.
https://en.wikipedia.org/wiki/Armor_alley
Images, text and other portions of the original game used with permission under an ISC license.
Original sound effects could not be re-licensed; modern replacements used from freesound.org.
New game provided under the Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) License:
https://creativecommons.org/licenses/by-nc/3.0/
General disclaimer: This is a fun personal side project. The code could be tightened up a bit.
This release: V2.01.20230520
Previous release: V1.6.20220201
Original release: V1.0.20131031
For revision history, see README.md and CHANGELOG.txt.
-->
<!-- full-bleed in iOS landscape view, including the notch -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<!-- required for iOS Safari full-screen, "add to home screen" (hiding URL bar etc.) -->
<!-- https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Armor Alley: Remastered" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-startup-image" href="image/app-images/armor_alley_game_image_512x512.png" />
<!-- all kinds of icons -->
<link rel="apple-touch-icon" sizes="72x72" href="image/app-icons/favicon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="image/app-icons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="120x120" href="image/app-icons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="152x152" href="image/app-icons/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="image/app-icons/apple-touch-icon-180x180.png" />
<script>
(() => {
let v;
// "version" string, for CSS + JS assets.
// comment out this line if you are getting 404s, etc.
v = '.V20230607';
/**
* ARMOR ALLEY: "Boot loader" - production bundle vs. development source.
* Try ?dev=1 if you want to see the unminified, raw source JS + CSS.
* See README_DEVEL.md for more.
* https://github.com/scottschiller/ArmorAlley/
*/
function loadScript(src, type = 'module', async = false) {
let s = document.createElement('script');
if (type) s.type = type;
if (async) s.async = true;
s.onerror = (e) => {
// ignore if not local
if (new URL(s.src).hostname !== wl.hostname) return;
console.warn(
`loadScript(): ${src}${version} failed.${
version ? ' Will retry, dropping version string.' : ''
}`,
e
);
s.onerror = null;
s.remove();
s = null;
if (version) {
version = '';
loadScript(src, type, async);
// try the same for CSS.
loadCSS();
}
};
s.onload = () => {
console.log(`Loaded JS: ${src}${version}`);
s.onload = null;
s = null;
};
s.src = `${src}${version}`;
if (toAppend) {
// document still loading
toAppend.push(s);
} else {
// retry case
document?.head?.appendChild(s);
}
}
function loadCSS(
src = isProdSite || forceProd ? 'css/aa_min.css' : 'css/aa.css',
onload
) {
const id = 'aa-css';
document.getElementById(id)?.remove();
let link = document.createElement('link');
link.id = id;
link.rel = 'stylesheet';
link.media = 'screen';
link.onload = () => {
console.log(`Loaded CSS: ${src}${version}`);
onload?.();
link.onload = null;
link = null;
};
link.href = `${src}${version}`;
document.head?.appendChild(link);
}
function doAppend() {
if (!toAppend || !document.head) return;
try {
toAppend.forEach((s) => document.head.appendChild(s));
document.onreadystatechange = null;
toAppend = null;
} catch (e) {
console.warn('script append failed? :/');
}
}
const wl = window.location;
const isProdSite = !!wl.host.match(/armor-alley\.net/i);
const isLocalhost = !!wl.host.match(/localhost/i);
const sp = new URLSearchParams(wl.search);
const forceProd = sp.get('prod');
const dev = !forceProd && (sp.get('dev') || !isProdSite);
// e.g., ".V20230520"
let version = (dev || isLocalhost) && !forceProd ? '' : v || '';
// JS + CSS nodes
let toAppend = [];
console.log(
'🚁 ARMOR ALLEY: using ' +
(dev
? 'development JS.'
: `production JS build, ${
version.length ? version.substr(1) : '[none]'
}. Try ?dev=1 for the full source with comments.`)
);
function ga() {
// google analytics, only for armor-alley.net.
if (!wl.host.match(/armor-alley\.net/i)) return;
window.dataLayer = window.dataLayer || [];
window.gtag = function () {
dataLayer.push(arguments);
};
gtag('js', new Date());
gtag('config', 'G-XGW2TDDC6V');
let type = '',
async = true;
loadScript(
'https://www.googletagmanager.com/gtag/js?id=G-XGW2TDDC6V',
type,
async
);
}
if (dev) {
// load the unminified sources.
loadScript('script/aa.js');
} else {
loadScript('script/aa_main.js');
}
loadCSS();
ga();
// go go go!
doAppend();
// just in case: fallback method
document.onreadystatechange = doAppend;
})();
</script>
</head>
<!-- While running: Remove "game-paused" class to see the full game UI, or add nopause=1 to URL. -->
<body style="background: #000; overflow: hidden">
<!-- To reduce "Cumulative Layout Shift", initially hide until first resize / scale / layout. -->
<div id="aa" style="visibility: hidden">
<div id="world-wrapper">
<div id="pointer"></div>
<div id="level-preview"></div>
<div id="world">
<div id="world-overlay">
<div id="tv-title-screen" class="tv-display-title-screen" style="visibility: hidden">
<div class="tv-screen-container">
<div class="tv-noise-overlay"></div>
</div>
<div class="tv"></div>
</div>
<div id="logo">
<div id="mtv-bnb-in" style="visibility: hidden"></div>
<div id="bnb-vs" style="visibility: hidden"></div>
<h1>Armor Alley</h1>
<div id="game-menu" style="visibility: hidden">
<h2
id="game-subtitle"
title-bnb='Uh-huh huh huh huh... "Hard." Uh-huh huh huh huh. Heh heh, m-heh. Boioioioiiiiinnnngg.'
>
A modern remake of the classic 1990 Mac + PC game.
</h2>
<form
id="game-menu-form"
action="."
method="get"
onsubmit="return false"
>
<div
id="game-level-wrapper"
style="display: inline-block"
class="mac-classic"
>
<!-- <span>Level: </span> -->
<select id="game_level" name="level">
<optgroup label="New? Start here. 👇">
<option value="Tutorial">Tutorial</option>
</optgroup>
<optgroup label="Original Game Levels">
<option value="Cake Walk">Cake Walk</option>
<option value="One Gun">One Gun</option>
<option value="Sucker Punch">Sucker Punch</option>
<option value="Airborne">Airborne</option>
<option value="Two-Gun">Two-Gun</option>
<option value="Super Bunker">Super Bunker</option>
<option value="Scrapyard">Scrapyard</option>
<option value="Blind Spot">Blind Spot</option>
<option value="Wasteland">Wasteland</option>
<option value="Midnight Oasis">Midnight Oasis</option>
</optgroup>
<optgroup label="Network Game Levels">
<option value="Balloon Fun">Balloon Fun</option>
<option value="Cavern Cobra">Cavern Cobra</option>
<option value="Desert Sortie">Desert Sortie</option>
<option value="First Blood">First Blood</option>
<option value="Network Mania">Network Mania</option>
<option value="Rescue Raiders">Rescue Raiders</option>
<option value="Midpoint">Midpoint</option>
<option value="Slithy Toves">Slithy Toves</option>
<option value="Tanker's Demise">Tanker's Demise</option>
<option value="WindStalker">WindStalker</option>
<option value="Sandstorm">Sandstorm</option>
<option value="Rainstorm">Rainstorm</option>
</optgroup>
<!--
<optgroup label="Practice Levels">
<option value="Demo 1">Demo 1</option>
<option value="Demo 2">Demo 2</option>
<option value="Demo 3">Demo 3</option>
<option value="Demo 4">Demo 4</option>
</optgroup>
-->
</select>
</div>
<div style="position: relative;display: inline-block;margin-left: 0.5em;top: -1px">
<!-- <span>Difficulty: </span> -->
<ul
id="game-type-list"
class="inline-list less-bottom-spacing"
>
<li>
<label
for="radio_game_type_easy"
title="Get a van to the enemy base! (Easy mode.)"
>
<input
type="radio"
id="radio_game_type_easy"
name="game_type"
value="easy"
checked
/>
Easy 😁
</label>
</li>
<li>
<label
for="radio_game_type_hard"
title="Get a van to the enemy base! (Hard mode.)<br />More enemies, more often. Turrets fire faster, and can harm more units."
>
<input
type="radio"
id="radio_game_type_hard"
name="game_type"
value="hard"
/>
Hard 😰
</label>
</li>
<li>
<label
for="radio_game_type_extreme"
title="Get a van to the enemy base! (Extreme mode.) Even more enemies.<br />Aggressive turrets fire at many ground units and missiles, and can hit infantry. Owning all bunkers no longer stops enemy production."
>
<input
type="radio"
id="radio_game_type_extreme"
name="game_type"
value="extreme"
/>
Extreme 😱
</label>
</li>
</ul>
</div>
<label
for="checkbox-vs"
title='Virtual Stupidity: Play the game "with" two unruly, unlicensed teenagers.'
class="cta cta-checkbox"
>
<span class="checkbox-wrapper">
<input
id="checkbox-vs"
name="bnb"
type="checkbox"
value="1"
/>
</span>
🎸🤘
</label>
<div style="margin-top: 0.75em">
<button
type="button"
id="start-game-button"
data-action="start-game"
data-title="Play the original game, with a variety of levels and difficulties."
class="game-start large"
>
Start 🚁
</button>
<button
type="button"
id="game-options-button"
data-title="General settings. Access in-game via ESC or options link."
class="large"
>
Options 🛠️
</button>
<button
type="button"
id="start-editor-button"
data-action="start-editor"
data-title="Modify the currently-selected level.<br />*NOTE: Highly experimental."
value="editor"
class="large hide-on-mobile"
>
Editor* <span class="editor-icon">✏️</span>
</button>
<button
type="button"
id="start-network-game"
data-title="Play with your best friend, or against your worst enemy online.<br />*NOTE: Somewhat experimental."
value="network"
class="large network"
>
Network* <span class="network-icon"></span>
</button>
</div>
</form>
<p id="game-description">
Start the tutorial, or choose a level and difficulty.
</p>
</div>
<p id="mobile-tip">
This game works best on landscape / widescreen displays.
</p>
</div>
</div>
<div id="top-bar">
<div id="game-status-bar">
<div id="radar-container">
<div id="radar">
<!-- radar items go here -->
</div>
</div>
<ul id="game-status">
<li id="funds">
Funds:
<div id="funds-count">
<div class="digit"><div class="digit-wrapper"></div></div>
<div class="digit"><div class="digit-wrapper"></div></div>
<div class="digit"><div class="digit-wrapper"></div></div>
</div>
</li>
<li id="game-fps">fps: <span id="fps-count">∞</span></li>
<!-- not implemented. -->
<!-- <li>Score: 0</li> -->
</ul>
</div>
<div id="player-status-bar">
<div id="fuel-bar">
<div id="fuel-line"></div>
</div>
<ul id="stats-bar" class="stats-bar">
<li class="inventory-item">
<span class="letter-block">M</span>
<a
href="#"
onclick="return false"
oncontextmenu="return false"
onclick="return false"
data-keyMap="missileLauncher"
title="Missile launcher (3 funds)"
class="missile-launcher"
></a>
</li>
<li class="inventory-item">
<span class="letter-block">T</span>
<a
href="#"
onclick="return false"
oncontextmenu="return false"
onclick="return false"
data-keyMap="tank"
title="Tank (4 funds)"
class="tank"
></a>
</li>
<li class="inventory-item">
<span class="letter-block">V</span>
<a
href="#"
onclick="return false"
oncontextmenu="return false"
onclick="return false"
data-keyMap="van"
title="Van (2 funds)"
class="van"
></a>
</li>
<li class="inventory-item">
<span class="letter-block">I</span>
<a
href="#"
onclick="return false"
oncontextmenu="return false"
onclick="return false"
data-keyMap="infantry"
title="Infantry (5 funds)"
class="infantry"
></a>
</li>
<li class="inventory-item">
<span class="letter-block">E</span>
<a
href="#"
onclick="return false"
oncontextmenu="return false"
onclick="return false"
data-keyMap="engineer"
title="Engineers (5 funds)"
class="engineer"
></a>
</li>
<li class="spacer">
<div id="bnb-now-playing">
<div class="pow beavis"></div>
<div class="pow butthead"></div>
</div>
</li>
<!-- not implemented. -->
<!-- <li class="lives"><em>Lives:</em> <span id="lives-count">∞</span></li> -->
<li class="stats-item infantry-count">
<span class="letter-block">Space</span>
<span class="wrapper">
<em>Infantry:</em> <span id="infantry-count">1</span>
</span>
</li>
<li class="stats-item missiles">
<span class="letter-block"
>X<span class="alternate-missiles"
><span class="divider">|</span>C<span class="divider"
>|</span
>B</span
></span
>
<span class="wrapper">
<em>Smart Missiles:</em>
<span id="missile-count" class="weapon-count">2</span>
</span>
</li>
<li class="stats-item ammo">
<span class="letter-block">Shift</span>
<span class="wrapper">
<em>Ammo:</em>
<span id="ammo-count" class="weapon-count double-wide"
>64</span
>
</span>
</li>
<li class="stats-item bombs">
<span class="letter-block">Ctrl</span>
<span class="wrapper">
<em>Bombs:</em>
<span id="bomb-count" class="weapon-count double-wide"
>10</span
>
</span>
</li>
</ul>
<div id="repair-complete"></div>
<span id="spinner"></span>
</div>
</div>
<div id="game-tips">
<div class="tips-container">
<ul id="game-tips-list">
<!-- 100 tips from the original game -->
<li>Throw bombs on emerging enemies</li>
<li>Click to change direction</li>
<li>Super bunkers hold 5 men</li>
<li>Tanks can kill men in some bunkers</li>
<li>Your practice copters are tougher</li>
<li>Enemy ground forces move towards your base</li>
<li>Center the cursor to move slow</li>
<li>Bars across the screen mean you are ready</li>
<li>Anti-aircraft guns only fire at their enemies</li>
<li>Capture the enemy end bunker for funds</li>
<li>Waste enemy bombs by dodging under him</li>
<li>Bullets are more effective on men and missiles</li>
<li>Stop your copter to shoot down missiles</li>
<li>Drop paratroopers just before doors</li>
<li>The enemy watches your money</li>
<li>The enemy is a thief</li>
<li>Try hiding behind clouds</li>
<li>Beware of lightning!</li>
<li>Don’t burn the trees</li>
<li>Keep firing to delay your next helicopter</li>
<li>Balloons chase paranoids</li>
<li>Bomb the enemy copter</li>
<li>Destroy the enemy vans and tanks</li>
<li>Destroy infantry with tanks</li>
<li>Destroy tanks with your helicopter</li>
<li>Destroy helicopters with missiles</li>
<li>Attack guns from either side</li>
<li>Stop missiles with paratroopers</li>
<li>Bomb guns while flying by</li>
<li>Never believe everything you read</li>
<li>Drop paratroopers near guns</li>
<li>Drop paratroopers over bunkers</li>
<li>Use men & tanks to take bunkers</li>
<li>Men can take out guns</li>
<li>Fight over enemy troops</li>
<li>Don’t tailgate the enemy</li>
<li>Sometimes a strategic retreat is in order</li>
<li>Guns & bombardiers watch your speed</li>
<li>Dodge bombs left-to-right</li>
<li>Dodge bullets up-and-down</li>
<li>Don’t fly in straight lines</li>
<li>Avoid floating elements</li>
<li>Avoid enemy balloons</li>
<li>Fly high for a superior combat position</li>
<li>Outrun missiles by moving up and down</li>
<li>Missiles turn slowly</li>
<li>Beware of shrapnel</li>
<li>Find places to hide from the enemy</li>
<li>Hide behind paratroopers</li>
<li>Hide behind balloons</li>
<li>Run missiles into bunkers</li>
<li>Hide in bunkers</li>
<li>Hide in your base</li>
<li>Lead missiles into barriers</li>
<li>Lead neutral missiles into enemy targets</li>
<li>Build more convoys to win</li>
<li>Experiment with convoys</li>
<li>Don’t fight over your troops with your copter</li>
<li>Have backup convoys - Plan B, C, etc.</li>
<li>Defend your convoys from enemy equipment</li>
<li>Protect your van with ground & air support</li>
<li>Use missile trucks to attack & delay the enemy</li>
<li>Hold strategic positions on the field</li>
<li>Paratroopers train to capture & destroy</li>
<li>The enemy is to the right</li>
<li>What is the most useful piece on the field?</li>
<li>The enemy saves up for convoys, too</li>
<li>Keep one helicopter in reserve</li>
<li>One man can do the same work as many</li>
<li>There are different types of guns</li>
<li>Low fuel means low fuel</li>
<li>Smoke is a dead giveaway</li>
<li>Letting the enemy retreat is a strategy</li>
<li>Avoid engaging the enemy</li>
<li>Missiles are precious</li>
<li>Combat and bombing go hand in hand</li>
<li>If you can hit it, it’s not yours</li>
<li>To win, a van must reach the enemy base</li>
<li>Try adjusting the game speed</li>
<li>Customize commands with ’Set Controls’</li>
<li>You can buy more helicopters with 20 funds</li>
<li>Use the landing pad to refuel and rearm</li>
<li>Enter the enemy territory for more funds</li>
<li>Engineers rebuild guns</li>
<li>The enemy doesn’t cheat</li>
<li>Tank flamethrowers clean out bunkers</li>
<li>Landing conserves fuel</li>
<li>Vans carry radar jamming equipment</li>
<li>Damaged guns shoot slowly</li>
<li>Guns repair quickly</li>
<li>Men repair helicopters & bunkers</li>
<li>Tanks & guns repair themselves</li>
<li>Men rebuild balloons</li>
<li>Infantry carry grenades</li>
<li>Flame burns both sides</li>
<li>The enemy has equivalent equipment</li>
<li>The copter can fly with precision</li>
<li>The game can be suspended</li>
<li>Helicopters are very expensive</li>
<!-- New additions -->
<li>Clouds can be dangerous</li>
<li>The enemy knows how to hide, too</li>
<li>Beware the wily rubber <b><u>c</u></b>hicken</li>
<li>Tired of regular missiles? Try "c" instead of "x"</li>
<li>Don’t eat yellow snow</li>
</ul>
<div id="game-announcements"></div>
<div class="tips-fader"></div>
</div>
<div id="game-paused">
<p class="hide-on-mobile">
<span class="resume-prompt">Game paused while in background</span>
<span class="resume-prompt">Aww, you were just about to win!</span>
<span class="resume-prompt">Work can wait. This battle needs to be won.</span>
<span class="resume-prompt">Stop reading, and start playing!</span>
<span class="resume-prompt">Hey, where'd you go!?</span>
<span class="resume-prompt">For a good time, click here.</span>
<span class="resume-prompt">Aww, the fun part was just about to happen.</span>
<span class="resume-prompt">What's going to happen next!? Click here to find out!</span>
</p>
<p class="mobile-only">[ Tap to resume ]</p>
</div>
</div>
<div id="notification-toasts"></div>
<div id="tutorial-window" class="finder mac-classic dialog">
<div class="title-bar">
<!-- <div class="close-button"></div> -->
<div class="title-bar-stripes"></div>
<div class="title-bar-label">Armor Alley™ Tutorial</div>
</div>
<div id="tutorial-body" class="body"></div>
</div>
<div id="tv-display">
<div class="tv-screen-container"></div>
<div id="tv"></div>
</div>
<div id="battlefield">
<!-- world with terrain elements, vehicles, etc., lives here. -->
</div>
<div id="tutorial">
<h2>Armor Alley Tutorial</h2>
<h3>Boot Camp: Training</h3>
<ul id="tutorial-list">
<li>
<h3>Your mission, should you accept it …</h3>
<p class="instructions">
Your job is to build and escort convoys, with the goal of
getting a van
<img
src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/91e11f59-5051-47f2-9173-f8268e5fbd1c"
style="width: 19px"
alt=""
loading="lazy"
/>
to the enemy base.
</p>
<p class="instructions mobile-only">
On mobile, all controls are touch-based.<br />Inventory is
behind a button like so:
<span
style="
display: inline-block;
padding: 0.5px;
box-sizing: content-box;
border-radius: 100%;
border: 0.5px solid #666;
vertical-align: middle;
line-height: 4.25px;
width: 5px;
height: 5px;
text-align: center;
"
>≡</span
>
</p>
<p class="instructions">
First up, weapons: While flying, try firing guns
<span class="hide-on-mobile">(<b>SHIFT</b>) </span> and
dropping bombs<span class="hide-on-mobile">(<b>CTRL</b>)</span>.
</p>
<p class="instructions hide-on-mobile">
You can also click to change direction.
</p>
</li>
<li>
<h3>Repair + refuel your chopper</h3>
<p class="instructions">
Return to your base’s landing pad
<img
src="image/landing-pad-animated.gif"
style="width: 40.5px"
loading="lazy"
/>
to repair and reload.
</p>
<p class="instructions">
Green lines
<span class="hide-on-mobile">and a sound</span> will indicate
completion.
</p>
</li>
<li>
<h3>Destroy an enemy Convoy</h3>
<p class="instructions">
You’ve got company! Look for white blocks on the radar. Don’t
let their van reach your base!
</p>
<p class="instructions">
Bombs <span class="hide-on-mobile">(<b>CTRL</b>)</span> are
effective on tanks.<br />The machine gun
<span class="hide-on-mobile">(<b>SHIFT</b>)</span> is good for others.
</p>
</li>
<li>
<h3>
Pick up some Infantry
<img
src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/d9025660-496f-4dae-ae1d-d03612f3d8ac"
style="width: 7.5px"
alt=""
loading="lazy"
/>
</h3>
<p class="instructions">
Return to your base, and order some infantry.
</p>
<p class="instructions">
<span class="hide-on-mobile">
On desktop, press the <b><u>i</u></b> key for <u>i</u>nfantry.<br />
</span>
<span class="mobile-only">Use the touch controls to show the inventory menu via the
<span
style="
display: inline-block;
padding: 0.5px;
box-sizing: content-box;
border-radius: 100%;
border: 0.5px solid #666;
vertical-align: middle;
line-height: 4.25px;
width: 5px;
height: 5px;
text-align: center;
"
>≡</span> button.
</span>
</p>
<p class="instructions">
Land in front of infantry to pick them up.<br />
Fill up on infantry. You can carry five at once.
</p>
</li>
<li>
<h3>
Claim an enemy Bunker
<img
src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/6b5d605e-8c82-4c49-9591-74c14da0e76d"
alt=""
style="width: 16.5px"
loading="lazy"
/>
</h3>
<p class="instructions">
Find an enemy bunker near your base.<br />Enemy buildings are
orange blocks on the radar.
</p>
<p class="instructions">
Drop an infantry near the bunker<span class="hide-on-mobile">
via <b>SPACE</b></span
>.
</p>
<p class="instructions">
Enemy bunkers have a left-facing arrow, and will "claim" the
first passing infantry.
</p>
</li>
<li>
<h3>
Claim an enemy Super Bunker
<img
src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/15c79610-e8f2-4216-9baa-47b3f2a4ab75"
alt=""
style="width: 20px"
loading="lazy"
/>
</h3>
<p class="instructions">
Super Bunkers can be neutral and dangerous, or armed by up to
5 Infantry which man the guns.
</p>
<p class="instructions">
There is a Super Bunker near the midway point; look for a
yellow-ish rectangle on the radar.
</p>
<p class="instructions">
Super Bunkers will fire at everything except tanks. Tanks can
disarm Super Bunkers.
</p>
<p class="instructions">
To disarm the bunker via helicopter, drop 3 Infantry from
directly overhead<span class="hide-on-mobile">, using <b>space</b></span>.
</p>
<p class="instructions">
Super Bunkers can be a powerful defensive tool. They're just
slightly wider than your helicopter...
</p>
</li>
<li>
<h3>Build a Convoy</h3>
<p class="instructions">
Order a <b><u>M</u></b>issile launcher, <b><u>T</u></b>ank, and a <b><u>V</u></b>an
<span class="hide-on-mobile">using the underlined letters</span>.
</p>
<p>
You need funds to build convoys. You start with a number of
funds, and they are earned over time.
</p>
</li>
<li>
<h3>Destroy the enemy Helicopter</h3>
<p class="instructions">
The enemy is out there, but may be hiding.
</p>
<p class="instructions">
You should see a grey triangle on the radar.<br />Find and take it out!
</p>
</li>
<li>
<h3>
Defeat incoming Smart Missiles
<img
src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/668bc6d4-4cfa-45d6-ab76-e4242838921b"
style="width: 22px;vertical-align: middle"
alt=""
loading="lazy"
/>
</h3>
<p class="instructions">
Missile Launcher vehicles self-destruct and fire when an enemy
helicopter is in range.
</p>
<p class="instructions">
Enemy units are ahead. Avoid missiles until they run out of
fuel, or attempt to shoot them down.
</p>
<p class="instructions">
Smart Missiles show up as fast-moving red dots on the radar,
so keep an eye out!
</p>
</li>
<li>
<h3>
Rebuild a Turret (
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAACCAYAAACDvVapAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QoOBCsSStvuPgAAADFJREFUCNdVx8ERACAIxMBAj1Dk2aPnyxHz2gAYsJSeVsX7YcAhpbs3quDWy9/PepkDx0QboCy6+NkAAAAASUVORK5CYII="
alt=""
style="
width: 10px;
margin-left: 1px;
vertical-align: bottom;
"
loading="lazy"
/>
to
<img
src="image/turret-static.gif"
alt=""
style="width: 10px"
loading="lazy"
/>)
</h3>
<p class="instructions">
Engineers are capable of claiming enemy turrets, and
rebuilding and repairing friendly ones.