Go live - open to the public.

This commit is contained in:
Condorra 2023-02-20 23:13:02 +11:00
parent 877362e7a1
commit 8f2ad36c2a
3 changed files with 2 additions and 8 deletions

View File

@ -25,11 +25,6 @@
<div id="console" style="min-height: 40pt; flex: 1">&nbsp;</div> <div id="console" style="min-height: 40pt; flex: 1">&nbsp;</div>
<div style="min-height: 15pt"></div> <div style="min-height: 15pt"></div>
</div> </div>
<div id="notyet" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%">
<div style="display: block; padding: 10px; background: white; width: 80%; margin-left: auto; margin-right: auto; margin-top: 10%; border-radius: 10px;">
Sorry, this game is not yet available for play.
</div>
</div>
<div id="overlay_over18" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%"> <div id="overlay_over18" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%">
<div style="display: block; padding: 10px; background: white; width: 80%; margin-left: auto; margin-right: auto; margin-top: 10%; border-radius: 10px;"> <div style="display: block; padding: 10px; background: white; width: 80%; margin-left: auto; margin-right: auto; margin-top: 10%; border-radius: 10px;">
<h1>You must be 18+ to play Blastmud</h1> <h1>You must be 18+ to play Blastmud</h1>

View File

@ -16,8 +16,8 @@ and is written in Rust, with contributions from the community encouraged.
# Get started # Get started
* <i class="bi-cursor-text"></i> Mud client: game.blastmud.org port 2300 (not yet open). * <i class="bi-cursor-text"></i> Mud client: game.blastmud.org port 2300.
* [<i class="bi-browser-firefox"></i> Play in browser](game.html) (not yet open). * [<i class="bi-browser-firefox"></i> Play in browser](game.html).
* [<i class="bi-android2"></i> Play on Android](https://play.google.com/store/apps/details?id=org.blastmud.game) (coming soon). * [<i class="bi-android2"></i> Play on Android](https://play.google.com/store/apps/details?id=org.blastmud.game) (coming soon).
* [<i class="bi-book"></i> Our theme](theme) * [<i class="bi-book"></i> Our theme](theme)
* [<i class="bi-git"></i> Developer guide & source](developer) * [<i class="bi-git"></i> Developer guide & source](developer)

View File

@ -71,7 +71,6 @@ if ('serviceWorker' in navigator) navigator.serviceWorker.register('service-work
if (params["source"] && params["source"] === "android") { if (params["source"] && params["source"] === "android") {
isScreened = true; isScreened = true;
sendLessExplicit = true; sendLessExplicit = true;
document.getElementById("notyet").style.display = 'none';
} }
if (isScreened || window.localStorage['over18']) { if (isScreened || window.localStorage['over18']) {