getSettingsForAPI($discipline); } catch (Throwable $e) { error_log('Ping-Pong settings load error: ' . $e->getMessage()); $defaults = DisciplineSettingsModel::getDefaults($discipline); $settings = [ 'discipline' => $discipline, 'settingsVersion' => 0, 'rules' => [ 'pointsToWin' => $defaults['pointsToWin'], 'setsToWin' => $defaults['setsToWin'], 'serveRotation' => $defaults['serveRotation'], 'specialRules' => $defaults['specialRules'] ], 'customization' => $defaults['customization'] ?? [], 'metadata' => [ 'created_at' => null, 'updated_at' => null, 'updated_by' => null ], 'status' => 'default' ]; $settingsError = 'Błąd wczytywania ustawień. Spróbuj odświeżyć stronę.'; } ?>

🏓 Ping-Pong - Ustawienia Dyscypliny

ℹ️ Informacja: Każda zmiana ustawień zwiększa wersję. Gry są zawsze uruchamiane z snapshot'em ustawień z momentu startu, więc stare mecze nie są dotknięte zmianami.
Obecna wersja: v
Ostatnia zmiana:

🎮 Reguły Gry (Logika)

Liczba punktów potrzebnych do wygrania seta (min: 1, max: 100)
Liczba setów potrzebnych do wygrania meczu (min: 1, max: 100)
Po ilu punktach następuje zmiana serwisu (min: 1, max: 50)
Dodatkowe reguły (opcjonalne)
Aktualne wartości:
pointsToWin:
setsToWin:
serveRotation:

🎨 Personalizacja UI

Wybierz motyw interfejsu gry
Podgląd:
Stół:
Piłka:
Rakietka:
Motyw: