Balance angepasst (Timer & Objekt-Anzahl-Kurve)
START_TIME 12, MAX_TIME 30, BONUS 1, PENALTY 2; Stufen-Steigerung der Objektanzahl erst ab Score 25 und flacher (+2 pro Stufe). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
const $ = (id) => document.getElementById(id);
|
||||
|
||||
// ---- Konstanten (leicht justierbar) ----
|
||||
const START_TIME = 22; // Sekunden zu Beginn
|
||||
const MAX_TIME = 20; // Deckel (Timerleiste = timeLeft / MAX_TIME)
|
||||
const BONUS = 1.0; // Zeit pro Treffer
|
||||
const PENALTY = 3.0; // Zeitabzug pro Fehlklick
|
||||
const START_TIME = 12; // Sekunden zu Beginn
|
||||
const MAX_TIME = 30; // Deckel (Timerleiste = timeLeft / MAX_TIME)
|
||||
const BONUS = 1; // Zeit pro Treffer
|
||||
const PENALTY = 2.0; // Zeitabzug pro Fehlklick
|
||||
const NAME_KEY = 'fuesse_name';
|
||||
|
||||
// ---- Zustand ----
|
||||
@@ -36,9 +36,9 @@ function shuffle(a) {
|
||||
// Alle Werte hier leicht justierbar.
|
||||
const COUNT_BASE = 10; // Startanzahl
|
||||
const COUNT_PER_SCORE = 1.5; // frühes lineares Wachstum
|
||||
const STEP_START = 15; // ab diesem Score kommen Stufen dazu
|
||||
const STEP_START = 25; // ab diesem Score kommen Stufen dazu
|
||||
const STEP_EVERY = 3; // alle N Punkte eine Stufe
|
||||
const STEP_ADD = 5; // +M Objekte pro Stufe
|
||||
const STEP_ADD = 2; // +M Objekte pro Stufe
|
||||
const COUNT_CAP = 100; // harte Obergrenze (Performance/Spielbarkeit)
|
||||
|
||||
function objectCount(score) {
|
||||
|
||||
Reference in New Issue
Block a user