-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (73 loc) · 3.71 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CHIP-8</title>
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<pre class="logo">
@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@@ @@@@@@
@@@ @@@@@@@ @@@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@@@
@@! !@@ !@@ @@! @@@ @@! @@! @@@ @@! @@@
!@! !@! !@! !@! @!@ !@! !@! @!@ !@! @!@
!!@ !!@@!! !@! @!@!@!@! !!@ @!@@!@! @!@!@!@!@ !@!!@!
!!! !!@!!! !!! !!!@!!!! !!! !!@!!! !!!@!@!!! !!@!!!
!!: !:! :!! !!: !!! !!: !!: !!: !!!
!!: :!: !:! :!: :!: !:! :!: :!: :!: !:!
::: : :: :::: :: ::: ::: :: ::: :: :: ::::: ::
: ::: :: : : :: :: : : : : : : : : :
</pre>
<section>
<div style="width:640px; margin:0 auto;">
<canvas id="canvas"></canvas>
</div>
</section>
<section id="input">
<div id="panel">
<div class="config" data-key="1" style="font-family: 'oswald';">Speed Up!</div>
<div class="config" data-key="0" style="font-family: 'oswald';">Reset Speed</div>
</div>
<div id="controller">
<div class="key" data-key="1">1</div>
<div class="key" data-key="2">2</div>
<div class="key" data-key="3">3</div>
<div class="key" data-key="12">C</div>
<div class="key" data-key="4">4</div>
<div class="key" data-key="5">5</div>
<div class="key" data-key="6">6</div>
<div class="key" data-key="13">D</div>
<div class="key" data-key="7">7</div>
<div class="key" data-key="8">8</div>
<div class="key" data-key="9">9</div>
<div class="key" data-key="14">E</div>
<div class="key" data-key="10">A</div>
<div class="key" data-key="0">0</div>
<div class="key" data-key="11">B</div>
<div class="key" data-key="15">F</div>
</div>
<div id="rom">
<select id='rom-select'>
<option value>SELECT ROM TO PLAY!</option>
<option value="snake.ch8">SNAKE</option>
<option value="breakout.ch8">BREAKOUT</option>
<option value="guess.ch8">GUESS</option>
<option value="pumpkindressup.ch8">PUMPKIN DRESS</option>
<option value="SpaceInvader.ch8">SPACE INVADERS</option>
<option value="spacejam.ch8">SPACE JAM</option>
<option value="pong1.ch8">PONG 1 PLAYERS</option>
<option value="1dcell.ch8">WOLFFRAM_CA</option>
</select>
<div id="instruct">
<h2 class="instructions">How to play?</h2>
<p class="instructions">Select your game and<br>the instruction will appear!
</p>
</div>
</div>
</section>
<p id="article" style="text-align: center;"><a href="https://medium.com/@phuritsiritip/ab1a90dd85d1">Read the article</a></p>
<script src="bundle.js"></script>
</body>
</html>