-
Notifications
You must be signed in to change notification settings - Fork 839
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 #2929 from Sushilverma002/main
[Enhancement]: hang man game is updated with UI and more functionality
- Loading branch information
Showing
18 changed files
with
673 additions
and
793 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,28 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Hangman</title> | ||
<!-- Stylesheet --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
</head> | ||
<body> | ||
<div style="text-align:center; | ||
margin-top: 30px; | ||
font-size: 30px; | ||
padding: 5px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:white;" class="fas fa-home home-icon"></i></a></div> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Hangman Game</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<script src="scripts/word-list.js" defer></script> | ||
<script src="scripts/script.js" defer></script> | ||
</head> | ||
<body> | ||
<div style="text-align:center; | ||
margin-top: 30px; | ||
font-size: 30px; | ||
padding: 5px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:white;" class="fas fa-home home-icon"></i></a></div> <div class="game-modal"> | ||
<div class="content"> | ||
<img src="#" alt="gif"> | ||
<h4>Game Over!</h4> | ||
<p>The correct word was: <b>rainbow</b></p> | ||
<button class="play-again">Play Again</button> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div id="options-container"></div> | ||
<div id="letter-container" class="letter-container hide"></div> | ||
<div id="user-input-section"></div> | ||
<canvas id="canvas"></canvas> | ||
<div id="new-game-container" class="new-game-popup hide"> | ||
<div id="result-text"></div> | ||
<button id="new-game-button">New Game</button> | ||
</div> | ||
<div class="hangman-box"> | ||
<img src="#" draggable="false" alt="hangman-img"> | ||
<h1>Hangman Game</h1> | ||
</div> | ||
<div class="game-box"> | ||
<ul class="word-display"></ul> | ||
<h4 class="hint-text">Hint: <b></b></h4> | ||
<h4 class="guesses-text">Incorrect guesses: <b></b></h4> | ||
<div class="keyboard"></div> | ||
</div> | ||
</div> | ||
<!-- Script --> | ||
<script src="script.js"></script> | ||
</body> | ||
</body> | ||
</html> |
Oops, something went wrong.