-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3302 from Roshr2211/main
Enabled the game 'run and jump' to pause and resume
- Loading branch information
Showing
3 changed files
with
107 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="veiwport" content="width=device-width,initial-scale=1.0"> | ||
<title>JUMP AND RUN GAME</title>] | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> | ||
<link rel="stylesheet" href="style.css"> | ||
|
||
|
||
</head> | ||
<body> | ||
<div style="text-align: right; margin-right:20px; | ||
font-size: 20px; | ||
padding: 2px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:black;" class="fas fa-home home-icon"></i></a></div> | ||
<div id="ground"></div> | ||
<div id="character"></div> | ||
<div class="obstacles"></div> | ||
<h2> | ||
Score: <span id="score">0</span> | ||
</h2> | ||
<script src="script.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>JUMP AND RUN GAME</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<div style="text-align: right; margin-right:20px; font-size: 20px; padding: 2px;"> | ||
<a href="https://kunjgit.github.io/GameZone/"><i style="color:black;" class="fas fa-home home-icon"></i></a> | ||
</div> | ||
<div id="ground"></div> | ||
<div id="character"></div> | ||
<div class="obstacles"></div> | ||
<div class="scoreid"> | ||
<h2>Score: <span id="score">0</span></h2> | ||
</div> | ||
<div class="buttons"> | ||
<button onclick="endGame()" class="stopandresume">Stop and Resume</button> | ||
</div> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters