32 lines
		
	
	
		
			934 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			934 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="es">
 | 
						|
<head>
 | 
						|
  <meta charset="UTF-8">
 | 
						|
  <title>Breakout</title>
 | 
						|
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
						|
  <link rel="stylesheet" href="styles.css">
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
  <h1>Rompe Ladrillos</h1>
 | 
						|
  <p>Usa el ratón para mover el bloque. Rompe todos los ladrillos para ganar.</p>
 | 
						|
  <div id="controls">
 | 
						|
    <label for="difficulty">Dificultad:</label>
 | 
						|
    <select id="difficulty">
 | 
						|
      <option value="easy">Fácil</option>
 | 
						|
      <option value="normal" selected>Normal</option>
 | 
						|
      <option value="hard">Difícil</option>
 | 
						|
    </select>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <canvas id="gameCanvas" width="540" height="480"></canvas>
 | 
						|
 | 
						|
  <div id="score">
 | 
						|
    Puntuación: <span id="score-value">0</span>
 | 
						|
    · Mejor: <span id="best-score">0</span>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <button id="restart-btn">Reiniciar</button>
 | 
						|
  <div id="game-over-message" aria-live="polite"></div>
 | 
						|
  <script src="script.js"></script>
 | 
						|
</body>
 | 
						|
</html> |