aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Wofford <max@maxwofford.com>2016-03-06 04:38:22 -0500
committerMax Wofford <max@maxwofford.com>2016-03-06 06:30:44 -0500
commitb6af2abf2d74925da2dd1c4c3949b2107c78d214 (patch)
treea1ae003b5fffd7044dc940819847f0eab10a78bb
parent0fb8d368a85082fe4cd45d751d5d9feca78f1380 (diff)
downloadsshtron-b6af2abf2d74925da2dd1c4c3949b2107c78d214.tar.gz
Replace server crash message with high score
-rw-r--r--static/index.html4
-rw-r--r--static/styles.css4
2 files changed, 7 insertions, 1 deletions
diff --git a/static/index.html b/static/index.html
index e6406d0..316f699 100644
--- a/static/index.html
+++ b/static/index.html
@@ -26,8 +26,10 @@
Run the following your terminal to play Tron with players from around the
world.
</p>
+ <p class="subtext hidden">* As long as the server doesn't crash</p>
<p class="description"><code><span class="no-copy">$</span> ssh sshtron.zachlatta.com</code></p>
- <p class="subtext">* As long as the server doesn't crash</p>
+ <p>Total playtime: <span id="total-playtime">0</span>s</p>
+ <p>High score: <span id="high-score">0</span>s</p>
<p class="subtext">
By <a href="https://github.com/maxwofford">@MaxWofford</a> and
<a href="https://github.com/zachlatta">@zachlatta</a>.
diff --git a/static/styles.css b/static/styles.css
index 9a7c2a3..f60694f 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -74,6 +74,10 @@ p {
opacity: 0.8;
}
+.subtext.hidden {
+ color: black;
+}
+
.icon {
display: inline-block;
text-indent: -9999px;
Un proyecto texto-plano.xyz