about summary refs log tree commit diff stats
path: root/js/gg/index.html
blob: 04b2a52cb0dd775642ad725ca30715c213869b67 (plain) (blame)
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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Hello, world!</title>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="styles.css" />
    <script src="game.js"></script>
  </head>
  <body>
    <canvas
      id="targetCanvas"
      width="512"
      height="512"
      style="border: 1px solid #000000"
    >
    </canvas>
    <div class="flex-container">
      <fieldset id="dPad" class="flex-item">
        <button id="dUp">Up</button>
        <br />
        <button id="dLeft">Left</button>
        <button id="dRight">Right</button>
        <br />
        <button id="dDown">Down</button>
      </fieldset>
      <fieldset id="ab" class="flex-item">
        <button id="a">A</button>
        <button id="b">B</button>
      </fieldset>
    </div>
    <fieldset id="aux">
      <button id="start">Start</button>
      <button id="select">Select</button>
    </fieldset>
  </body>
</html>