JavaScript之打飞机小游戏 html

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/global.css">
</head>

<body>
    <div class="container">
        <!-- 开始游戏界面 -->
        <div class="start-page" id="startPage">
            <input type="button" value="开始游戏" class="start-btn" id="startBtn">
        </div>
        <!-- 游戏中界面 -->
        <div class="playing-page" id="playingPage">
            <!--  记分版 -->
            <p class="mark-column"><span>分数:</span><b class="mark" id="mark">0</b></p>
            <!-- 游戏结束界面 -->
            <div class="game-over">
                <h3>飞机大战总分</h3>
                <p class="mark-end" id="markEnd"></p>
                <input type="button" value="继续游戏" class="continue-btn" id="continueBtn">
            </div>
        </div>
        <!--  -->
    </div>
    <script src="./js/jquery-1.12.4.min.js"></script>
    <!-- <script src="./js/lodash.min.js"></script> -->
    <script src="./js/index.js"></script>
    <script src="./js/player.js"></script>
    <script src="./js/enemy.js"></script>
    <script src="./js/bullet.js"></script>
</body>

</html>
posted @ 2019-09-22 20:25  二狗子最萌哒  阅读(323)  评论(0编辑  收藏  举报