aboutsummaryrefslogtreecommitdiff
path: root/src/ur/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/ur/index.html')
-rw-r--r--src/ur/index.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ur/index.html b/src/ur/index.html
new file mode 100644
index 0000000..809ed3d
--- /dev/null
+++ b/src/ur/index.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+
+<head>
+ <title>Royal Game of Ur</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="/ur/main.js"></script>
+ <link rel="stylesheet" type="text/css" href="/ur/styles.css">
+</head>
+
+<body>
+ <div id="data">
+ <h1 v-if="status">{{status}}</h1>
+
+ <canvas id="canvas" width="401" height="301"></canvas>
+
+ <div>
+ <button v-on:click="newGame">{{this.playing ? 'Forfeit' : 'New Game'}}</button>
+ </div>
+ </div>
+</body>
+
+</html> \ No newline at end of file