File size: 1,327 Bytes
570a1ab
427d63a
570a1ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c64c7e8
570a1ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>1kcoins</title>
        <link
            rel="stylesheet"
            href="{{ url_for('static', filename='css/style.css') }}"
        />
    </head>
    <body>
        <div id="stats">
            <div>Balance: <span id="balance">$10.00</span></div>
            <div>Flips left: <span id="flips-left">1000</span></div>
        </div>
        <div id="game-area">
            <div id="coin">Flip</div>
        </div>
        <div id="shop"></div>

        <div id="game-over" style="display: none">
            <h2>Game Over</h2>
            <p>Your final balance: $<span id="final-balance"></span></p>
            <div id="leaderboard"></div>
            <form id="initials-form">
                <input
                    type="text"
                    id="initials-input"
                    maxlength="3"
                    placeholder="Enter your initials"
                />
                <button type="submit" id="submit-score">Submit Score</button>
            </form>
            <button id="play-again">Play Again</button>
        </div>

        <script src="{{ url_for('static', filename='js/game.js') }}"></script>
    </body>
</html>