mirror of https://github.com/dirtbags/moth.git
Fix scoreboard, update some documentation
This commit is contained in:
parent
41c0f17121
commit
e8942d08b5
|
@ -34,11 +34,11 @@ function head() {
|
||||||
print "<!DOCTYPE html>"
|
print "<!DOCTYPE html>"
|
||||||
print "<html><head><title>Project 2 Scoreboard</title>"
|
print "<html><head><title>Project 2 Scoreboard</title>"
|
||||||
print "<meta http-equiv=\"refresh\" content=\"60\">"
|
print "<meta http-equiv=\"refresh\" content=\"60\">"
|
||||||
|
print "<link rel=\"stylesheet\" href=\"ctf.css\" type=\"text/css\">"
|
||||||
print "<style>"
|
print "<style>"
|
||||||
print "html {background: black url(\"p2inv.png\") no-repeat top center; background-size: contain; min-height: 100%; color: white;}"
|
print "body {opacity: 0.9; margin: 0; padding: 0; max-width: inherit;}"
|
||||||
print "body {background: black; opacity: 0.92; margin: 0;}"
|
print "p {margin: 0; padding:0; line-height: inherit;}"
|
||||||
print "p {margin: 0;}"
|
print "span {display: inline-block; margin: 0; border: 0; padding: 0;}"
|
||||||
print "span {display: inline-block; margin: 0; border: 0;}"
|
|
||||||
print ".cat0 {background-color: #a6cee3; color: black;}"
|
print ".cat0 {background-color: #a6cee3; color: black;}"
|
||||||
print ".cat1 {background-color: #1f78b4;}"
|
print ".cat1 {background-color: #1f78b4;}"
|
||||||
print ".cat2 {background-color: #b2df8a; color: black;}"
|
print ".cat2 {background-color: #b2df8a; color: black;}"
|
||||||
|
@ -61,14 +61,6 @@ function foot() {
|
||||||
|
|
||||||
|
|
||||||
print " </div>"
|
print " </div>"
|
||||||
print " <pre style=\"position: fixed; bottom: 0; left: 20%; font-size: 250%;"
|
|
||||||
print " opacity: 0.8; background-color: black\">"
|
|
||||||
print "Project 2<br>"
|
|
||||||
print "<p>A CTF for people with limited time/patience/self-confidence.</p>"
|
|
||||||
print "<p>Plug in ethernet at this table, download puzzles, go think.</p>"
|
|
||||||
print "<p>http://10.0.0.2/</p>"
|
|
||||||
print "<p>Use the terminal to claim points when you've figured something out.</p>"
|
|
||||||
print " </pre>"
|
|
||||||
print " </body>"
|
print " </body>"
|
||||||
print "</body></html>"
|
print "</body></html>"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,34 +7,30 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>Credits</h1>
|
<h1>Credits</h1>
|
||||||
|
|
||||||
<p>Dirtbags Capture the Flag is brought to you by:</p>
|
<p>Dirtbags King of the Hill was created by:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>The number C</li>
|
<li>Neale Pickett</li>
|
||||||
<li>The letters ع and ֆ</li>
|
<li>Aaron McPhall</li>
|
||||||
</ul>
|
<li>Russel Nolen</li>
|
||||||
|
<li>Patrick Avery</li>
|
||||||
<p>And by:</p>
|
<li>Kate Vajda</li>
|
||||||
<ul>
|
|
||||||
<li>Alex Brugh</li>
|
<li>Alex Brugh</li>
|
||||||
<li>Paul Ferrell</li>
|
<li>Paul Ferrell</li>
|
||||||
<li>Jeremy Scott</li>
|
<li>Jeremy Scott</li>
|
||||||
<li>Danny Quist</li>
|
<li>Danny Quist</li>
|
||||||
<li>Adam Glasgall</li>
|
<li>Adam Glasgall</li>
|
||||||
<li>Curtis Hash</li>
|
<li>Curtis Hash</li>
|
||||||
<li>Patrick Avery</li>
|
|
||||||
<li>Aaron McPhall</li>
|
|
||||||
<li>Patrick Avery</li>
|
|
||||||
<li>Erin Ochoa</li>
|
<li>Erin Ochoa</li>
|
||||||
<li>William Phillips</li>
|
<li>William Phillips</li>
|
||||||
<li>Should your name be here? Please remind me!</li>
|
<li>Should your name be here? Please remind me!</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Parts of this contest were inspired by:</p>
|
<p>Parts of this contest were inspired by contests from:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>DC949</li>
|
<li>DC949</li>
|
||||||
<li>Tube Warriors</li>
|
<li>Tube Warriors</li>
|
||||||
<li>Bad people from around the world (screw you guys, seriously)</li>
|
<li>Sandia National Laboratories</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Lastly, this contest would not exist were it not for hundreds of
|
<p>Lastly, this contest would not exist were it not for hundreds of
|
||||||
|
@ -48,5 +44,11 @@
|
||||||
<li>ngircd</li>
|
<li>ngircd</li>
|
||||||
<li>lua</li>
|
<li>lua</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Special thanks to <a href="http://linode.com/">Linode</a>,
|
||||||
|
for running the public version of the contest.
|
||||||
|
You guys are awesome!
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -8,15 +8,25 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>About scoring</h1>
|
<h1>About scoring</h1>
|
||||||
<p>
|
<p>
|
||||||
The contest is made up of multiple categories. Each category is
|
The contest is made up of multiple categories.
|
||||||
worth one point toward the total score; the percentage of the
|
Each category is worth one point toward the total score;
|
||||||
total points held by your team is the percentage of one point your
|
your team's score in a category is the fraction of the total points unlocked so far in that category.
|
||||||
team has for that category. The team that has 30% of the points
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The team that has 30% of the points
|
||||||
in each of five categories has 1.5 points, whereas the team that
|
in each of five categories has 1.5 points, whereas the team that
|
||||||
has 80% of the points in only one category has 0.8 points. It is
|
has 80% of the points in only one category has 0.8 points. It is
|
||||||
typically better to have a few points in many categories, than
|
typically better to have a few points in many categories, than
|
||||||
many points in a few categories.
|
many points in a few categories.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When points are unlocked in a category,
|
||||||
|
every other team's score in that category goes down until they too score that point.
|
||||||
|
Unlike previous years, however,
|
||||||
|
unlocking points is the only way to reduce another team's score.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
There are two main ways to make points: <em>puzzles</em>
|
There are two main ways to make points: <em>puzzles</em>
|
||||||
|
@ -65,23 +75,6 @@
|
||||||
see if the token changes.
|
see if the token changes.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Reading the scoreboard</h2>
|
|
||||||
<p>
|
|
||||||
The <a href="scoreboard.html">scoreboard</a> shows total score on
|
|
||||||
the left, and scores within each category. If you have a smaller
|
|
||||||
or more novice team, you may wish to ignore total rankings and
|
|
||||||
strive to do well within only a few categories.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
If your browser supports the HTML5 canvas (Firefox, Safari,
|
|
||||||
Chrome, Opera, iPhone, Android) and JavaScript, the scoreboard
|
|
||||||
will also have a graph of scores over time. Additionally,
|
|
||||||
JavaScript-enabled browsers will highlight all point blocks
|
|
||||||
belonging to a team, and a team's line on the graph, when the
|
|
||||||
mouse cursor is over a point block.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>About time</h2>
|
<h2>About time</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue