diff options
author | Mark Powers <markppowers0@gmail.com> | 2020-04-07 14:17:24 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2020-04-07 14:17:24 -0500 |
commit | 1bffb064e2414ced5b1924a4f9fbd822a09c718e (patch) | |
tree | f0e4a0a8d9a6f4f58619329bf408fe9bf7d1dd4c /src/ur/index.html |
Initial commit
Diffstat (limited to 'src/ur/index.html')
-rw-r--r-- | src/ur/index.html | 27 |
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 |