summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2018-09-22 13:07:54 -0400
committerKyle Gunger <corechg@gmail.com>2018-09-22 13:07:54 -0400
commit564d33ac255212d83e09850e5e479a2844862202 (patch)
treeece4b36647742b1a7985be4abb57f68150f0b166 /index.html
parent6f9e0a05b80afb0d1cf1b5b0db21bf8d1caa1cc8 (diff)
+ difficulty selector
+ cursor change on the game status indicator
Diffstat (limited to 'index.html')
-rw-r--r--index.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/index.html b/index.html
index 662b4ee..1ceeedb 100644
--- a/index.html
+++ b/index.html
@@ -10,11 +10,22 @@
</head>
<body>
<div class="selector">
- <label>Width: </label> <input id="x" min="4" value="6" type="number"></input>
+ <label>Width: </label> <input id="x" min="4" max="50" value="6" type="number"/>
<br>
- <label>Height: </label> <input id="y" min="4" value="6" type="number"></input>
+ <label>Height: </label> <input id="y" min="4" value="6" type="number"/>
<br>
- <label>Mines: </label> <input id="m" min="2" value="5" type="number"></input>
+ <label>Mines: </label> <input id="m" min="2" value="5" type="number"/>
+ <br>
+ <label>- OR -</label>
+ <br>
+ <label>Difficulty: </label>
+ <select id="d">
+ <option value="0.125">Easy</option>
+ <option value="0.15">Medium</option>
+ <option value="0.2">Hard</option>
+ <option value="0.25">Impossible</option>
+ <option value="0">Custom</option>
+ </select>
</div>
<br>
<div class="game">
@@ -28,6 +39,7 @@
var xIn = document.getElementById("x");
var yIn = document.getElementById("y");
var mIn = document.getElementById("m");
+ var dIn = document.getElementById("d");
var game = new Board();
</script>
</body>