repl.it
HTML, CSS, JS

an adventure game using only your keyboard skills.

fork
loading
Files
  • index.html
  • bossfight.wav
  • entities.js
  • explosion.wav
  • script.js
  • style.css
  • tools.js
  • typables.js
  • typeSound.wav
  • words.js
  • wrongCharacter.wav
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
35
36
<!DOCTYPE html>
<!-- This HTML is valid! https://validator.w3.org/unicorn/check?ucn_uri=www.type.gq -->
<html lang="en">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>Type</title>
	<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
	<link href="style.css" rel="stylesheet" type="text/css">
	<script src="words.js">

	</script>
	<script src="typables.js">

	</script>
	<script src="entities.js">

	</script>
	<script src="tools.js">

	</script>
	<script src="script.js">

	</script>
</head>

<body>
	<canvas id="canvas"></canvas>
	<input id="input" maxlength="28">
    <audio id="type-sound" src="typeSound.wav"></audio>
    <audio id="explosion-sound" src="explosion.wav"></audio>
    <audio id="wrong-sound" src="wrongCharacter.wav"></audio>
    <audio id="bossfight-sound" loop src="bossfight.wav"></audio>
  </body>
</html>
result
console