الحكمة النوردية الأبدية
ᚠ قراءة الرونز ᛟ
اسحب رونات من الفوثارك القديم واستمع إلى ما تكشفه الرموز الأزلية عن طريقك.
ᚦ 20 نقاط قمرية
{
r.addEventListener('change', () => { this.stoneCount = parseInt(r.value); });
});
},
initSpeech() {
const SR = window.SpeechRecognition || window.webkitSpeechRecognition;
if (!SR) { this.sttUnsupported = true; return; }
this.recognition = new SR();
this.recognition.continuous = false;
this.recognition.interimResults = true;
this.recognition.lang = this.sttLocale();
this.recognition.onresult = (e) => {
const t = Array.from(e.results).map(r => r[0].transcript).join('');
document.querySelector('textarea[name=\"user_question\"]').value = t;
};
this.recognition.onend = () => { this.isListening = false; };
},
toggleListen() {
if (this.isListening) { this.recognition.stop(); }
else { this.recognition.lang = this.sttLocale(); this.recognition.start(); this.isListening = true; }
},
sttLocale() {
const map = { ar:'ar-LB', en:'en-US', fr:'fr-FR', es:'es-ES', tr:'tr-TR' };
return map[document.documentElement.lang || 'ar'] || 'ar-LB';
},
startCasting() {
this.castStarted = true;
this.stones = [];
const pool = [...this.runeGlyphs];
pool.sort(() => Math.random() - 0.5);
const count = this.stoneCount;
const basePositions = count === 1 ? [50] : count === 3 ? [20,50,80] : [12,30,50,70,88];
for (let i = 0; i < count; i++) {
this.stones.push({
glyph: pool[i],
reversed: Math.random() < 0.3,
left: (basePositions[i] || 50) + (Math.random() * 12 - 6),
top: 55 + (Math.random() * 18 - 9),
rotate: Math.random() * 24 - 12,
landed: false,
});
}
this.$nextTick(() => {
this.stones.forEach((s, i) => {
setTimeout(() => { s.landed = true; }, 200 + i * 380);
});
const totalDelay = 200 + (count - 1) * 380 + 700;
setTimeout(() => {
document.getElementById('rune-submit-form').submit();
}, totalDelay);
});
}
}">
قراءة الرونات
الرونات تتساقط...