<!doctype html>
<html lang="uk">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Minecraft Past Simple Quest</title>
<style>
:root{--bg:#101a13;--panel:#1d2b20;--panel2:#263a2a;--green:#78c850;--lime:#b7ef65;--gold:#f4c95d;--ink:#f4f7ed;--muted:#c4d1bd;--red:#ff8177}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#101a13,#1d3022);color:var(--ink);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
header{padding:28px 18px 20px;text-align:center;background:linear-gradient(180deg,#263f2b,#17251a);border-bottom:4px solid #547e3c}
h1{margin:0;font-size:clamp(27px,6vw,44px);letter-spacing:1px;color:var(--lime);text-shadow:3px 3px #314d28}
header p{margin:8px 0 0;color:var(--muted)}.pixel{font-weight:900;letter-spacing:.08em}
main{max-width:900px;margin:auto;padding:18px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
button{border:0;border-radius:10px;padding:11px 15px;background:#3c6337;color:white;font-weight:750;font-size:15px;cursor:pointer;box-shadow:0 3px #203a20}
button:hover{filter:brightness(1.12)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button:active{transform:translateY(2px);box-shadow:0 1px #203a20}
button.secondary{background:#46534a}button.gold{background:#9b7626;color:#fff8dc}
.tab.active{background:var(--lime);color:#20351c}
.card{background:var(--panel);border:2px solid #45633e;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 7px 0 #0b140d}
h2{color:var(--lime);margin:0 0 8px;font-size:24px}h3{color:var(--gold);margin:15px 0 8px}
.small{color:var(--muted);font-size:14px}.tag{display:inline-block;background:#354c35;border:1px solid #638453;border-radius:30px;padding:3px 10px;margin:3px;font-size:13px}
.task{padding:13px;background:var(--panel2);border-radius:12px;margin:10px 0}
.options{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.options button{background:#506b48}.feedback{min-height:24px;font-weight:700;margin-top:7px}.good{color:#b7ef65}.bad{color:#ff9c91}
input[type=text]{width:min(100%,420px);padding:11px;border-radius:9px;border:2px solid #6a8c5a;background:#101a13;color:white;font-size:16px}
select{padding:9px;border-radius:8px;background:#101a13;color:white;border:1px solid #78936a}
.story{font-size:18px;line-height:1.8;background:#17251a;padding:16px;border-left:5px solid var(--gold);border-radius:8px}
.progress{height:12px;background:#0d160f;border-radius:20px;overflow:hidden;margin:10px 0}.bar{height:100%;width:0;background:var(--lime);transition:.3s}
.hidden{display:none}.score{color:var(--gold);font-weight:800}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
footer{text-align:center;color:var(--muted);padding:25px;font-size:13px}
label{display:block;margin:8px 0}.word{font-weight:800;color:var(--lime)}
</style>
</head>
<body>
<header>
<div class="pixel">⛏️ MINECRAFT WORLD • PAST SIMPLE</div>
<h1>TINY TIME TRAVEL!</h1>
<p>Two-lesson interactive adventure · 2 × 30 minutes</p>
</header>
<main>
<div class="tabs">
<button type="button" class="tab active" onclick="show('one',this)">🟩 Lesson 1 — Time Portal</button>
<button type="button" class="tab" onclick="show('two',this)">🟨 Lesson 2 — Lost Map</button>
<button type="button" class="tab" onclick="show('teacher',this)">📘 Teacher Portal</button>
</div>
<div class="card">
<strong>PLAYER MISSION</strong>
<p>Travel to yesterday, collect past verbs and help Steve find the treasure map. Your goal: say at least <b>4 Past Simple sentences</b>.</p>
<div class="progress"><div class="bar" id="bar"></div></div>
<div class="small">Quest points: <span class="score" id="score">0</span> ⭐ · Completed tasks: <span id="completed">0</span></div>
<div class="options"><button class="secondary" type="button" onclick="resetQuest()">↻ Reset progress</button></div>
</div>
<section id="one">
<div class="card">
<h2>🌀 Lesson 1: Enter the Time Portal</h2>
<span class="tag">0–4 min · Warm-up</span><span class="tag">4–10 min · Grammar</span><span class="tag">10–17 min · Vocabulary</span>
<p><b>Warm-up:</b> What do you do in Minecraft every day? Say: <i>I build / I play / I help / I explore.</i> Now travel to YESTERDAY!</p>
<h3>Today or Yesterday?</h3>
<div class="grid">
<div class="task"><b>TODAY / EVERY DAY</b><p>I build a house.</p><p>I help my friend.</p></div>
<div class="task"><b>YESTERDAY</b><p>I built a house.</p><p>I helped my friend.</p></div>
</div>
<p>Past Simple tells us about a finished action in the past.</p>
<p class="pixel">WHO + PAST VERB + THE REST</p>
<p>Yesterday, Steve <b>built</b> a house.</p>
</div>
<div class="card">
<h2>⚒️ Grammar Power-up</h2>
<h3>Two kinds of past verbs</h3>
<div class="grid">
<div class="task"><b>REGULAR — add -ed</b><p>help → helped</p><p>clean → cleaned</p><p>play → played</p><p>collect → collected</p></div>
<div class="task"><b>IRREGULAR — change</b><p>build → built</p><p>see → saw</p><p>find → found</p><p>go → went</p></div>
</div>
<h3>Time clues</h3><p><span class="tag">yesterday — учора</span><span class="tag">last night — учора ввечері</span><span class="tag">last week — минулого тижня</span><span class="tag">two days ago — два дні тому</span></p>
<h3>Tiny grammar check</h3>
<div class="task" data-answer="made"><b>1.</b> Yesterday, I ___ a cake.<div class="options"><button type="button" onclick="check(this,'make','made')">make</button><button type="button" onclick="check(this,'made','made')">made</button></div><div class="feedback"></div></div>
<div class="task" data-answer="visited"><b>2.</b> Last week, we ___ a village.<div class="options"><button type="button" onclick="check(this,'visit','visited')">visit</button><button type="button" onclick="check(this,'visited','visited')">visited</button></div><div class="feedback"></div></div>
<div class="task" data-answer="play"><b>3.</b> Every day, I ___ Minecraft.<div class="options"><button type="button" onclick="check(this,'play','play')">play</button><button type="button" onclick="check(this,'played','play')">played</button></div><div class="feedback"></div></div>
<div class="task" data-answer="found"><b>4.</b> Two days ago, he ___ a cave.<div class="options"><button type="button" onclick="check(this,'find','found')">find</button><button type="button" onclick="check(this,'found','found')">found</button></div><div class="feedback"></div></div>
</div>
<div class="card">
<h2>🎒 The Verb Chest</h2>
<p>Read the verb pairs aloud. Try to remember the past form!</p>
<div class="grid">
<div class="task"><span class="word">BUILD → BUILT</span><br>будувати → побудував<br><i>Yesterday, I built a house.</i></div>
<div class="task"><span class="word">HELP → HELPED</span><br>допомагати → допоміг<br><i>I helped my friend.</i></div>
<div class="task"><span class="word">CLEAN → CLEANED</span><br>прибирати → прибрав<br><i>I cleaned my room.</i></div>
<div class="task"><span class="word">COLLECT → COLLECTED</span><br>збирати → зібрав<br><i>I collected diamonds.</i></div>
<div class="task"><span class="word">FIND → FOUND</span><br>знаходити → знайшов<br><i>I found a cave.</i></div>
<div class="task"><span class="word">GO → WENT</span><br>йти → пішов<br><i>I went to the village.</i></div>
<div class="task"><span class="word">TAKE → TOOK</span><br>брати → взяв<br><i>I took my pickaxe.</i></div>
<div class="task"><span class="word">BREAK → BROKE</span><br>ламати → зламав<br><i>I broke a block.</i></div>
</div>
<h3>Inventory challenge — type the past form</h3>
<div class="task">1. collect <input id="v1" type="text" placeholder="past form"></div>
<div class="task">2. find <input id="v2" type="text" placeholder="past form"></div>
<div class="task">3. go <input id="v3" type="text" placeholder="past form"></div>
<div class="task">4. take <input id="v4" type="text" placeholder="past form"></div>
<div class="task">5. break <input id="v5" type="text" placeholder="past form"></div>
<div class="task">6. clean <input id="v6" type="text" placeholder="past form"></div>
<button type="button" onclick="checkInventory()">Check inventory</button><div class="feedback" id="invfb"></div>
</div>
<div class="card">
<h2>🧱 Crafting Table</h2><span class="tag">17–24 min · Sentence building</span>
<p>Choose the correct past form.</p>
<div class="task" data-answer="built">Yesterday, Steve ___ a house.<div class="options"><button type="button" onclick="check(this,'build','built')">build</button><button type="button" onclick="check(this,'built','built')">built</button></div><div class="feedback"></div></div>
<div class="task" data-answer="helped">Last night, I ___ my friend.<div class="options"><button type="button" onclick="check(this,'help','helped')">help</button><button type="button" onclick="check(this,'helped','helped')">helped</button></div><div class="feedback"></div></div>
<div class="task" data-answer="found">Two days ago, we ___ a cave.<div class="options"><button type="button" onclick="check(this,'find','found')">find</button><button type="button" onclick="check(this,'found','found')">found</button></div><div class="feedback"></div></div>
<div class="task" data-answer="went">Yesterday, Alex ___ to the village.<div class="options"><button type="button" onclick="check(this,'go','went')">go</button><button type="button" onclick="check(this,'went','went')">went</button></div><div class="feedback"></div></div>
<div class="task" data-answer="collected">Last week, I ___ diamonds.<div class="options"><button type="button" onclick="check(this,'collect','collected')">collect</button><button type="button" onclick="check(this,'collected','collected')">collected</button></div><div class="feedback"></div></div>
<div class="task" data-answer="broke">Yesterday, he ___ a block.<div class="options"><button type="button" onclick="check(this,'break','broke')">break</button><button type="button" onclick="check(this,'broke','broke')">broke</button></div><div class="feedback"></div></div>
<h3>Build your own sentence</h3>
<p>Choose a time clue and say a sentence aloud. Then write one below.</p>
<input type="text" id="sentence1" placeholder="Yesterday, I found ...">
<button type="button" onclick="sayCheck('sentence1','sentencefb')">I made a sentence!</button><div id="sentencefb" class="feedback"></div>
</div>
</section>
<section id="two" class="hidden">
<div class="card">
<h2>🗺️ Lesson 2: The Lost Map</h2>
<p>Steve lost the map to the village treasure. Explore the cave, learn new words and help him find the way!</p>
<span class="tag">0–4 min · Revision</span><span class="tag">4–9 min · New words</span><span class="tag">9–17 min · Reading</span>
<h3>Explorer vocabulary</h3>
<div class="grid">
<div class="task">🕳️ <b>CAVE</b><br>печера</div><div class="task">🔥 <b>TORCH</b><br>смолоскип</div><div class="task">⛏️ <b>PICKAXE</b><br>кирка</div><div class="task">📜 <b>MAP</b><br>мапа</div><div class="task">💎 <b>TREASURE</b><br>скарб</div><div class="task">🌉 <b>BRIDGE</b><br>міст</div>
</div>
</div>
<div class="card">
<h2>📖 Reading Quest: The Lost Map</h2>
<div class="story">Yesterday morning, Steve <b>went</b> to the village. He <b>took</b> his pickaxe and a torch. Near the forest, he <b>found</b> a small cave. He <b>walked</b> inside and <b>saw</b> a wooden chest. But the treasure map was not there!<br><br>Steve <b>looked</b> behind a stone and <b>found</b> a paper. It was a clue: “Cross the bridge. Look under the big tree.” Steve <b>crossed</b> the bridge and <b>looked</b> under the tree. He <b>found</b> the map! Then he <b>ran</b> back to the village and <b>showed</b> it to his friends.</div>
<h3>Check your understanding</h3>
<div class="task" data-answer="village">1. Where did Steve go yesterday?<div class="options"><button type="button" onclick="check(this,'village','village')">to the village</button><button type="button" onclick="check(this,'desert','village')">to the desert</button></div><div class="feedback"></div></div>
<div class="task" data-answer="pickaxe">2. What did he take?<div class="options"><button type="button" onclick="check(this,'pickaxe','pickaxe')">a pickaxe and a torch</button><button type="button" onclick="check(this,'sword','pickaxe')">a sword and food</button></div><div class="feedback"></div></div>
<div class="task" data-answer="stone">3. Where was the clue?<div class="options"><button type="button" onclick="check(this,'stone','stone')">behind a stone</button><button type="button" onclick="check(this,'river','stone')">in a river</button></div><div class="feedback"></div></div>
<div class="task" data-answer="tree">4. Where did he find the map?<div class="options"><button type="button" onclick="check(this,'tree','tree')">under a big tree</button><button type="button" onclick="check(this,'cave','tree')">in the cave</button></div><div class="feedback"></div></div>
</div>
<div class="card">
<h2>⛏️ Verb Miner: Sort the Ore</h2>
<p>Choose whether each past verb is <b>Regular (R)</b> or <b>Irregular (I)</b>.</p>
<div class="grid">
<div class="task">helped <select data-sort="R"><option value="">Choose</option><option>R</option><option>I</option></select></div>
<div class="task">made <select data-sort="I"><option value="">Choose</option><option>R</option><option>I</option></select></div>
<div class="task">played <select data-sort="R"><option value="">Choose</option><option>R</option><option>I</option></select></div>
<div class="task">broke <select data-sort="I"><option value="">Choose</option><option>R</option><option>I</option></select></div>
<div class="task">cleaned <select data-sort="R"><option value="">Choose</option><option>R</option><option>I</option></select></div>
<div class="task">got <select data-sort="I"><option value="">Choose</option><option>R</option><option>I</option></select></div>
</div>
<button type="button" onclick="checkSort()">Check the mine carts</button><div class="feedback" id="sortfb"></div>
<h3>Build a mini timeline</h3>
<div class="task">YESTERDAY: <input type="text" placeholder="I ..."></div>
<div class="task">LAST NIGHT: <input type="text" placeholder="I ..."></div>
<div class="task">LAST WEEK: <input type="text" placeholder="I ..."></div>
</div>
<div class="card">
<h2>👑 Final Boss Challenge</h2>
<h3>Mission 1 — Put the events in order</h3>
<p class="small">Enter numbers 1–5. What happened first?</p>
<div class="task">Steve found a paper clue. <select id="o1"><option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option></select></div>
<div class="task">Steve went to the village. <select id="o2"><option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option></select></div>
<div class="task">Steve found the map under a tree. <select id="o3"><option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option></select></div>
<div class="task">Steve took his pickaxe and a torch. <select id="o4"><option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option></select></div>
<div class="task">Steve crossed the bridge. <select id="o5"><option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option></select></div>
<button type="button" onclick="checkOrder()">Check event order</button><div class="feedback" id="orderfb"></div>
<h3>Mission 2 — Choose a story card</h3>
<div class="options"><button type="button" onclick="document.getElementById('prompt').textContent='THE CAVE: I went to a cave. I found ...'">🕳️ The Cave</button><button type="button" onclick="document.getElementById('prompt').textContent='THE VILLAGE: I saw ... I helped ...'">🏡 The Village</button><button type="button" onclick="document.getElementById('prompt').textContent='THE TREASURE: I found ... I took ...'">💎 The Treasure</button></div>
<p id="prompt" class="task">Choose a card to get your speaking prompt.</p>
<h3>Mission 3 — Your 4-sentence report</h3>
<p>Tell your teacher what Steve did yesterday. Use at least two irregular verbs and one regular verb. Try to speak for 30–45 seconds.</p>
<textarea id="report" rows="4" style="width:100%;padding:12px;border-radius:9px;background:#101a13;color:white;border:2px solid #6a8c5a" placeholder="Yesterday, Steve went ..."></textarea>
<button type="button" onclick="sayCheck('report','reportfb')">I completed my report!</button><div id="reportfb" class="feedback"></div>
</div>
</section>
<section id="teacher" class="hidden">
<div class="card">
<h2>📘 Teacher Portal</h2>
<h3>Lesson 1 — 30 minutes</h3>
<p>0–4 Warm-up and recall familiar verbs<br>4–10 Explain Today vs Yesterday; regular/irregular<br>10–17 Teach verb chest vocabulary with actions<br>17–24 Complete crafting-table sentences<br>24–30 Quick oral game; student says two sentences</p>
<h3>Lesson 1 answer key</h3>
<p>Grammar check: made, visited, play, found.<br>Crafting: built, helped, found, went, collected, broke.<br>Memory: collected, found, went, took, broke, cleaned.</p>
<h3>Lesson 2 — 30 minutes</h3>
<p>0–4 Revise past verbs: quick flash round<br>4–9 Teach cave / torch / pickaxe / map / treasure / bridge<br>9–17 Read The Lost Map; answer comprehension questions<br>17–24 Sort regular and irregular verbs; timeline<br>24–30 Final story report and speaking challenge</p>
<h3>Lesson 2 answer key</h3>
<p>Reading: village; pickaxe and torch; behind a stone; under the big tree.<br>Regular / irregular: help (R), make (I), play (R), break (I), clean (R), get (I).<br>Event order in displayed list: 3, 1, 5, 2, 4.</p>
<p class="small">Teaching tip: This sequence focuses on affirmative sentences, useful verbs, reading and speaking. Do not rush into Past Simple negatives or Did-questions yet.</p>
</div>
</section>
</main>
<footer>Minecraft-inspired classroom quest · Past Simple · Have fun learning! ⛏️</footer>
<script>
'use strict';
let score = 0;
const done = new Set();
function updateProgress() {
document.getElementById('score').textContent = score;
const completed = done.size;
const completedEl = document.getElementById('completed');
if (completedEl) completedEl.textContent = completed;
document.getElementById('bar').style.width = Math.min(100, completed / 24 * 100) + '%';
}
function show(id, btn) {
document.querySelectorAll('main section').forEach(section => section.classList.add('hidden'));
const target = document.getElementById(id);
if (target) target.classList.remove('hidden');
document.querySelectorAll('.tab').forEach(tab => tab.classList.remove('active'));
if (btn) btn.classList.add('active');
window.scrollTo({top: 0, behavior: 'smooth'});
}
function award(key, points = 1) {
if (!done.has(key)) {
done.add(key);
score += points;
updateProgress();
return true;
}
return false;
}
function check(btn, chosen, correct) {
const task = btn.closest('.task');
const fb = task.querySelector('.feedback');
if (chosen === correct) {
fb.textContent = '✓ Correct! +1 point';
fb.className = 'feedback good';
task.querySelectorAll('button').forEach(b => b.disabled = true);
award('question-' + [...document.querySelectorAll('.task')].indexOf(task));
} else {
fb.textContent = 'Not quite — try again!';
fb.className = 'feedback bad';
}
}
function checkInventory() {
const vals = ['collected','found','went','took','broke','cleaned'];
let n = 0;
vals.forEach((v,i) => {
const el = document.getElementById('v' + (i+1));
const correct = el.value.trim().toLowerCase() === v;
el.style.borderColor = correct ? '#b7ef65' : '#ff8177';
if (correct) n++;
});
const f = document.getElementById('invfb');
f.textContent = n + '/6 correct' + (n===6 ? ' — Inventory complete! +2 points' : ' — Check the highlighted answers and try again.');
f.className = 'feedback ' + (n===6 ? 'good' : 'bad');
if (n===6) award('inventory', 2);
}
function checkSort() {
const els = [...document.querySelectorAll('[data-sort]')];
const n = els.filter(e => e.value === e.dataset.sort).length;
els.forEach(e => e.style.borderColor = e.value === e.dataset.sort ? '#b7ef65' : '#ff8177');
const f = document.getElementById('sortfb');
f.textContent = n + '/6 correct' + (n===6 ? ' — Perfect sorting! +2 points' : ' — Review regular and irregular verbs.');
f.className = 'feedback ' + (n===6 ? 'good' : 'bad');
if (n===6) award('sort', 2);
}
function checkOrder() {
const expected = ['3','1','5','2','4'];
const ids = ['o1','o2','o3','o4','o5'];
let n = 0;
ids.forEach((id,i) => {
const el = document.getElementById(id);
const correct = el.value === expected[i];
el.style.borderColor = correct ? '#b7ef65' : '#ff8177';
if (correct) n++;
});
const f = document.getElementById('orderfb');
f.textContent = n + '/5 correct' + (n===5 ? ' — Map recovered! +2 points' : ' — Read the story again and try.');
f.className = 'feedback ' + (n===5 ? 'good' : 'bad');
if (n===5) award('order', 2);
}
function sayCheck(id, fbid) {
const v = document.getElementById(id).value.trim();
const f = document.getElementById(fbid);
if (v.length > 8 && /\b(yesterday|last|ago|went|built|found|played|helped|saw|took|cleaned|collected|broke|looked|walked|crossed|ran|showed)\b/i.test(v)) {
f.textContent = 'Great! Your Past Simple idea is ready — read it aloud. +1 point';
f.className = 'feedback good';
award(id);
} else if (v.length > 8) {
f.textContent = 'Good start! Try to include a past-time clue or a past verb.';
f.className = 'feedback bad';
} else {
f.textContent = 'Add a little more — write a complete sentence.';
f.className = 'feedback bad';
}
}
function resetQuest() {
if (!confirm('Reset all answers and quest points?')) return;
score = 0;
done.clear();
document.querySelectorAll('input[type="text"], textarea').forEach(el => {
el.value = '';
el.style.borderColor = '';
});
document.querySelectorAll('select').forEach(el => {
el.selectedIndex = 0;
el.style.borderColor = '';
});
document.querySelectorAll('.feedback').forEach(el => {
el.textContent = '';
el.className = 'feedback';
});
document.querySelectorAll('.task button').forEach(b => b.disabled = false);
const prompt = document.getElementById('prompt');
if (prompt) prompt.textContent = 'Choose a card to get your speaking prompt.';
updateProgress();
}
document.addEventListener('DOMContentLoaded', () => {
updateProgress();
// Make story-card prompts work without depending on inline HTML handlers.
document.querySelectorAll('#two .options button').forEach(button => {
if (button.textContent.includes('The Cave')) button.addEventListener('click', () => document.getElementById('prompt').textContent = 'THE CAVE: I went to a cave. I found ...');
if (button.textContent.includes('The Village')) button.addEventListener('click', () => document.getElementById('prompt').textContent = 'THE VILLAGE: I saw ... I helped ...');
if (button.textContent.includes('The Treasure')) button.addEventListener('click', () => document.getElementById('prompt').textContent = 'THE TREASURE: I found ... I took ...');
});
});
</script>
</body></html>