summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorCoreChg <corechg@gmail.com>2018-09-21 18:09:27 -0400
committerGitHub <noreply@github.com>2018-09-21 18:09:27 -0400
commit6f9e0a05b80afb0d1cf1b5b0db21bf8d1caa1cc8 (patch)
tree69edbdaa232b40818dee72e585165c6b1ebaff06 /index.html
parent985dd6e9c26b37201939ccb0de54ee8a7ebf5f3b (diff)
Version 1.0
Initial release
Diffstat (limited to 'index.html')
-rw-r--r--index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..662b4ee
--- /dev/null
+++ b/index.html
@@ -0,0 +1,34 @@
+<!Doctype HTML>
+<html>
+ <head>
+ <meta charset="utf-8">
+
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
+ <link rel="stylesheet" type="text/css" href="./mines.css"/>
+
+ <script src="./mines.js"></script>
+ </head>
+ <body>
+ <div class="selector">
+ <label>Width: </label> <input id="x" min="4" value="6" type="number"></input>
+ <br>
+ <label>Height: </label> <input id="y" min="4" value="6" type="number"></input>
+ <br>
+ <label>Mines: </label> <input id="m" min="2" value="5" type="number"></input>
+ </div>
+ <br>
+ <div class="game">
+ <h1 id="mines">0</h1><button id="circle" onclick="game.reset()"></button><h1 id="time">0</h1>
+ <br>
+ <table>
+ <tbody id="gtable"><tr><td class="wt">&#9673</td></tr></tbody>
+ </table>
+ </div>
+ <script>
+ var xIn = document.getElementById("x");
+ var yIn = document.getElementById("y");
+ var mIn = document.getElementById("m");
+ var game = new Board();
+ </script>
+ </body>
+</html> \ No newline at end of file