feat: modalità amichevole e fix URL remoti in dev (WSL2)

- Aggiunge modalità "Amichevole" in config: i set si vincono normalmente
  ma la partita non termina mai automaticamente (checkVittoriaPartita
  restituisce false), consentendo di giocare set illimitati
- Dev server ora espone su tutte le interfacce (vite --host)
- printServerInfo mostra Display + Controller per dispositivi remoti
- Su WSL2 getNetworkIPs() interroga PowerShell per ottenere gli IP
  Windows reali invece degli IP interni WSL (172.x)
This commit is contained in:
2026-06-20 15:42:57 +02:00
parent 38703116ff
commit 87ce0e26b8
4 changed files with 34 additions and 16 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"version": "2.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "vite --host",
"build": "vite build",
"serve": "vite build && node server.js",
"test": "vitest",