27 lines
		
	
	
	
		
			830 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
	
		
			830 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
|  | <!DOCTYPE html> | ||
|  | <html lang="en"> | ||
|  | <head> | ||
|  |   <meta charset="UTF-8"> | ||
|  |   <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|  |   <title>Game Landing Page</title> | ||
|  |   <link rel="stylesheet" href="styles.css"> | ||
|  | </head> | ||
|  | <body> | ||
|  |   <div class="landing-page"> | ||
|  |     <div class="game-background"> | ||
|  |       <!-- Game is embedded or shown as background --> | ||
|  |       <canvas id="gameCanvas"></canvas> | ||
|  |     </div> | ||
|  | 
 | ||
|  |     <div class="content"> | ||
|  |       <h1>Welcome to the Asteroid Game!</h1> | ||
|  |       <p>In this game, you control a spaceship that shoots at asteroids to avoid destruction and collect items for power-ups.</p> | ||
|  |       <p>Your goal is to survive as long as possible while scoring points!</p> | ||
|  |       <button onclick="window.location.href='secret.html'">Play Game</button> | ||
|  |     </div> | ||
|  |   </div> | ||
|  | 
 | ||
|  |   <script src="app.js"></script> | ||
|  | </body> | ||
|  | </html> |