diff --git a/html/burn.jpg b/html/burn.jpg new file mode 100644 index 0000000..cd064d4 Binary files /dev/null and b/html/burn.jpg differ diff --git a/html/ctf.css b/html/ctf.css new file mode 100644 index 0000000..42c2b2d --- /dev/null +++ b/html/ctf.css @@ -0,0 +1,203 @@ +/* Pallette: http://paletton.com/#uid=3360u0kkWtL00++bxKws6lGT03t */ + +@import "fonts/maven_pro.css"; + +html { + background: #1C1000 url(stripes.jpg) no-repeat left bottom; + background-size: cover; + min-height: 100%; + font-family: "Maven Pro", Ubuntu, sans-serif; +} + +body { + padding: 10px; + max-width: 35em; + margin: 1em auto; + border-radius: 1em; +} + +h1, h2, h3 { + color: #AD6F15; + font-family: "Maven Pro", Ubuntu, sans-serif; + font-weight: bold; +} + +h1:first-child { + color: #9E1336; + background: rgba(216, 75, 110, 0.15); + font-size: 2em; + border-radius: 0.2em; + padding: 0 0.3em; + text-align: center; +} + +.block{ + background: #FFDAA3; + background-size: 100% 100%; + color: #AD6F15; + border-radius: 0.6em; + padding: 0.2em; +} + +.readme, pre { + background-color: #FFDAA3; + border-radius: 2em; +} + + + + + + +input { + font-family: "Maven Pro", Ubuntu, sans-serif; +} + +a { + color: #1C1000; + text-decoration: underline; +} + +a:hover { + color: #9E1336; +} + +a img { + border: 0px; +} + +pre { + border: solid #ddc 2px; + padding: 0.25em; + font-family: "Ubuntu Mono", monospace; +} + +tt, code, kbd, samp { + font-family: "Ubuntu Mono", monospace; +} + + +th { + vertical-align: top; + text-align: center; +} +td { + vertical-align: top; + text-align: left; +} + +dt { + font-weight: bold; +} + +p { + line-height: 1.4em; + margin-bottom: 20px; +} + +hr { + border: 1px solid #ddc; +} + +#prompt { + color: #0E7450; + border-radius: 0.2em; +} + +#cli { + background: rgba(14, 116, 80, 0.2); + color: #00120C; + width: 100%; + border: 0px; + padding: 0.1em 0.1em; +} + + +/*** navigation bar ***/ + +nav h2 { + display: none; +} + +nav ul { + list-style: none; + text-align: center; +} + +nav li { + display: inline; +} + +nav li a { + text-transform: lowercase; + font-size: 0.9em; +} + +nav li + li:before { + content: " | "; +} + +/**** Terminal ****/ + +#terminal { + background: #FFDAA3 url("trident.jpg") no-repeat center; + background-size: 100% 100%; +} + +#terminal #output { + max-height: 20em; + overflow-y: scroll; +} + +#terminal #output::-webkit-scrollbar +{ + width: 0.7em; +} + +#terminal #output::-webkit-scrollbar-track +{ + border-radius: 0.7em; + background-color: rgba(173, 111, 21, 0.4); +} + +#terminal #output::-webkit-scrollbar-thumb +{ + border-radius: 0.7em; + background-color: #FFDAA3; + border: solid rgba(173, 111, 21, 0.4) 1px; +} + +.wide { + max-width: inherit; +} + +.figure { + margin: 0.5em 1em; + float: right; + font-size: small; + text-align: center; +} + +/* Scoreboard stuff */ + +.scoreboard, .scoreboard body { + height: 100%; + margin: 0; + padding: 0; + max-width: none; +} + +#scoreboard { + height: 60%; + font-size: 75%; +} + +#scoreboard td { + height: 100%; +} + +#chart { + height: 30%; + width: 100%; +} + diff --git a/html/ctf1.css b/html/ctf1.css new file mode 100644 index 0000000..032c858 --- /dev/null +++ b/html/ctf1.css @@ -0,0 +1,207 @@ +/* Pallette: http://paletton.com/#uid=3360u0kkWtL00++bxKws6lGT03t */ + +/**** Color Scheme ****/ +html { + background: #1C1000 url(smoke.jpg) no-repeat; + background-size: cover; + min-height: 100%; +} + +body, h1:first-child:before { + color: #FFDAA3; +} + +h1, h2, h3 { + color: #AD6F15; +} + +a { + color: #379F7A; +} + +a:hover { + color: #112; + background-color: #D84B6E; +} + +input { + color: #F39CB2; + background-color: #190006; + border: solid #9E1336 2px; + border-radius: 2px; +} + +.readme, pre { + background-color: #333; +} + +/**** document ****/ + +body { + font-family: sans-serif; + padding: 10px; + max-width: 700px; +} + +/**** heading ****/ + +h1:first-child { + text-transform: lowercase; + font-size: 1.6em; + padding: 3px; + margin: 0 0 1em 70px; +} + +h1:first-child:before { + letter-spacing: -0.1em; + content: "FIRE: "; +} + +/**** body ****/ + +a img { + border: 0px; +} + +a { + text-decoration: underline; +} + +h1, h2, h3 { + letter-spacing: -0.05em; +} + +.readme { + margin: 1em; +} + +pre { + border: solid #ddc 2px; + padding: 0.25em; +} + + +th { + vertical-align: top; + text-align: center; +} +td { + vertical-align: top; + text-align: left; +} + +dt { + font-weight: bold; +} + +p { + line-height: 1.4em; + margin-bottom: 20px; +} + +hr { + border: 1px solid #ddc; +} + + + +/*** navigation bar ***/ + +nav h2 { + display: none; +} + +nav ul { + list-style: none; + text-align: center; +} + +nav li { + display: inline; +} + +nav li a { + text-transform: lowercase; + font-size: 0.9em; +} + +nav li + li:before { + content: " | "; +} + +/**** special cases ****/ + +.wide { + max-width: inherit; +} + +.figure { + margin: 0.5em 1em; + float: right; + font-size: small; + text-align: center; +} + +/* Scoreboard stuff */ + +.scoreboard, .scoreboard body { + height: 100%; + margin: 0; + padding: 0; + max-width: none; +} + +#scoreboard { + height: 60%; + font-size: 75%; +} + +#scoreboard td { + height: 100%; +} + +#chart { + height: 30%; + width: 100%; +} + +/* Tanks stuff */ + +#battlefield { + border: 2px solid green; +} + +.solved { + text-decoration: line-through; +} + + +/* Names */ +span[data-handle]:after { + content: ")"; +} + +span[data-handle="zephyr"]:before { + content: "Neale Pickett ("; +} + +span[data-handle="pflarr"]:before { + content: "Paul Ferrell ("; +} + +span[data-handle="chamuco"]:before { + content: "Danny Quist ("; +} + +span[data-handle="cashmoney"]:before { + content: "Jeremy Scott ("; +} + +span[data-handle="phorkus"]:before { + content: "Mark Carey ("; +} + +span[data-handle="cherish"]:before { + content: "Cherish Franco ("; +} + diff --git a/html/ctf2.css b/html/ctf2.css new file mode 100644 index 0000000..1e410f9 --- /dev/null +++ b/html/ctf2.css @@ -0,0 +1,208 @@ +/* Pallette: http://paletton.com/#uid=20+0a0kfKre1ZWZ8kDVnYiuzH8l */ + +/**** Color Scheme ****/ +html { + background: #FFEABD url(smoke.jpg) no-repeat; + background-size: cover; + min-height: 100%; +} + +body, h1:first-child:before { + color: #937025; + background-opacity: 0.9; +} + +h1, h2, h3 { + color: #937025; +} + +a { + color: #422D00; +} + +a:hover { + color: #112; + background-color: #D84B6E; +} + +input { + color: #213263; + background-color: #D9B76E; + border: solid #96A1C3 0.3em; + border-radius: 2px; +} + +.readme, pre { + background-color: #333; +} + +/**** document ****/ + +body { + font-family: sans-serif; + padding: 10px; + max-width: 700px; +} + +/**** heading ****/ + +h1:first-child { + text-transform: lowercase; + font-size: 1.6em; + padding: 3px; + margin: 0 0 1em 70px; +} + +h1:first-child:before { + letter-spacing: -0.1em; + content: "FIRE: "; +} + +/**** body ****/ + +a img { + border: 0px; +} + +a { + text-decoration: underline; +} + +h1, h2, h3 { + letter-spacing: -0.05em; +} + +.readme { + margin: 1em; +} + +pre { + border: solid #ddc 2px; + padding: 0.25em; +} + + +th { + vertical-align: top; + text-align: center; +} +td { + vertical-align: top; + text-align: left; +} + +dt { + font-weight: bold; +} + +p { + line-height: 1.4em; + margin-bottom: 20px; +} + +hr { + border: 1px solid #ddc; +} + + + +/*** navigation bar ***/ + +nav h2 { + display: none; +} + +nav ul { + list-style: none; + text-align: center; +} + +nav li { + display: inline; +} + +nav li a { + text-transform: lowercase; + font-size: 0.9em; +} + +nav li + li:before { + content: " | "; +} + +/**** special cases ****/ + +.wide { + max-width: inherit; +} + +.figure { + margin: 0.5em 1em; + float: right; + font-size: small; + text-align: center; +} + +/* Scoreboard stuff */ + +.scoreboard, .scoreboard body { + height: 100%; + margin: 0; + padding: 0; + max-width: none; +} + +#scoreboard { + height: 60%; + font-size: 75%; +} + +#scoreboard td { + height: 100%; +} + +#chart { + height: 30%; + width: 100%; +} + +/* Tanks stuff */ + +#battlefield { + border: 2px solid green; +} + +.solved { + text-decoration: line-through; +} + + +/* Names */ +span[data-handle]:after { + content: ")"; +} + +span[data-handle="zephyr"]:before { + content: "Neale Pickett ("; +} + +span[data-handle="pflarr"]:before { + content: "Paul Ferrell ("; +} + +span[data-handle="chamuco"]:before { + content: "Danny Quist ("; +} + +span[data-handle="cashmoney"]:before { + content: "Jeremy Scott ("; +} + +span[data-handle="phorkus"]:before { + content: "Mark Carey ("; +} + +span[data-handle="cherish"]:before { + content: "Cherish Franco ("; +} + diff --git a/html/fonts/maven_pro.css b/html/fonts/maven_pro.css new file mode 100755 index 0000000..32cd48c --- /dev/null +++ b/html/fonts/maven_pro.css @@ -0,0 +1,50 @@ +/* +@font-face { + font-family: 'Maven Pro'; + src: url('maven_pro_black-webfont.eot'); + src: url('maven_pro_black-webfont.eot?#iefix') format('eot'), + url('maven_pro_black-webfont.woff') format('woff'), + url('maven_pro_black-webfont.ttf') format('truetype'), + url('maven_pro_black-webfont.svg#webfontXhB2DgBK') format('svg'); + font-weight: 900; + font-style: normal; + +} +/* + +@font-face { + font-family: 'Maven Pro'; + src: url('maven_pro_medium-webfont.eot'); + src: url('maven_pro_medium-webfont.eot?#iefix') format('eot'), + url('maven_pro_medium-webfont.woff') format('woff'), + url('maven_pro_medium-webfont.ttf') format('truetype'), + url('maven_pro_medium-webfont.svg#webfontNj5iy4Dl') format('svg'); + font-weight: 500; + font-style: normal; + +} + +@font-face { + font-family: 'Maven Pro'; + src: url('maven_pro_bold-webfont.eot'); + src: url('maven_pro_bold-webfont.eot?#iefix') format('eot'), + url('maven_pro_bold-webfont.woff') format('woff'), + url('maven_pro_bold-webfont.ttf') format('truetype'), + url('maven_pro_bold-webfont.svg#webfontNOU7iUTL') format('svg'); + font-weight: 700; + font-style: normal; + +} + +@font-face { + font-family: 'Maven Pro'; + src: url('maven_pro_regular-webfont.eot'); + src: url('maven_pro_regular-webfont.eot?#iefix') format('eot'), + url('maven_pro_regular-webfont.woff') format('woff'), + url('maven_pro_regular-webfont.ttf') format('truetype'), + url('maven_pro_regular-webfont.svg#webfontOM8fITNz') format('svg'); + font-weight: 400; + font-style: normal; + +} + diff --git a/html/fonts/maven_pro_black-webfont.eot b/html/fonts/maven_pro_black-webfont.eot new file mode 100755 index 0000000..c7091c1 Binary files /dev/null and b/html/fonts/maven_pro_black-webfont.eot differ diff --git a/html/fonts/maven_pro_black-webfont.svg b/html/fonts/maven_pro_black-webfont.svg new file mode 100755 index 0000000..456f336 --- /dev/null +++ b/html/fonts/maven_pro_black-webfont.svg @@ -0,0 +1,245 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2011 by Vissol Ltd All rights reserved +Designer : Joe Prince +Foundry : Joe Prince + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/fonts/maven_pro_black-webfont.ttf b/html/fonts/maven_pro_black-webfont.ttf new file mode 100755 index 0000000..22cebdf Binary files /dev/null and b/html/fonts/maven_pro_black-webfont.ttf differ diff --git a/html/fonts/maven_pro_black-webfont.woff b/html/fonts/maven_pro_black-webfont.woff new file mode 100755 index 0000000..ae8fba0 Binary files /dev/null and b/html/fonts/maven_pro_black-webfont.woff differ diff --git a/html/fonts/maven_pro_bold-webfont.eot b/html/fonts/maven_pro_bold-webfont.eot new file mode 100755 index 0000000..6f4a488 Binary files /dev/null and b/html/fonts/maven_pro_bold-webfont.eot differ diff --git a/html/fonts/maven_pro_bold-webfont.svg b/html/fonts/maven_pro_bold-webfont.svg new file mode 100755 index 0000000..7f24bdb --- /dev/null +++ b/html/fonts/maven_pro_bold-webfont.svg @@ -0,0 +1,245 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2011 by Vissol Ltd All rights reserved +Designer : Joe Prince +Foundry : Joe Prince + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/fonts/maven_pro_bold-webfont.ttf b/html/fonts/maven_pro_bold-webfont.ttf new file mode 100755 index 0000000..7682e5b Binary files /dev/null and b/html/fonts/maven_pro_bold-webfont.ttf differ diff --git a/html/fonts/maven_pro_bold-webfont.woff b/html/fonts/maven_pro_bold-webfont.woff new file mode 100755 index 0000000..3eea8ae Binary files /dev/null and b/html/fonts/maven_pro_bold-webfont.woff differ diff --git a/html/fonts/maven_pro_medium-webfont.eot b/html/fonts/maven_pro_medium-webfont.eot new file mode 100755 index 0000000..0eb177c Binary files /dev/null and b/html/fonts/maven_pro_medium-webfont.eot differ diff --git a/html/fonts/maven_pro_medium-webfont.svg b/html/fonts/maven_pro_medium-webfont.svg new file mode 100755 index 0000000..532bf53 --- /dev/null +++ b/html/fonts/maven_pro_medium-webfont.svg @@ -0,0 +1,245 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2011 by Vissol Ltd All rights reserved +Designer : Joe Prince +Foundry : Joe Prince + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/fonts/maven_pro_medium-webfont.ttf b/html/fonts/maven_pro_medium-webfont.ttf new file mode 100755 index 0000000..a930700 Binary files /dev/null and b/html/fonts/maven_pro_medium-webfont.ttf differ diff --git a/html/fonts/maven_pro_medium-webfont.woff b/html/fonts/maven_pro_medium-webfont.woff new file mode 100755 index 0000000..a2737c3 Binary files /dev/null and b/html/fonts/maven_pro_medium-webfont.woff differ diff --git a/html/fonts/maven_pro_regular-webfont.eot b/html/fonts/maven_pro_regular-webfont.eot new file mode 100755 index 0000000..a9b38de Binary files /dev/null and b/html/fonts/maven_pro_regular-webfont.eot differ diff --git a/html/fonts/maven_pro_regular-webfont.svg b/html/fonts/maven_pro_regular-webfont.svg new file mode 100755 index 0000000..6f5deb3 --- /dev/null +++ b/html/fonts/maven_pro_regular-webfont.svg @@ -0,0 +1,245 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2011 by Vissol Ltd All rights reserved +Designer : Joe Prince +Foundry : Joe Prince + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/fonts/maven_pro_regular-webfont.ttf b/html/fonts/maven_pro_regular-webfont.ttf new file mode 100755 index 0000000..fae9c6a Binary files /dev/null and b/html/fonts/maven_pro_regular-webfont.ttf differ diff --git a/html/fonts/maven_pro_regular-webfont.woff b/html/fonts/maven_pro_regular-webfont.woff new file mode 100755 index 0000000..3c27f73 Binary files /dev/null and b/html/fonts/maven_pro_regular-webfont.woff differ diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..d4c877c --- /dev/null +++ b/html/index.html @@ -0,0 +1,29 @@ + + + + + Welcome + + + + + +

Tracer FIRE 6E

+ +
+
+ WOPR% + +
+ + diff --git a/html/js/terminal.js b/html/js/terminal.js new file mode 100644 index 0000000..12c5d37 --- /dev/null +++ b/html/js/terminal.js @@ -0,0 +1,54 @@ +var baud = 1200; + +function tx(element, text, baud_) { + var drawTimer; + baud_ = baud_ || baud; + + var sp = false; + function draw() { + c = text[0]; + if ((c == " ") || (c == "\n")) { + sp = true; + c = " "; + } else if (sp) { + c = " " + c; + sp = false; + } + element.textContent += c; + text = text.substr(1); + if (text == "") { + clearInterval(drawTimer); + return; + } + } + + // N81 uses 1 stop bit, and 1 parity bit. + // That works out to exactly 10 bits per byte. + msec = 10000 / baud_; + + drawTimer = setInterval(draw, msec); + draw(); +} + + +var outq = []; +var outTimer; + +function drawPar() { + oute = document.getElementById("output"); + outp = document.createElement("p"); + + oute.appendChild(outp); + tx(outp, outq.shift()); + if (outq.length == 0) { + clearInterval(outTimer); + } +} + +function output(par) { + outq = outq.concat(par); + if (! outTimer) { + outTimer = setInterval(drawPar, 150); + } +} + diff --git a/html/scoreboard.html b/html/scoreboard.html new file mode 100644 index 0000000..062a087 --- /dev/null +++ b/html/scoreboard.html @@ -0,0 +1,12 @@ + + + + Scoreboard + + + + +

Scoreboard

+ + + diff --git a/html/smoke.jpg b/html/smoke.jpg new file mode 100644 index 0000000..79a20f2 Binary files /dev/null and b/html/smoke.jpg differ diff --git a/html/stripes.jpg b/html/stripes.jpg new file mode 100644 index 0000000..7396b56 Binary files /dev/null and b/html/stripes.jpg differ diff --git a/html/trident.jpg b/html/trident.jpg new file mode 100644 index 0000000..63639ae Binary files /dev/null and b/html/trident.jpg differ