aboutsummaryrefslogtreecommitdiff
path: root/src/quadrowple/index.html
blob: 574ffcad6a57ddfa3785e624751fb1cdca59867f (plain)
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
<!doctype html>
<html lang="en">

<head>
    <title>Quad-row-ple</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="shortcut icon" href="/favicon.ico">
    <!-- <script src="https://cdn.jsdelivr.net/npm/vue"></script> -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="/quadrowple/main.js"></script>
    <link rel="stylesheet" type="text/css" href="/quadrowple/styles.css">
</head>

<body>
    <div id="data">
        <h1 v-if="status">{{status}}</h1>

        <canvas id="canvas" width="351" height="301"></canvas>

        <div>
            <button v-on:click="newGame">{{this.playing ? 'Forfeit' : 'New Game'}}</button>
        </div>
    </div>
</body>

</html>