repl.it
@SagaciousPan/

The Dark Ages [Text Adventure] Version 1.0

HTML, CSS, JS

- FINALLY A WEB TEXT ADVENTURE - Not a lot of content

fork
loading
Files
  • index.html
  • css
  • font
  • img
  • js
  • BGM_01.mp3
  • game_old.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Text Adventure</title>
  
  <link rel="stylesheet" href="css/style.css">

</head>

<body>
  <a class="button" href="#" style="display: inline;" onclick="window.open('game_old.html');">Python Version</a>
  <a class="button" href="#" style="display: inline;" onclick="audioSwitch()">&nbsp;♫&nbsp;</a>
  <div class="tooltip">Text Speed:
    <span class="tooltiptext">This Setting Starts at the begining of the next printed paragraph.</span>
  </div>
  <a class="button" href="#" style="display: inline;" onclick="txtSp(10)">Fast</a>
  <a class="button" href="#" style="display: inline;" onclick="txtSp(50)">Defualt</a>
  <a class="button" href="#" style="display: inline;" onclick="txtSp(80)">Slow</a>
  <div id="BGMPlayer"></div>
  <div id="main_div">
      <h1 id="title">The Dark Ages</h1>
      <hr/><br/>
      <div id="game_div">
      </div>
  </div>
</body>

  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
  <script  src="js/index.js"></script>

</html>
result
console