zoukankan      html  css  js  c++  java
  • 休闲迷宫

    休闲迷宫效果图(Ps:copy美团)

     休闲迷宫代码

    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>休闲迷宫</title>
    <style type="text/css">
    span{
        display: inline-block;
         25px;
        height: 25px;
        border-radius: 50%;
        color: #8bc24c;
        background: #fae3d9;
    }
    </style>
    <script>
        top != self && top.host != self.host && (top.location = self.location);
        (function(d) {
            d.className = d.className.replace(/no-js/, '');
        })(document.documentElement);
        var $CONFIG = {
            'data' : {}
        };
    </script>
    </head>
    <body>
        <div class="maze-game-container" style="text-align: center;">
            <h3 class="maze-game-info">休闲迷宫。</h3>
            <canvas class="maze-content" width="1500" height="800"></canvas>
            <h4 class="maze-game-info" style="margin-top: 0;">
                使用<span>w</span>、<span>a</span>、<span>s</span>、<span>d</span>,或者方向键进行游戏。
            </h4>
        </div>
    </body>
    <script src="https://awps-assets.meituan.net/mit/blog/v20190629/asset/vendor/zepto.min.js"></script>
    <script src="https://awps-assets.meituan.net/mit/blog/v20190629/common.js"></script>
    <script src="https://awps-assets.meituan.net/mit/blog/v20190629/errorPage.js"></script>
    </html>
  • 相关阅读:
    C struct的内存对齐
    C++ 继承、函数重载
    C++ 操作符重载
    C中入栈顺序和运算顺序有关系吗?
    Java 关于finally、static
    C++ 类的复制控制
    Linux中vi的使用
    C++ 类的头文件、实现、使用
    (web)个人项目(挖宝网)
    MariaDB使用enum和set
  • 原文地址:https://www.cnblogs.com/mjtabu/p/13212165.html
Copyright © 2011-2022 走看看