diff options
author | Kyle Gunger <corechg@gmail.com> | 2018-09-22 13:07:54 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2018-09-22 13:07:54 -0400 |
commit | 564d33ac255212d83e09850e5e479a2844862202 (patch) | |
tree | ece4b36647742b1a7985be4abb57f68150f0b166 /index.html | |
parent | 6f9e0a05b80afb0d1cf1b5b0db21bf8d1caa1cc8 (diff) |
+ difficulty selector
+ cursor change on the game status indicator
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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>
|