Untitled
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Flappy Charizard</title> <link rel="stylesheet" href="styles.css" /> </head> <body> <div id="gameContainer"> <canvas id="gameCanvas" width="400" height="600"></canvas> <!-- Centered scoreboard --> <div id="score">Score: 0</div> <!-- Small instruction that fades after first jump --> <div id="instructions">Tap to jump!</div> <button id="restartBtn">Restart</button> </div> <script src="script.js"></script> </body> </html>
Leave a Comment