aboutsummaryrefslogtreecommitdiff
path: root/utils/minesweeper/index.html
blob: 8945dbd19834a011d4d294281a5590b723da59a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>

<html>
    <head>
        <title>cacharle - minesweeper</title>
        <meta charset="utf-8"/>
        <link rel="icon" type="image/png" href="../../favicon.png" />
        <link rel="stylesheet" type="text/css" href="../../style.css"/>
        <link rel="stylesheet" type="text/css" href="style.css"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>

    <body><div id="page-wrapper">
        <h1>minesweeper</h1>

        <div id="flash-message" hidden>You lost in asdf seconds</div>

        <div class="info-bar">
            <div id="minesweeper-game-info" hidden>
                <div>
                    <div id="minesweeper-timer">1:30</div>
                    <button id="minesweeper-stop" class="game-state">stop</button>
                </div>
            </div>

            <div id="minesweeper-settings">
                <div>
                    <label for="width">width</label>
                    <input id="minesweeper-width" name="width" type="range" min="3" max="20" value="10"/>
                </div>
                <div>
                    <label for="height">height</label>
                    <input id="minesweeper-height" name="height" type="range" min="3" max="20" value="10"/>
                </div>
                <div>
                    <label for="mine-rate">mine rate</label>
                    <input id="minesweeper-mine-rate" name="mine-rate" type="range" min="0" max="100" value="20"/>
                </div>
            </div>
        </div>

        <table id="minesweeper-table">
        </table>



    </div></body>
    <script src="script.js" type="text/javascript"></script>
</html>