<!--
YOU ARE PLAYING ON THE LATEST EAGLERCRAFT VERSION: 1.12
THIS VERSION IS STILL IN DEVELOPMENT, SO PLEASE EXCUSE ANY BUGS AND REPORT THEM HERE: https://discord.gg/UEE39zHuCx
Eagletcraft plays directly in the iframe, while pressing the undetectable button
opens Eagletcraft in a new window that appears blank to screen-monitoring software like GoGuardian and Securely
Eaglercraft 1.12 created by PeytonPlayz595
EaglercraftX Engine created by lax1dude and ayunami2000
Eagletcraft compiled by PlanetDoge w/ help from the PlanetGamez team
EaglercraftX 1.12 average RAM usage: 1.6 GB
Eagletcraft 1.12 Undetectable average RAM usage: 0.8 GB
Eagletcraft's code is liscensed under the Apache 2.0 terms. Redistribution of code without attribution is prohibited.
PlanetGamez: https://sites.google.com/view/planet-gamez/
GitHub Link: https://github.com/PlanetDogeCodes/Eagletcraft-1.12
-->
<html><head><base target="_blank"><script id="gamemonetize-sdk">Couldn't find the requested file /sedk.js in testamalame/sef.</script></head><body><div id="container">
<iframe id="fr" width="100%" height="100%" frameborder="0" allowfullscreen=""></iframe>
<button class="play-button" type="button" onclick="PlayTo(this)">PLAY REGULAR</button>
<p id="unblocked-text">G+</p>
<button class="fullscreen-button" type="button" onclick="openFullscreen()">OPEN UNDETECTABLE</button>
</div>
<style>
.play-button { padding: 20px 40px; background: #000; color: #fff; border: 2px solid #4a148c; border-radius: 10px; font: bold 24px Arial; cursor: pointer; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1001; }
.play-button:hover { background: #4a148c; }
.fullscreen-button { padding: 10px 15px; background: #000; color: #fff; border: 2px solid #4a148c; border-radius: 5px; font: bold 14px Arial; cursor: pointer; position: fixed; bottom: 20px; right: 20px; z-index: 1002; }
.fullscreen-button:hover { background: #4a148c; }
body, html { margin: 0; padding: 0; overflow: hidden; height: 100%; }
</style>
<script>
const DB_NAME = 'GameCacheDB';
const STORE_NAME = 'GameFiles';
const CACHE_DURATION = 90 * 24 * 60 * 60 * 1000; // 3 ay
const FILE_URL = 'https://cdn.jsdelivr.net/gh/PlanetDogeCodes/Eagletcraft-1.12@main/source%20file/egc1-12.xml';
const SDK_URL = 'https://cdn.jsdelivr.net/gh/testamalame/sef@main/sedk.js';
function openDB() {
return new Promise((resolve, reject) => {
const request = indexedDB.open(DB_NAME, 1);
request.onupgradeneeded = (event) => {
const db = event.target.result;
db.createObjectStore(STORE_NAME, { keyPath: 'url' });
};
request.onsuccess = (event) => resolve(event.target.result);
request.onerror = (event) => reject(event.target.error);
});
}
async function saveToCache(url, content) {
const db = await openDB();
return new Promise((resolve, reject) => {
const transaction = db.transaction(STORE_NAME, 'readwrite');
const store = transaction.objectStore(STORE_NAME);
const request = store.put({ url: url, content: content, timestamp: Date.now() });
request.onsuccess = () => resolve();
request.onerror = () => reject(new Error('Cache error'));
});
}
async function getFileFromCache(url) {
const db = await openDB();
return new Promise((resolve, reject) => {
const transaction = db.transaction(STORE_NAME, 'readonly');
const store = transaction.objectStore(STORE_NAME);
const request = store.get(url);
request.onsuccess = async (event) => {
const data = event.target.result;
if (data && (Date.now() - data.timestamp) < CACHE_DURATION) {
resolve(data.content);
} else {
try {
const response = await fetch(url);
const text = await response.text();
await saveToCache(url, text);
resolve(text);
} catch (err) {
reject(err);
}
}
};
request.onerror = () => reject(new Error('DB error'));
});
}
function PlayTo(button) {
const iframe = document.getElementById("fr");
getFileFromCache(FILE_URL).then((text) => {
iframe.contentDocument.open();
iframe.contentDocument.write(text);
iframe.contentDocument.close();
iframe.style.display = "block";
button.style.display = "none";
iframe.contentWindow.document.addEventListener('pointerdown', showAdOnClick);
iframe.contentWindow.document.addEventListener('touchstart', showAdOnClick);
}).catch((err) => {
console.error('Error:', err);
alert('Oyun yüklenemedi.');
});
}
function openFullscreen() {
getFileFromCache(FILE_URL).then((text) => {
const newWindow = window.open("", "_blank");
if (newWindow) {
newWindow.document.open();
newWindow.document.write(text);
newWindow.document.close();
newWindow.document.addEventListener('pointerdown', showAdOnClick);
newWindow.document.addEventListener('touchstart', showAdOnClick);
} else {
alert('Tam ekran açılamadı.');
}
}).catch((err) => {
console.error('Error:', err);
alert('Tam ekran yüklenemedi.');
});
}
</script></body></html>
<!--
This OneCompiler instance updates automatically
Current Version: v1.0 p4
Date Updated: 7/25/2025
--> Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
<!DOCTYPE html><html> and ends with </html><h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.<p>..</p> tag.<a> tag.
<a href="https://onecompiler.com/html">HTML online compiler</a>
<img> tag, where src attribute consists of image name.<button>..</button> tag<ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.<a href="https://onecompiler.com/html">HTML online compiler</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
body{
padding: 25px;
}
.title {
color: #228B22;
font-family: Candara;
}
<table> tag.<tr> tag<th> tag<td> tag<caption> tag<script> is the tag used to write scripts in HTML<script src="script.js"></script>