Update for latest classification

This commit is contained in:
Condorra 2023-12-28 22:05:02 +11:00
parent 7d8b7ad620
commit dffd01fb18
6 changed files with 4001 additions and 8108 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ assets/main.js
dist dist
node_modules node_modules
assets/xterm.css assets/xterm.css
hugo-static/.hugo_build.lock

View File

@ -17,7 +17,6 @@
</style> </style>
<link rel="stylesheet" href="xterm.css" /> <link rel="stylesheet" href="xterm.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
</head> </head>
<body style="background: black; height: 100%; width: 100%; position: fixed; border: 0px; margin: 0px; padding: 0px;"> <body style="background: black; height: 100%; width: 100%; position: fixed; border: 0px; margin: 0px; padding: 0px;">
<div style="background: black; color: white; display: flex; flex-direction: column; margin: 0px; height: 100%; width: 100%"> <div style="background: black; color: white; display: flex; flex-direction: column; margin: 0px; height: 100%; width: 100%">
@ -25,17 +24,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="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;">
<h1>You must be 18+ to play Blastmud</h1>
<p>This game is restricted to adults (18 years or above). It contains violence,
sex scenes, and online interactions with other adults.</p>
<div style="text-align: right">
<a class="button" href="https://google.com/">I'm under 18</a>
<a class="button" href="#" onclick="over18();">I'm 18 or over</a>
</div>
</div>
</div>
</body> </body>
<script src="main.js"></script> <script src="main.js"></script>
</html> </html>

View File

@ -5,7 +5,7 @@ draft: false
# Blastmud # Blastmud
Blastmud is a multi-player text-based post-apocalyptic game (MUD) for adults only. Blastmud is a multi-player text-based post-apocalyptic game (MUD).
It has player-vs-enemy and opt-in player-vs-player fighting. It has player-vs-enemy and opt-in player-vs-player fighting.
You can play it with a MUD client (or telnet), in your web browser, or on your Android You can play it with a MUD client (or telnet), in your web browser, or on your Android
device. Your aim is to survive and thrive in a harsh world filled with things device. Your aim is to survive and thrive in a harsh world filled with things

View File

@ -37,12 +37,11 @@ the LICENSE file) as the other code in the repository you are contributing to.
## Rules to increase the chances your change will be accepted ## Rules to increase the chances your change will be accepted
* The game must stay within [the guidelines](https://www.legislation.gov.au/Details/F2012L01934) to be rated as R18 in Australia, rather than Refused Classification (i.e. illegal to distribute in Australia). No content that would make it RC can be accepted - this includes any content about any form of sexual violence, characters under 18 years of age (due to the interaction with the nature of this game), detailed instruction or promotion in crime or violence, incest or hard fetishes, or incentivised drug use (including any kind of buff from anything that could be construed as drugs). No PRs or other content of the kind described under this point may be submitted to any Blastmud resource (i.e. this restriction does not apply solely to PRs for the main branch). * The game must stay within [the guidelines](https://www.legislation.gov.au/Details/F2023L01424) to be rated as PG in Australia, rather than M, MA15+, R18+ or Refused Classification (i.e. illegal to distribute in Australia). No content that would make it RC can be accepted - this includes any content about any form of sexual violence, characters under 18 years of age (due to the interaction with the nature of this game), detailed instruction or promotion in crime or violence, incest or hard fetishes, or incentivised drug use (including any kind of buff from anything that could be construed as drugs). No PRs or other content of the kind described under this point may be submitted to any Blastmud resource (i.e. this restriction does not apply solely to PRs for the main branch). To avoid a higher classification, it is also necessary that violence remains mild and infrequent (taking the game as a whole), and that there is nothing more than infrequent discreet references to sexual activity (and not related to incentives / rewards).
* Your change shouldn't compromise security or privacy. It shouldn't create a risk that users can execute arbitrary code, access confidential information, misuse resources, or deny service to users. It should respect the privacy of users and not use personally-linked information for any purpose not mentioned in the privacy policy. It should not leak secrets such as deployment keys or the actual IP addresses of the systems on which Blastmud is deployed (other than the public proxy). * Your change shouldn't compromise security or privacy. It shouldn't create a risk that users can execute arbitrary code, access confidential information, misuse resources, or deny service to users. It should respect the privacy of users and not use personally-linked information for any purpose not mentioned in the privacy policy. It should not leak secrets such as deployment keys or the actual IP addresses of the systems on which Blastmud is deployed (other than the public proxy).
* Your change should be appropriate to the theme of the game. * Your change should be appropriate to the theme of the game.
* Your change should be safe to roll-back if it doesn't work correctly (if this is genuinely not possible, please discuss it with us). * Your change should be safe to roll-back if it doesn't work correctly (if this is genuinely not possible, please discuss it with us).
* Your game should ensure the game remains balanced and fair both for players who primarily want to engage in PvE play, and those who want to engage in PvP with other willing participants. * Your game should ensure the game remains balanced and fair both for players who primarily want to engage in PvE play, and those who want to engage in PvP with other willing participants.
* Your change should not promote play by people under 18, nor help people under 18 circumvent any restrictions on their access to the game. Note: such content is unacceptable on any Blastmud hosted resource, not just as a PR submission to the main branch.
## Setting up a blastmud development environment ## Setting up a blastmud development environment

11830
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -55,24 +55,7 @@ function connectTerm() {
}); });
} }
declare global {
interface Window { over18: () => void; }
}
window.over18 = () => {
document.getElementById("overlay_over18").style.display = 'none';
isScreened = true;
window.localStorage['over18'] = true;
term.focus();
connectTerm();
}
if ('serviceWorker' in navigator) navigator.serviceWorker.register('service-worker.js'); if ('serviceWorker' in navigator) navigator.serviceWorker.register('service-worker.js');
if (params["source"] && params["source"] === "android") { if (params["source"] && params["source"] === "android") {
isScreened = true;
sendLessExplicit = true; sendLessExplicit = true;
} }
if (isScreened || window.localStorage['over18']) {
window.over18();
}