#!/usr/bin/env python3 """ Debug & Validation per il gioco Windjammers Verifica: sintassi JS, struttura HTML, funzioni critiche, errori comuni """ import re import sys import json def extract_js(html_path): """Estrae il JavaScript dall'HTML""" with open(html_path, 'r') as f: html = f.read() match = re.search(r'', html, re.DOTALL) if not match: return None, "Nessun tag