{"id":7629,"date":"2026-11-05T17:10:43","date_gmt":"2026-11-05T20:10:43","guid":{"rendered":"https:\/\/www.escuelathays.mendoza.edu.ar\/?page_id=7629"},"modified":"2026-11-05T20:03:26","modified_gmt":"2026-11-05T23:03:26","slug":"clasificador-de-triangulos","status":"publish","type":"page","link":"https:\/\/www.escuelathays.mendoza.edu.ar\/?page_id=7629","title":{"rendered":"Clasificador de Tri\u00e1ngulos"},"content":{"rendered":"\n<div id=\"game-portal-wrapper\" style=\"background-color: #08090d; color: #ffffff; font-family: 'Inter', sans-serif; padding: 40px 20px; min-height: 85vh; display: flex; justify-content: center; align-items: center; border-radius: 20px; margin: 20px 0;\">\n    \n    <style>\n        #game-portal-wrapper * { \n            box-sizing: border-box; \n        }\n        .arcade-card-box {\n            background-color: #141624 !important;\n            border: 1px solid rgba(15, 118, 110, 0.4) !important;\n            border-radius: 20px !important;\n            box-shadow: 0 0 30px rgba(34, 211, 238, 0.15) !important;\n            max-width: 500px !important;\n            width: 100% !important;\n            padding: 30px !important;\n            text-align: center !important;\n            position: relative !important;\n        }\n        .arcade-back-link {\n            position: absolute !important;\n            top: 20px !important;\n            left: 20px !important;\n            color: #94a3b8 !important;\n            text-decoration: none !important;\n            font-size: 0.8rem !important;\n            font-weight: 700 !important;\n            transition: color 0.2s !important;\n            cursor: pointer !important;\n        }\n        .arcade-back-link:hover { \n            color: #22d3ee !important; \n        }\n        .arcade-h1 {\n            color: #22d3ee !important;\n            font-size: 1.8rem !important;\n            font-weight: 900 !important;\n            text-shadow: 0 0 10px rgba(34, 211, 238, 0.5) !important;\n            margin: 20px 0 5px 0 !important;\n            line-height: 1.2 !important;\n        }\n        .arcade-sub { \n            color: #94a3b8 !important; \n            font-size: 0.9rem !important; \n            margin-bottom: 25px !important; \n        }\n        .arcade-tri-box {\n            background: rgba(34, 211, 238, 0.05) !important;\n            border: 1px solid rgba(34, 211, 238, 0.2) !important;\n            border-radius: 16px !important;\n            padding: 25px !important;\n            margin-bottom: 20px !important;\n        }\n        .arcade-sides-display {\n            font-size: 1.6rem !important;\n            font-weight: 900 !important;\n            color: #facc15 !important;\n            margin-bottom: 15px !important;\n        }\n        .arcade-opts-container {\n            display: flex !important;\n            flex-direction: column !important;\n            gap: 10px !important;\n        }\n        .arcade-btn-opt {\n            background: #08090d !important;\n            border: 2px solid #334155 !important;\n            border-radius: 12px !important;\n            padding: 12px !important;\n            color: #fff !important;\n            font-size: 1.1rem !important;\n            font-weight: 700 !important;\n            cursor: pointer !important;\n            transition: all 0.2s !important;\n        }\n        .arcade-btn-opt:hover {\n            border-color: #22d3ee !important;\n            transform: translateY(-2px) !important;\n        }\n        .arcade-fb { \n            min-height: 24px !important; \n            font-weight: 700 !important; \n            font-size: 0.95rem !important; \n            margin-top: 15px !important; \n        }\n        .fb-ok { color: #4ade80 !important; }\n        .fb-err { color: #f87171 !important; }\n    <\/style>\n\n    <div class=\"arcade-card-box\">\n        <a href=\"https:\/\/www.escuelathays.mendoza.edu.ar\/?page_id=7474\" class=\"arcade-back-link\">\u2190 Volver al Portal<\/a>\n        \n        <h1 class=\"arcade-h1\">\ud83d\udcd0 Clasificador de Tri\u00e1ngulos<\/h1>\n        <p class=\"arcade-sub\">Identifica el tipo de tri\u00e1ngulo seg\u00fan sus lados<\/p>\n\n        <div class=\"arcade-tri-box\">\n            <div class=\"arcade-sides-display\" id=\"sides-text\">Lados: 5 cm, 5 cm, 5 cm<\/div>\n            <div class=\"arcade-opts-container\">\n                <button class=\"arcade-btn-opt\" id=\"opt-eq\">Equil\u00e1tero (3 lados iguales)<\/button>\n                <button class=\"arcade-btn-opt\" id=\"opt-iso\">Is\u00f3sceles (2 lados iguales)<\/button>\n                <button class=\"arcade-btn-opt\" id=\"opt-esc\">Escaleno (3 lados distintos)<\/button>\n            <\/div>\n            <div class=\"arcade-fb\" id=\"fb-text\"><\/div>\n        <\/div>\n\n        <div style=\"margin-top: 25px; font-size: 0.8rem; color: #64748b; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 15px;\">\n            Creado por las profesoras <strong>Pamela D\u00edaz<\/strong> y <strong>Yemina Lusi<\/strong>\n        <\/div>\n    <\/div>\n\n    <script>\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            let correctType = '';\n\n            const optEq = document.getElementById('opt-eq');\n            const optIso = document.getElementById('opt-iso');\n            const optEsc = document.getElementById('opt-esc');\n\n            if (optEq) optEq.addEventListener('click', function() { check('Equil\u00e1tero'); });\n            if (optIso) optIso.addEventListener('click', function() { check('Is\u00f3sceles'); });\n            if (optEsc) optEsc.addEventListener('click', function() { check('Escaleno'); });\n\n            function gen() {\n                const fbText = document.getElementById('fb-text');\n                if (fbText) fbText.innerText = '';\n                \n                const types = ['Equil\u00e1tero', 'Is\u00f3sceles', 'Escaleno'];\n                correctType = types[Math.floor(Math.random() * types.length)];\n                let a, b, c;\n                \n                if (correctType === 'Equil\u00e1tero') {\n                    a = b = c = Math.floor(Math.random() * 5) + 4;\n                } else if (correctType === 'Is\u00f3sceles') {\n                    a = b = Math.floor(Math.random() * 5) + 5;\n                    c = Math.floor(Math.random() * 3) + 2;\n                } else {\n                    a = Math.floor(Math.random() * 3) + 3;\n                    b = a + Math.floor(Math.random() * 2) + 2;\n                    c = b + Math.floor(Math.random() * 2) + 2;\n                }\n\n                const sidesText = document.getElementById('sides-text');\n                if (sidesText) {\n                    sidesText.innerText = `Lados: ${a} cm, ${b} cm, ${c} cm`;\n                }\n            }\n\n            function check(t) {\n                const fb = document.getElementById('fb-text');\n                if (t === correctType) {\n                    fb.className = 'arcade-fb fb-ok'; \n                    fb.innerText = '\ud83d\udcd0 \u00a1Correcto!';\n                    setTimeout(gen, 900);\n                } else {\n                    fb.className = 'arcade-fb fb-err'; \n                    fb.innerText = '\u274c Intenta de nuevo';\n                }\n            }\n\n            gen();\n        });\n    <\/script>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2190 Volver al Portal \ud83d\udcd0 Clasificador de Tri\u00e1ngulos Identifica el tipo de tri\u00e1ngulo seg\u00fan sus lados Lados: 5 cm, 5 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"_eb_attr":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","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":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"class_list":["post-7629","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/pages\/7629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7629"}],"version-history":[{"count":3,"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/pages\/7629\/revisions"}],"predecessor-version":[{"id":7699,"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=\/wp\/v2\/pages\/7629\/revisions\/7699"}],"wp:attachment":[{"href":"https:\/\/www.escuelathays.mendoza.edu.ar\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}