-
Notifications
You must be signed in to change notification settings - Fork 0
/
tm.html
571 lines (542 loc) · 35 KB
/
tm.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
<!doctype html>
<html>
<head>
<title>Travel-forming Mars</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon"
href="http://sliceofbread.neocities.org/tm/mars.ico">
<!--
Copyright 2019 SliceOfBread
-->
<style>
* {box-sizing: border-box}
body {
font-family: "Arial", sans-serif;
}
canvas {
border:1px solid #d3d3d3;
background-color: #f1f1f1;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 5px;
}
select {
padding: 5px;
}
#firstelement {
width:900px;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current "tab button" class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
float: left;
display: none;
padding: 2px 2px;
border: 1px solid #ccc;
border-left: none;
}
input[type=text] {
padding: 0px;
font-family:Arial, sans-serif;font-size:28px;
margin: 0;}
select {
font-family:Arial, sans-serif;font-size:28px;
}
.c_heat{background-color:#cb0000;color:#fcff2f;padding:5px;}
img{vertical-align: text-bottom;}
.tg {border-collapse:collapse;border-spacing:0;float:left;overflow:hidden;text-align:center;width:100%}
.tg2 {border-collapse:separate;border-spacing:2px;float:left;overflow:hidden;text-align:center;}
.tg td{font-family:Arial, sans-serif;font-size:28px;padding:5px 2px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg th{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;font-weight:bold;}
.tg .tg-zkpc{background-color:#f8ff00;border-color:inherit;vertical-align:bottom}
.tg .tg-ueh4{background-color:#036400;color:#ffffff;border-color:inherit;}
.tg .tg-dkta{background-color:#f56b00;border-color:inherit;font-size:28px;}
.tg .tg-h3ms{background-color:#986536;border-color:inherit;}
.tg .tg-utck{background-color:#6434fc;color:#fcff2f;border-color:inherit;}
.tg .tg-fll1{border-color:inherit;vertical-align:bottom;font-size:20px;}
.tg .tg-fll5{border-color:inherit;vertical-align:bottom;}
.tg .tg-flq1{background-color:#f56b00;border-color:inherit;vertical-align:bottom}
.tg .tg-flq2{background-color:grey;border-color:inherit;vertical-align:bottom}
.tg .tg-na3n{background-color:#986536;color:#000000;border-color:inherit;vertical-align:bottom}
.tg .tg-na4n{background-color:#ffffff;color:#000000;border-color:inherit;vertical-align:bottom}
.tg .tg-0fbn{background-color:#000000;color:#fcff2f;border-color:inherit;vertical-align:bottom}
.tg .tg-htk3{background-color:#036400;color:#ffffff;border-color:inherit;vertical-align:bottom}
.tg .tg-ij73{background-color:#6434fc;color:#fcff2f;border-color:inherit;vertical-align:bottom}
.tg .tg-q3gy{background-color:#cb0000;color:#fcff2f;border-color:inherit;vertical-align:bottom}
.tg .tg-xldj{border-color:inherit;text-align:left}
.tg .tg-vhu3{background-color:#f8ff00;border-color:inherit;}
.tg .tg-m8w8{background-color:#000000;color:#fcff2f;border-color:inherit;}
.tg .tg-dl61{background-color:#cb0000;color:#fcff2f;border-color:inherit;}
.tg .tg-quj2{border-color:inherit;}
.tg .tg-quj4{border-color:inherit;}
.tg .tg-prod{background-color:white;color:black}
.tg td span{font-size:20px;}
.tg td div{font-size:28px;}
.tg td div span{font-size:28px;}
button {background:none;font-size:28px;color:inherit;border-width:0px;padding:1px 3px}
.tg-fll1 button{border-width:1px}
.tg .tg-prod button{background:inherit;color:#000000;font-size:20px;}
.tg .tg-gp button{border-width:1px; background:inherit;color:#000000;font-size:20px;}
button.invis {border:none;}
button.blog {border-width:2px}
.tg2 {border-collapse:separate;margin:0px auto;border-spacing:5px}
.tg2 td{font-family:Arial, sans-serif;font-size:30px;padding:5px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg2 .tg-s268{text-align:center; width:70px}
.tg2 .tg-rslt{text-align:right}
.tg2 button{padding:5px 15px;font-size:24px;border:none;}
.bigbutt {padding:10px 20px;font-size:30px;border-width:2px}
</style>
</head>
<body style="background-color:#101010;">
<div id="firstelement" style="padding:5px">
<div class="tab">
<button class="tablinks" onclick="openTab(event, 'Play')">Play</button>
<button class="tablinks" onclick="openTab(event, 'Setup')" id="defaultOpen">Setup</button>
<button class="tablinks" onclick="openTab(event, 'Score')">Score</button>
<button class="tablinks" onclick="openTab(event, 'Help')">Help</button>
</div>
<div id="Play" class="tabcontent" style="width:100%">
<table id="temperature">
<tr><td class="blog"><img src="temp.png" alt="Tmp" height="20px">Temp</td>
<td id="sctemp-30">-30</td>
<td id="sctemp-28">-28</td><td id="sctemp-26">-26</td><td id="sctemp-24">-24<span class="c_heat"><img src="heat.png" alt="H" height="18px"></span></td><td id="sctemp-22">-22</td><td id="sctemp-20">-20<span class="c_heat"><img src="heat.png" alt="H" height="18px"></span></td>
<td id="sctemp-18">-18</td><td id="sctemp-16">-16</td><td id="sctemp-14">-14</td><td id="sctemp-12">-12</td><td id="sctemp-10">-10</td>
<td id="sctemp-8">-8</td><td id="sctemp-6">-6</td><td id="sctemp-4">-4</td><td id="sctemp-2">-2</td><td id="sctemp0">0<img src="wave.png" alt="Oc" height="20px"></td>
<td id="sctemp2">2</td><td id="sctemp4">4</td><td id="sctemp6">6</td><td id="sctemp8">8</td>
</tr>
</table>
<table id="o2" style="display:inline; overflow:hidden; float:left">
<tr><td>O₂ %</td>
<td id="scO20">0</td><td id="scO21">1</td><td id="scO22">2</td><td id="scO23">3</td>
<td id="scO24">4</td><td id="scO25">5</td><td id="scO26">6</td><td id="scO27">7</td>
<td id="scO28">8<img src="temp.png" alt="Tmp" height="20px"></td><td id="scO29">9</td><td id="scO210">10</td><td id="scO211">11</td>
<td id="scO212">12</td><td id="scO213">13</td><td id="scO214">14</td>
</tr>
</table>
<table id="oceans" style="display:inline; overflow:hidden; float:right">
<tr>
<td id="scoceans">9</td>
<td><img src="wave.png" alt="Oc" height="20px"> Oceans left</td>
</tr>
</table>
<br>
<table id="manda" class="tg tg2">
<tr id="milestones">
<td>Milestones <span style="font-size:14px">8€</span></td>
<td class="tg-flq1 manda matharsis" onclick="clickFund(this)" id="terraformer">35 <img src="globe.png" alt="G" height="30px"></td>
<td class="tg-flq2 manda matharsis" onclick="clickFund(this)" id="mayor">3 <img src="city.png" alt="C" height="30px"></td>
<td class="tg-htk3 manda matharsis" onclick="clickFund(this)" id="gardener">3 <img src="plant.png" alt="P" height="30px"></td>
<td class="tg-na3n manda matharsis" onclick="clickFund(this)" id="builder">8 <img src="building.png" alt="B" height="30px"></td>
<td class="tg-na4n manda matharsis" onclick="clickFund(this)" id="planner">16 <img src="card.png" alt="[]" height="30px"></td>
<td class="manda mahellas" style="display:none" id="diversifier" onclick="clickFund(this)">Diversifier</td>
<td class="manda mahellas" style="display:none" id="tactician" onclick="clickFund(this)">Tactician</td>
<td class="manda mahellas" style="display:none" id="polarexplorer" onclick="clickFund(this)">Polar Explorer</td>
<td class="manda mahellas" style="display:none" id="energizer" onclick="clickFund(this)">Energizer</td>
<td class="manda mahellas" style="display:none" id="rimsettler" onclick="clickFund(this)">Rim Settler</td>
<td class="manda maelysium" style="display:none" id="generalist" onclick="clickFund(this)">Generalist</td>
<td class="manda maelysium" style="display:none" id="specialist" onclick="clickFund(this)">Specialist</td>
<td class="manda maelysium" style="display:none" id="ecologist" onclick="clickFund(this)">Ecologist</td>
<td class="manda maelysium" style="display:none" id="tycoon" onclick="clickFund(this)">Tycoon</td>
<td class="manda maelysium" style="display:none" id="legend" onclick="clickFund(this)">Legend</td>
</tr>
<tr id="awards">
<td>Awards <span style="font-size:14px">8€/14€/20€</span></td>
<td class="manda matharsis" id="landlord" onclick="clickFund(this)">Landlord</td>
<td class="manda matharsis" id="banker" onclick="clickFund(this)">Banker</td>
<td class="manda matharsis" id="scientist" onclick="clickFund(this)">Scientist</td>
<td class="manda matharsis" id="thermalist" onclick="clickFund(this)">Thermalist</td>
<td class="manda matharsis" id="miner" onclick="clickFund(this)">Miner</td>
<td class="manda mahellas" style="display:none" id="cultivator" onclick="clickFund(this)">Cultivator</td>
<td class="manda mahellas" style="display:none" id="magnate" onclick="clickFund(this)">Magnate</td>
<td class="manda mahellas" style="display:none" id="spacebaron" onclick="clickFund(this)">Space Baron</td>
<td class="manda mahellas" style="display:none" id="excentric" onclick="clickFund(this)">Excentric</td>
<td class="manda mahellas" style="display:none" id="contractor" onclick="clickFund(this)">Contractor</td>
<td class="manda maelysium" style="display:none" id="celebrity" onclick="clickFund(this)">Celebrity</td>
<td class="manda maelysium" style="display:none" id="industrialist" onclick="clickFund(this)">Industrialist</td>
<td class="manda maelysium" style="display:none" id="desertsettler" onclick="clickFund(this)">Desert Settler</td>
<td class="manda maelysium" style="display:none" id="estatedealer" onclick="clickFund(this)">Estate Dealer</td>
<td class="manda maelysium" style="display:none" id="benefactor" onclick="clickFund(this)">Benefactor</td>
</tr>
</table>
<br>
<table class="tg">
<tr>
<th class="tg-fll1" colspan="2">Generation:<button id="genbutton" onclick="clickProduction(this);">1</button></th>
<th class="tg-flq1"><img src="globe.png" alt="G" height="30px"><br>TR</th>
<th class="tg-zkpc">€</th>
<th class="tg-na3n"><img src="steel.png" alt="S" height="30px"><br>Steel</th>
<th class="tg-0fbn"><img src="titanium.png" alt="T" height="30px"><br>Titanium</th>
<th class="tg-htk3"><img src="plant.png" alt="P" height="30px"><br>Plants</th>
<th class="tg-ij73"><img src="energy.png" alt="E" height="30px"><br>Energy</th>
<th class="tg-q3gy"><img src="heat.png" alt="H" height="30px"><br>Heat</th>
</tr>
<tr id="player1">
<td class="tg-xldj" id="pn1" rowspan="2" onclick="clickPlayer(1)">Player 1</td>
<td class="tg-quj2" rowspan="2" onclick="clickPlaceTile(1)">Place<br>Tile</td>
<td class="tg-dkta"><div><button onclick="clickProdLess('p1b6')">▼</button><span id="p1b6">20</span><button onclick="clickProdMore('p1b6')">▲</button></div></td>
<td class="tg-vhu3" id="a1b0" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-h3ms" id="a1b1" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-m8w8" id="a1b2" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-ueh4" id="a1b3" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-utck" id="a1b4" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-dl61" id="a1b5" onclick="clickSpendGain(event, this)">0</td>
</tr>
<tr id="player12">
<td class="tg-gp"><button onclick="clickIncTemp(1)"><img src="temp.png" alt="Tmp" height="20px"></button> <button onclick="clickIncO2(1)">O₂</button></td>
<td class="tg-vhu3 tg-prod"><button onclick="clickProdLess('p1b0')">▼</button><span id="p1b0">0</span><button onclick="clickProdMore('p1b0')">▲</button></td>
<td class="tg-h3ms tg-prod"><button onclick="clickProdLess('p1b1')">▼</button><span id="p1b1">0</span><button onclick="clickProdMore('p1b1')">▲</button></td>
<td class="tg-m8w8 tg-prod"><button onclick="clickProdLess('p1b2')">▼</button><span id="p1b2">0</span><button onclick="clickProdMore('p1b2')">▲</button></td>
<td class="tg-ueh4 tg-prod"><button onclick="clickProdLess('p1b3')">▼</button><span id="p1b3">0</span><button onclick="clickProdMore('p1b3')">▲</button></td>
<td class="tg-utck tg-prod"><button onclick="clickProdLess('p1b4')">▼</button><span id="p1b4">0</span><button onclick="clickProdMore('p1b4')">▲</button></td>
<td class="tg-dl61 tg-prod"><button onclick="clickProdLess('p1b5')">▼</button><span id="p1b5">0</span><button onclick="clickProdMore('p1b5')">▲</button></td>
</tr>
<tr id="player2">
<td class="tg-xldj" id="pn2" rowspan="2" onclick="clickPlayer(2)">Player 2</td>
<td class="tg-quj2" rowspan="2" onclick="clickPlaceTile(2)">Place<br>Tile</td>
<td class="tg-dkta"><div><button onclick="clickProdLess('p2b6')">▼</button><span id="p2b6">20</span><button onclick="clickProdMore('p2b6')">▲</button></div></td>
<td class="tg-vhu3" id="a2b0" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-h3ms" id="a2b1" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-m8w8" id="a2b2" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-ueh4" id="a2b3" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-utck" id="a2b4" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-dl61" id="a2b5" onclick="clickSpendGain(event, this)">0</td>
</tr>
<tr id="player22">
<td class="tg-gp"><button onclick="clickIncTemp(2)"><img src="temp.png" alt="Tmp" height="20px"></button> <button onclick="clickIncO2(2)">O₂</button></td>
<td class="tg-vhu3 tg-prod"><button onclick="clickProdLess('p2b0')">▼</button><span id="p2b0">0</span><button onclick="clickProdMore('p2b0')">▲</button></td>
<td class="tg-h3ms tg-prod"><button onclick="clickProdLess('p2b1')">▼</button><span id="p2b1">0</span><button onclick="clickProdMore('p2b1')">▲</button></td>
<td class="tg-m8w8 tg-prod"><button onclick="clickProdLess('p2b2')">▼</button><span id="p2b2">0</span><button onclick="clickProdMore('p2b2')">▲</button></td>
<td class="tg-ueh4 tg-prod"><button onclick="clickProdLess('p2b3')">▼</button><span id="p2b3">0</span><button onclick="clickProdMore('p2b3')">▲</button></td>
<td class="tg-utck tg-prod"><button onclick="clickProdLess('p2b4')">▼</button><span id="p2b4">0</span><button onclick="clickProdMore('p2b4')">▲</button></td>
<td class="tg-dl61 tg-prod"><button onclick="clickProdLess('p2b5')">▼</button><span id="p2b5">0</span><button onclick="clickProdMore('p2b5')">▲</button></td>
</tr>
<tr id="player3">
<td class="tg-xldj" id="pn3" rowspan="2" onclick="clickPlayer(3)">Player 3</td>
<td class="tg-quj2" rowspan="2" onclick="clickPlaceTile(3)">Place<br>Tile</td>
<td class="tg-dkta"><div><button onclick="clickProdLess('p3b6')">▼</button><span id="p3b6">20</span><button onclick="clickProdMore('p3b6')">▲</button></div></td>
<td class="tg-vhu3" id="a3b0" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-h3ms" id="a3b1" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-m8w8" id="a3b2" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-ueh4" id="a3b3" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-utck" id="a3b4" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-dl61" id="a3b5" onclick="clickSpendGain(event, this)">0</td>
</tr>
<tr id="player32">
<td class="tg-gp"><button onclick="clickIncTemp(3)"><img src="temp.png" alt="Tmp" height="20px"></button> <button onclick="clickIncO2(3)">O₂</button></td>
<td class="tg-vhu3 tg-prod"><button onclick="clickProdLess('p3b0')">▼</button><span id="p3b0">0</span><button onclick="clickProdMore('p3b0')">▲</button></td>
<td class="tg-h3ms tg-prod"><button onclick="clickProdLess('p3b1')">▼</button><span id="p3b1">0</span><button onclick="clickProdMore('p3b1')">▲</button></td>
<td class="tg-m8w8 tg-prod"><button onclick="clickProdLess('p3b2')">▼</button><span id="p3b2">0</span><button onclick="clickProdMore('p3b2')">▲</button></td>
<td class="tg-ueh4 tg-prod"><button onclick="clickProdLess('p3b3')">▼</button><span id="p3b3">0</span><button onclick="clickProdMore('p3b3')">▲</button></td>
<td class="tg-utck tg-prod"><button onclick="clickProdLess('p3b4')">▼</button><span id="p3b4">0</span><button onclick="clickProdMore('p3b4')">▲</button></td>
<td class="tg-dl61 tg-prod"><button onclick="clickProdLess('p3b5')">▼</button><span id="p3b5">0</span><button onclick="clickProdMore('p3b5')">▲</button></td>
</tr>
<tr id="player4">
<td class="tg-xldj" id="pn4" rowspan="2" onclick="clickPlayer(4)">Player 4</td>
<td class="tg-quj2" rowspan="2" onclick="clickPlaceTile(4)">Place<br>Tile</td>
<td class="tg-dkta"><div><button onclick="clickProdLess('p4b6')">▼</button><span id="p4b6">20</span><button onclick="clickProdMore('p4b6')">▲</button></div></td>
<td class="tg-vhu3" id="a4b0" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-h3ms" id="a4b1" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-m8w8" id="a4b2" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-ueh4" id="a4b3" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-utck" id="a4b4" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-dl61" id="a4b5" onclick="clickSpendGain(event, this)">0</td>
</tr>
<tr id="player42">
<td class="tg-gp"><button onclick="clickIncTemp(4)"><img src="temp.png" alt="Tmp" height="20px"></button> <button onclick="clickIncO2(4)">O₂</button></td>
<td class="tg-vhu3 tg-prod"><button onclick="clickProdLess('p4b0')">▼</button><span id="p4b0">0</span><button onclick="clickProdMore('p4b0')">▲</button></td>
<td class="tg-h3ms tg-prod"><button onclick="clickProdLess('p4b1')">▼</button><span id="p4b1">0</span><button onclick="clickProdMore('p4b1')">▲</button></td>
<td class="tg-m8w8 tg-prod"><button onclick="clickProdLess('p4b2')">▼</button><span id="p4b2">0</span><button onclick="clickProdMore('p4b2')">▲</button></td>
<td class="tg-ueh4 tg-prod"><button onclick="clickProdLess('p4b3')">▼</button><span id="p4b3">0</span><button onclick="clickProdMore('p4b3')">▲</button></td>
<td class="tg-utck tg-prod"><button onclick="clickProdLess('p4b4')">▼</button><span id="p4b4">0</span><button onclick="clickProdMore('p4b4')">▲</button></td>
<td class="tg-dl61 tg-prod"><button onclick="clickProdLess('p4b5')">▼</button><span id="p4b5">0</span><button onclick="clickProdMore('p4b5')">▲</button></td>
</tr>
<tr id="player5">
<td class="tg-xldj" id="pn5" rowspan="2" onclick="clickPlayer(5)">Player 5</td>
<td class="tg-quj2" rowspan="2" onclick="clickPlaceTile(5)">Place<br>Tile</td>
<td class="tg-dkta"><div><button onclick="clickProdLess('p5b6')">▼</button><span id="p5b6">20</span><button onclick="clickProdMore('p5b6')">▲</button></div></td>
<td class="tg-vhu3" id="a5b0" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-h3ms" id="a5b1" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-m8w8" id="a5b2" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-ueh4" id="a5b3" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-utck" id="a5b4" onclick="clickSpendGain(event, this)">0</td>
<td class="tg-dl61" id="a5b5" onclick="clickSpendGain(event, this)">0</td>
</tr>
<tr id="player52">
<td class="tg-gp"><button onclick="clickIncTemp(5)"><img src="temp.png" alt="Tmp" height="20px"></button> <button onclick="clickIncO2(5)">O₂</button></td>
<td class="tg-vhu3 tg-prod"><button onclick="clickProdLess('p5b0')">▼</button><span id="p5b0">0</span><button onclick="clickProdMore('p5b0')">▲</button></td>
<td class="tg-h3ms tg-prod"><button onclick="clickProdLess('p5b1')">▼</button><span id="p5b1">0</span><button onclick="clickProdMore('p5b1')">▲</button></td>
<td class="tg-m8w8 tg-prod"><button onclick="clickProdLess('p5b2')">▼</button><span id="p5b2">0</span><button onclick="clickProdMore('p5b2')">▲</button></td>
<td class="tg-ueh4 tg-prod"><button onclick="clickProdLess('p5b3')">▼</button><span id="p5b3">0</span><button onclick="clickProdMore('p5b3')">▲</button></td>
<td class="tg-utck tg-prod"><button onclick="clickProdLess('p5b4')">▼</button><span id="p5b4">0</span><button onclick="clickProdMore('p5b4')">▲</button></td>
<td class="tg-dl61 tg-prod"><button onclick="clickProdLess('p5b5')">▼</button><span id="p5b5">0</span><button onclick="clickProdMore('p5b5')">▲</button></td>
</tr>
</table>
<table id="spendgain" class="tg2" style="display:none">
<tr>
<td class="tg-s268"><button onclick="clickCalcButton(this)">x</button></td>
<td id="spendgaintype" class="tg-s268" colspan="3">Steel</td>
</tr>
<tr>
<td id="spendgainamt" class="tg-rslt" colspan="4">0</td>
<!--
<td class="tg-s268"><button onclick="clickCalcButton(this)">=</button></td>
-->
</tr>
<tr>
<td class="tg-s268" onclick="clickCalcButton(this)">7</td>
<td class="tg-s268" onclick="clickCalcButton(this)">8</td>
<td class="tg-s268" onclick="clickCalcButton(this)">9</td>
<td class="tg-s268" rowspan="2" onclick="clickCalcButton(this)">-</td>
</tr>
<tr>
<td class="tg-s268" onclick="clickCalcButton(this)">4</td>
<td class="tg-s268" onclick="clickCalcButton(this)">5</td>
<td class="tg-s268" onclick="clickCalcButton(this)">6</td>
</tr>
<tr>
<td class="tg-s268" onclick="clickCalcButton(this)">1</td>
<td class="tg-s268" onclick="clickCalcButton(this)">2</td>
<td class="tg-s268" onclick="clickCalcButton(this)">3</td>
<td class="tg-s268" rowspan="2" onclick="clickCalcButton(this)">+</td>
</tr>
<tr>
<td class="tg-s268" colspan="2" onclick="clickCalcButton(this)">0</td>
<td class="tg-s268" onclick="clickCalcButton(this)">C</td>
</tr>
</table>
<select id="selecttile" style="background:blue;color:white;display:none" class="bigbutt" onchange="changeTile(this);">
<option value="Ocean" style="background:blue;color:white" selected>Ocean</option>
<option value="City" style="background:grey;color:black">City</option>
<option value="Greenery" style="background:green;color:white">Greenery</option>
<option value="Capital" style="background:white;color:black">Capital</option>
<option value="CommercialDistrict" style="background:#802b00;color:black">Commercial District</option>
<option value="EcologicalZone" style="background:#802b00;color:black">Ecological Zone</option>
<option value="IndustrialCenter" style="background:#802b00;color:black">Industrial Center</option>
<option value="LavaFlows" style="background:#802b00;color:black">Lava Flows</option>
<option value="MiningArea" style="background:#802b00;color:black">Mining Area</option>
<option value="MiningRights" style="background:#802b00;color:black">Mining Rights</option>
<option value="MoholeArea" style="background:#802b00;color:black">Mohole Area</option>
<option value="NaturalPreserve" style="background:#802b00;color:black">Natural Preserve</option>
<option value="NuclearZone" style="background:#802b00;color:black">Nuclear Zone</option>
<option value="RestrictedArea" style="background:#802b00;color:black">Restricted Area</option>
</select>
<button id="selecttilecancel" class="bigbutt" onclick="clickCancel(this)" style="display:none">Cancel</button>
<br>
<div id="oceanmsg" onclick="this.style.display='none';" style="display:none;font-size:28px;float:left;">P1 builds an ocean
</div>
<div id="clickawaymsg" onclick="this.style.display='none';" style="display:none;font-size:28px;float:left;">takes a card
</div>
</div>
<div id="Setup" class="tabcontent">
<select id="selectplayers" onchange="changeNumPlayers(this.value);">
<option value="1">Solo</option>
<option value="2" selected>2 Players</option>
<option value="3">3 Players</option>
<option value="4">4 Players</option>
<option value="5">5 Players</option>
</select>
<select id="selectmap" onchange="changeMap(this.value);">
<option value="Tharsis" selected>Tharsis</option>
<option value="Hellas">Hellas</option>
<option value="Elysium">Elysium</option>
</select>
<br>
<input id="tname1" type="text" onfocusout="nameDone(1)" value="Player 1">
<select id="selectcolorp1" onchange="changePlayerColor(this);">
<option value="red" selected>Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="yellow">Yellow</option>
<option value="black">Black</option>
</select>
<br>
<input id="tname2" type="text" onfocusout="nameDone(2)" value="Player 2">
<select id="selectcolorp2" onchange="changePlayerColor(this);">
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue" selected>Blue</option>
<option value="yellow">Yellow</option>
<option value="black">Black</option>
</select>
<br>
<input id="tname3" type="text" onfocusout="nameDone(3)" value="Player 3">
<select id="selectcolorp3" onchange="changePlayerColor(this);">
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="yellow" selected>Yellow</option>
<option value="black">Black</option>
</select>
<br>
<input id="tname4" type="text" onfocusout="nameDone(4)" value="Player 4">
<select id="selectcolorp4" onchange="changePlayerColor(this);">
<option value="red">Red</option>
<option value="green" selected>Green</option>
<option value="blue">Blue</option>
<option value="yellow">Yellow</option>
<option value="black">Black</option>
</select>
<br>
<input id="tname5" type="text" onfocusout="nameDone(5)" value="Player 5">
<select id="selectcolorp5" onchange="changePlayerColor(this);">
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="yellow">Yellow</option>
<option value="black" selected>Black</option>
</select>
<br>
<textarea id="gamelog" rows="10" cols="80"></textarea><br>
<button class="blog" onclick="clickUndo()">Undo 1 Move</button><br>
<textarea id="history" rows="10" cols="30"></textarea>
<button class="blog" onclick="clickLoad()">Load</button><button class="blog" onclick="clickApply()">Apply</button><button class="blog" onclick="clickClear()">Clear</button><br>
<button class="blog" onclick="resetAll()">Reset Board</button>
<button class="blog" onclick="zoom('minus')">Zoom -</button>
<button class="blog" onclick="zoom('plus')">Zoom +</button>
</div>
<div id="Score" class="tabcontent">
<table class="tg">
<tr>
<th class="tg-fll5"></th>
<th class="tg-flq1"><img src="globe.png" alt="G" height="30px"><br>TR</th>
<th class="tg-htk3">Green<br>pts</th>
<th class="tg-flq2">City<br>pts</th>
<th class="tg-fll5">Milestone<br>pts</th>
<th class="tg-fll5">Award<br>pts</th>
<th class="tg-fll5">Card<br>pts</th>
<th class="tg-fll5">Total<br>pts</th>
</tr>
<tr id="splayer1">
<td class="tg-xldj" id="spn1">Player 1</td>
<td class="tg-flq1" id="sctr1">0</td>
<td class="tg-htk3" id="scgr1">0</td>
<td class="tg-flq2" id="scci1">0</td>
<td class="tg-quj4" id="scmi1">0</td>
<td class="tg-quj4"><input id="scaw1" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4"><input id="scca1" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4" id="scto1">0</td>
</tr>
<tr id="splayer2">
<td class="tg-xldj" id="spn2">Player 2</td>
<td class="tg-flq1" id="sctr2">0</td>
<td class="tg-htk3" id="scgr2">0</td>
<td class="tg-flq2" id="scci2">0</td>
<td class="tg-quj4" id="scmi2">0</td>
<td class="tg-quj4"><input id="scaw2" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4"><input id="scca2" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4" id="scto2">0</td>
</tr>
<tr id="splayer3">
<td class="tg-xldj" id="spn3">Player 3</td>
<td class="tg-flq1" id="sctr3">0</td>
<td class="tg-htk3" id="scgr3">0</td>
<td class="tg-flq2" id="scci3">0</td>
<td class="tg-quj4" id="scmi3">0</td>
<td class="tg-quj4"><input id="scaw3" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4"><input id="scca3" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4" id="scto3">0</td>
</tr>
<tr id="splayer4">
<td class="tg-xldj" id="spn4">Player 4</td>
<td class="tg-flq1" id="sctr4">0</td>
<td class="tg-htk3" id="scgr4">0</td>
<td class="tg-flq2" id="scci4">0</td>
<td class="tg-quj4" id="scmi4">0</td>
<td class="tg-quj4"><input id="scaw4" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4"><input id="scca4" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4" id="scto4">0</td>
</tr>
<tr id="splayer5">
<td class="tg-xldj" id="spn5">Player 5</td>
<td class="tg-flq1" id="sctr5">0</td>
<td class="tg-htk3" id="scgr5">0</td>
<td class="tg-flq2" id="scci5">0</td>
<td class="tg-quj4" id="scmi5">0</td>
<td class="tg-quj4"><input id="scaw5" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4"><input id="scca5" type="text" onfocusout="updateScores()" value="0" size="2"></td>
<td class="tg-quj4" id="scto5">0</td>
</tr>
</table>
</div>
<div id="Help" class="tabcontent">
<p>Tile placements will automatically raise correct GPs and give bonuses. For card bonus (and most messages), click message to dismiss.</p>
<p>For Awards and Milestones, click Player name first, then click Award/Milestone.</p>
<p>For Ocean tile bonus, place tile to dismiss message.</p>
<p>For Production phase, click Generation number.</p>
<p>For Solo play, start with 2 Player and name Player 2: Dummy . Place City/Greenery with Dummy and then you can switch to 1 Player (Solo)</p>
<p>Standard projects:<ul><li>Sell cards for €</li>
<li>Energy Production - 11€</li>
<li>Temp raise - 14€</li>
<li>Place Ocean - 18€</li>
<li>Place Greenery - 23€</li>
<li>Place City + 1 € Production - 25€</li></ul></p>
<p>Milestones:<ul><li>TR of 35 or more</li>
<li>Own 3 or more Cities</li>
<li>Own 3 or more Greeneries</li>
<li>Have 8 or more Building tags</li>
<li>have 16 or more cards in hand</li></ul></p>
<p>Awards:<ul><li>Landlord-most owned tiles</li>
<li>Banker-highest MC production</li>
<li>Scientist-most science tags</li>
<li>Thermalist-most heat cubes</li>
<li>Miner-most Steel+Titanium cubes</li></ul></p>
</div>
<div style="display:none">
<img src="plant.png" alt="P" id="plantimg">
<img src="steel.png" alt="S" id="steelimg">
<img src="titanium.png" alt="T" id="titaniumimg">
<img src="card.png" alt="[]" id="cardimg">
<img src="city.png" alt="C" id="cityimg">
<img src="doublewave.png" alt="WW" id="doublewaveimg">
<img src="energy.png" alt="E" id="energyimg">
<img src="factory.png" alt="F" id="factoryimg">
<img src="heat.png" alt="H" id="heatimg">
<img src="mars.png" alt="M" id="marsimg">
<img src="mohole.png" alt="H" id="moholeimg">
<img src="wave.png" alt="W" id="oceanimg">
<img src="pawprints.png" alt="eco" id="pawprintsimg">
<img src="prohibit.png" alt="\" id="prohibitimg">
<img src="radioactive.png" alt="*" id="radioactiveimg">
<img src="volcano.png" alt="V" id="volcanoimg">
<img src="checker.png" alt="#" id="checkerimg">
</div>
</div>
<script type="text/javascript" src="tfm_tm.js">
</script>
<script type="text/javascript" src="tm.js">
</script>
<script>
setTimeout(startGame, 500);
</script>
<!--
<canvas id="fullsheet" width="90" height="840"></canvas>
-->
</body>
</html>