diff --git a/App/sims/weltkueche/game.html b/App/sims/weltkueche/game.html index 60001ce..c107b89 100644 --- a/App/sims/weltkueche/game.html +++ b/App/sims/weltkueche/game.html @@ -1007,7 +1007,7 @@ function buildTaskFor(ingKey) { .filter(([c, info]) => C[c] && c !== heimat && mrank(info.market) < 2) .sort((a, b) => (mrank(a[1].market) - mrank(b[1].market)) || ((b[1].t || 0) - (a[1].t || 0))) .map(([c]) => c); - const correct = [heimat, ...realistic.slice(0, 2)]; + const correct = [heimat, ...realistic.slice(0, 1)]; // Heimat + eine realistische Zweit-Wahl (wie normaler Zweig: 2 Korrekte) if (correct.length < 2) { // Garantie: es gibt IMMER eine zweite Wahl const any = Object.entries(ing.producers) .filter(([c]) => C[c] && c !== heimat && !correct.includes(c)) @@ -1181,7 +1181,8 @@ function loadIngredient(){ ? 'aus welchem Land stammt diese Zutat in diesem Gericht?' : 'aus welchem Land kommt diese Zutat häufig zu uns auf den Markt?'); document.getElementById('taskBanner').innerHTML= - `🔎 Suche: ${ing.nm} – ${frage}`; + `🔎 Suche: ${ing.nm} – ${frage}` + + ` · richtig +100, jeder Fehlklick −25 (¼)`; document.getElementById('resultCard').className="result-card"; drawMarkers(ing); renderIngList(); } @@ -1218,7 +1219,7 @@ function guess(key){ playSfx('click-country'); if (cls === 'correct') { b.classList.add('correct'); - const pts = current.wrongStreak===0?100:60; + const pts = Math.max(0, 100 - 25 * (current.wrongHere || 0)); // richtig = 100; jeder Fehlklick auf dieser Zutat: −25 (¼) state.score+=pts; current.dishScore+=pts; state.totalCorrect++; current.wrongStreak=0; current.found.push(key); map.flyTo([c.lat,c.lng],3,{duration:.7});