🎮ArcadeLab

مغامرة حرف س

by BoldRanger52
79 lines2.9 KB
▶ Play

<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>مغامرة حرف س</title>
<style>
body{font-family:Tahoma;text-align:center;background:#e9f8ff;color:#394b70;padding:15px}
.card{background:white;border-radius:25px;padding:25px;max-width:600px;margin:auto;box-shadow:0 5px 15px #cbdce8}
h1{color:#e65a9b}
.pic{font-size:85px;margin:15px}
p{font-size:23px;line-height:1.8}
button{border:0;border-radius:18px;padding:15px;margin:7px;background:#f8c6df;font-size:20px;cursor:pointer}
button:hover{background:#f29ac4}
#msg{font-size:22px;color:#168c70;font-weight:bold}
</style>
</head>
<body>
<div class="card">
<h1>🌸 مغامرة سما مع حرف السين 🌸</h1>
<h3>تفعيل الطالبة: سما صميلي</h3>
<div id="story">
<div class="pic">👧🏻🌞</div>
<p>في صباح جميل، استيقظت سما وقالت:<br>
أريد أن أبحث عن حرف جديد!<br>
هل تساعدون سما يا أصدقائي؟</p>
<button onclick="next(1)">نعم! هيا نبدأ 🚀</button>
</div>
<div id="msg"></div>
</div>
<script>
let scenes=[
`<div class="pic">🐟</div>
<p>ذهبت سما إلى البحر، فرأت سمكة جميلة!<br>
قالت: سمكة تبدأ بحرف س.<br>ما الحرف الأول في كلمة سمكة؟</p>
<button onclick="next(2)">س</button>
<button onclick="wrong()">ش</button>`,

`<div class="pic">☀️🌳</div>
<p>واصلت سما رحلتها، ورأت شمساً مشرقة!<br>
هل كلمة شمس تبدأ بحرف س؟</p>
<button onclick="wrong()">نعم</button>
<button onclick="next(3)">لا، تبدأ بحرف ش</button>`,

`<div class="pic">🪜</div>
<p>وجدت سما سلماً صغيراً!<br>
هيا نختار الكلمة التي تبدأ بحرف س:</p>
<button onclick="next(4)">سلم 🪜</button>
<button onclick="wrong()">قمر 🌙</button>`,

`<div class="pic">🎒</div>
<p>حملت سما حقيبتها وقالت:<br>
سَ سُ سِ<br>
هيا نردد معاً أصوات حرف السين!</p>
<button onclick="next(5)">رددناها 🎤</button>`,

`<div class="pic">🏆🌟</div>
<p>أحسنتم يا أبطال!<br>
ساعدتم سما في اكتشاف حرف السين.<br>
أنتم نجوم حرف س!</p>
<button onclick="restart()">إعادة القصة 🔄</button>`
];
function next(n){
document.getElementById('story').innerHTML=scenes[n-1];
document.getElementById('msg').innerHTML="⭐ أحسنتم يا أبطال!";
}
function wrong(){
document.getElementById('msg').innerHTML="💗 حاولي مرة أخرى يا شطورة!";
}
function restart(){
document.getElementById('story').innerHTML=
'<div class="pic">👧🏻🌞</div><p>هيا نبدأ مغامرة سما من جديد!</p><button onclick="next(1)">ابدئي القصة 🚀</button>';
document.getElementById('msg').innerHTML="";
}
</script>
</body>
</html>

Game Source: مغامرة حرف س

Creator: BoldRanger52

Libraries: none

Complexity: moderate (79 lines, 2.9 KB)

The full source code is displayed above on this page.

Remix Instructions

To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: game-boldranger52-mwgvl2fm" to link back to the original. Then publish at arcadelab.ai/publish.