44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
<!doctype html>
|
|
<!--
|
|
Made with :3c by MindfulMinun
|
|
https://benjic.xyz
|
|
-->
|
|
<html class="no-js" lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>A text-based game</title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="theme-color" content="#0F0">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,300i,400,400i&display=swap">
|
|
<link rel="stylesheet" href="/game.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<!-- <div id="terminal" class="terminal"><noscript class="terminal--line" style="text-indent: 0; padding-left: 0;"> Quit being paranoid and enable JavaScript. </noscript></div> -->
|
|
<div id="terminal" class="terminal">
|
|
<div class="terminal-line">
|
|
<button class="terminal-btn">Start</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script src="/helpers.js"></script>
|
|
<script src="/en.js"></script>
|
|
<script>
|
|
H.choice({
|
|
choices: [{
|
|
content: "Start",
|
|
callback: function () {
|
|
en.$1()
|
|
.then(function () {
|
|
console.log("Dang, the game ended. That\u2019s weird.");
|
|
})
|
|
["catch"](function () {
|
|
H.out("An error occurred, I hope Monika has nothing to do with this.");
|
|
});
|
|
},
|
|
}]
|
|
});
|
|
</script>
|
|
</html> |