---
layout: false
---
{% raw %}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>2048 | TRHX'S BLOG</title>
<link rel="shortcut icon" type="image/x-icon" href="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/games/2048/index.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/games/2048/jquery.min.js"></script>
<script type="text/javascript"  src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/games/2048/support2048.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/games/2048/showanimation2048.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/games/2048/main2048.js"></script>
</head>
<body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
    <header>
        <h1>2048</h1>
        <a style="font-size:20px;color:white;background-color:rgb(100,167,233);border-radius:6px;padding:3px 8px 8px 8px;">使用方向键操作</a>
        <a href="" id="newgamebutton">New Game</a>
        <a style="font-size:20px;color:white;background-color:rgb(243, 70, 70);border-radius:6px;padding:3px 8px 8px 8px;">score:<span id="score">0</span></a>
    </header>
    <div id="grid-container">
        <div class="grid-cell" id="grid-cell-0-0"></div>
        <div class="grid-cell" id="grid-cell-0-1"></div>
        <div class="grid-cell" id="grid-cell-0-2"></div>
        <div class="grid-cell" id="grid-cell-0-3"></div>
        <div class="grid-cell" id="grid-cell-1-0"></div>
        <div class="grid-cell" id="grid-cell-1-1"></div>
        <div class="grid-cell" id="grid-cell-1-2"></div>
        <div class="grid-cell" id="grid-cell-1-3"></div>
        <div class="grid-cell" id="grid-cell-2-0"></div>
        <div class="grid-cell" id="grid-cell-2-1"></div>
        <div class="grid-cell" id="grid-cell-2-2"></div>
        <div class="grid-cell" id="grid-cell-2-3"></div>
        <div class="grid-cell" id="grid-cell-3-0"></div>
        <div class="grid-cell" id="grid-cell-3-1"></div>
        <div class="grid-cell" id="grid-cell-3-2"></div>
        <div class="grid-cell" id="grid-cell-3-3"></div>
    </div>
    <div id="gameover">GAME OVER</div>
    <footer id="footer" role="contentinfo" style="top:100px;">
        <address>
            <div class="copyright" style="font-size:13px;">
                Copyright&nbsp;©&nbsp;2018-2019&nbsp;<a href="https://www.itrhx.com/" target="_blank">TRHX'S BLOG</a>&nbsp;|&nbsp;
                <img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/images/icp.png" class="footer-icon">&nbsp;
                <a href="http://www.beian.miit.gov.cn/" target="_blank"> 鄂ICP备19003281号-3</a>&nbsp;|&nbsp;
                <img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/images/12377.png" alt=" 12377.png">
                <a href="http://www.12377.cn/" target="_blank">中国互联网违法和不良信息举报中心</a><br><br>
                推荐使用1920*1080分辨率、谷歌或者火狐浏览器浏览此页&nbsp;|&nbsp;
                <a href="https://itrhx.com/sitemap.xml" target="_blank">站点地图</a>&nbsp;|&nbsp;
                <script type="text/javascript" src="https://s23.cnzz.com/z_stat.php?id=1275909280&web_id=1275909280"></script>&nbsp;|&nbsp;
                <a href="https://www.itrhx.com/atom.xml" target="_blank">RSS订阅</a>&nbsp;|&nbsp;
                <a href="https://996.icu/" target="_blank">996.ICU</a>&nbsp;|&nbsp;
                <a href="https://www.itrhx.com/friends/" target="_blank">申请友链</a>&nbsp;|&nbsp;
                Powered By <a href="https://hexo.io/" target="_blank">Hexo</a>&nbsp;|&nbsp;
                Hosted By <a href="https://github.com/" target="_blank">GitHub Pages</a><br><br>
                <p>部分资料来源于网络，版权属于其合法持有人，只供学习交流之用，非商务用途。如有侵犯您的权益，请及时告知删除。互动交流时请遵守理性，宽容，换位思考的原则。</p>
            </div>
        </address>
    </footer>
</body>
<script>
    document.onkeydown=function (e){
            var currKey=0,evt=e||window.event;
            currKey=evt.keyCode||evt.which||evt.charCode;
            if (currKey == 123) {
                window.event.cancelBubble = true;
                window.event.returnValue = false;
            }
        }
</script>
</html>
{% endraw %}