{"id":278,"date":"2026-08-25T12:01:50","date_gmt":"2026-08-25T08:31:50","guid":{"rendered":"https:\/\/mtgrayli.yclass.ir\/wordpress\/?page_id=278"},"modified":"2026-08-25T13:23:10","modified_gmt":"2026-08-25T09:53:10","slug":"nexus-aim-%f0%9f%8e%af","status":"publish","type":"page","link":"https:\/\/mtgrayli.yclass.ir\/wordpress\/nexus-aim-%f0%9f%8e%af\/","title":{"rendered":"Nexus Aim \ud83c\udfaf"},"content":{"rendered":"\n    <div id=\"nexus-aim-game\">\n\n        <div class=\"nexus-aim-header\">\n\n            <div>\n                <strong>NEXUS AIM \ud83c\udfaf<\/strong>\n            <\/div>\n\n            <div>\n                \u0627\u0645\u062a\u06cc\u0627\u0632:\n                <span id=\"nexus-aim-score\">0<\/span>\n            <\/div>\n\n            <div>\n                \u0632\u0645\u0627\u0646:\n                <span id=\"nexus-aim-time\">30<\/span>\n            <\/div>\n\n        <\/div>\n\n\n        <div id=\"nexus-aim-arena\">\n\n            <div id=\"nexus-aim-target\"><\/div>\n\n        <\/div>\n\n\n        <button id=\"nexus-aim-start\">\n            \u0634\u0631\u0648\u0639 \u0628\u0627\u0632\u06cc\n        <\/button>\n\n\n        <div id=\"nexus-aim-message\"><\/div>\n\n    <\/div>\n\n\n    <style>\n\n    #nexus-aim-game {\n\n        max-width: 650px;\n\n        margin: 30px auto;\n\n        padding: 20px;\n\n        background: #fff;\n\n        border-radius: 20px;\n\n        box-shadow:\n            0 5px 25px\n            rgba(0,0,0,.08);\n\n        direction: rtl;\n\n        font-family:\n            Tahoma,\n            Arial,\n            sans-serif;\n\n        text-align: center;\n\n        box-sizing: border-box;\n\n    }\n\n\n    .nexus-aim-header {\n\n        display: flex;\n\n        justify-content: space-between;\n\n        align-items: center;\n\n        gap: 10px;\n\n        margin-bottom: 15px;\n\n        font-size: 14px;\n\n        flex-wrap: wrap;\n\n    }\n\n\n    #nexus-aim-arena {\n\n        position: relative;\n\n        width: 100%;\n\n        height: 420px;\n\n        background: #111;\n\n        border-radius: 14px;\n\n        overflow: hidden;\n\n        touch-action: none;\n\n        user-select: none;\n\n    }\n\n\n    #nexus-aim-target {\n\n        position: absolute;\n\n        width: 60px;\n\n        height: 60px;\n\n        border-radius: 50%;\n\n        background:\n            radial-gradient(\n                circle,\n                white 0 15%,\n                red 16% 35%,\n                white 36% 55%,\n                red 56% 75%,\n                white 76% 100%\n            );\n\n        cursor: pointer;\n\n        display: none;\n\n        box-shadow:\n            0 0 20px\n            rgba(255,255,255,.5);\n\n        transition:\n            transform .1s;\n\n    }\n\n\n    #nexus-aim-target:active {\n\n        transform:\n            scale(.9);\n\n    }\n\n\n    #nexus-aim-start {\n\n        margin-top: 18px;\n\n        padding: 11px 30px;\n\n        border: none;\n\n        border-radius: 10px;\n\n        background: #111;\n\n        color: #fff;\n\n        font-family: inherit;\n\n        font-weight: bold;\n\n        cursor: pointer;\n\n    }\n\n\n    #nexus-aim-message {\n\n        min-height: 25px;\n\n        margin-top: 12px;\n\n        font-size: 14px;\n\n        color: #777;\n\n    }\n\n\n    @media(max-width:600px) {\n\n        #nexus-aim-arena {\n\n            height: 350px;\n\n        }\n\n        .nexus-aim-header {\n\n            justify-content:\n                center;\n\n        }\n\n    }\n\n    <\/style>\n\n\n    <script>\n\n    document.addEventListener(\n        'DOMContentLoaded',\n        function () {\n\n            const arena =\n                document.getElementById(\n                    'nexus-aim-arena'\n                );\n\n            const target =\n                document.getElementById(\n                    'nexus-aim-target'\n                );\n\n            const scoreElement =\n                document.getElementById(\n                    'nexus-aim-score'\n                );\n\n            const timeElement =\n                document.getElementById(\n                    'nexus-aim-time'\n                );\n\n            const startButton =\n                document.getElementById(\n                    'nexus-aim-start'\n                );\n\n            const message =\n                document.getElementById(\n                    'nexus-aim-message'\n                );\n\n\n            let score = 0;\n\n            let time = 30;\n\n            let gameRunning = false;\n\n            let timer = null;\n\n\n            function moveTarget() {\n\n                if (!gameRunning) {\n                    return;\n                }\n\n\n                const maxX =\n                    arena.clientWidth -\n                    target.offsetWidth;\n\n                const maxY =\n                    arena.clientHeight -\n                    target.offsetHeight;\n\n\n                const x =\n                    Math.random() *\n                    maxX;\n\n                const y =\n                    Math.random() *\n                    maxY;\n\n\n                target.style.left =\n                    x + 'px';\n\n                target.style.top =\n                    y + 'px';\n\n            }\n\n\n            function startGame() {\n\n                score = 0;\n\n                time = 30;\n\n                gameRunning = true;\n\n\n                scoreElement.textContent =\n                    score;\n\n                timeElement.textContent =\n                    time;\n\n                message.textContent =\n                    '\u0628\u0627\u0632\u06cc \u0634\u0631\u0648\u0639 \u0634\u062f! \u0633\u0631\u06cc\u0639 \u0628\u0627\u0634 \ud83d\ude0e';\n\n\n                startButton.textContent =\n                    '\u0634\u0631\u0648\u0639 \u062f\u0648\u0628\u0627\u0631\u0647';\n\n\n                target.style.display =\n                    'block';\n\n\n                moveTarget();\n\n\n                clearInterval(timer);\n\n\n                timer =\n                    setInterval(\n                        function () {\n\n                            time--;\n\n                            timeElement.textContent =\n                                time;\n\n\n                            if (time <= 0) {\n\n                                endGame();\n\n                            }\n\n                        },\n                        1000\n                    );\n\n            }\n\n\n            function endGame() {\n\n                gameRunning = false;\n\n                clearInterval(timer);\n\n                target.style.display =\n                    'none';\n\n                message.textContent =\n                    '\ud83c\udfae \u0628\u0627\u0632\u06cc \u062a\u0645\u0627\u0645 \u0634\u062f! \u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627: ' +\n                    score;\n\n            }\n\n\n            target.addEventListener(\n                'click',\n                function () {\n\n                    if (!gameRunning) {\n                        return;\n                    }\n\n\n                    score++;\n\n                    scoreElement.textContent =\n                        score;\n\n\n                    moveTarget();\n\n                }\n            );\n\n\n            startButton.addEventListener(\n                'click',\n                startGame\n            );\n\n        }\n    );\n\n    <\/script>\n\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-278","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/pages\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":2,"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/pages\/278\/revisions"}],"predecessor-version":[{"id":298,"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/pages\/278\/revisions\/298"}],"wp:attachment":[{"href":"https:\/\/mtgrayli.yclass.ir\/wordpress\/wp-json\/wp\/v2\/media?parent=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}