├── README.md └── Hangman ├── images ├── lost.gif ├── victory.gif ├── hangman-0.svg ├── hangman-1.svg ├── hangman-2.svg ├── hangman-3.svg ├── hangman-4.svg ├── hangman-5.svg └── hangman-6.svg ├── index.html ├── script.js ├── scripts ├── script.js └── word-list.js ├── style.css └── word-list.js /README.md: -------------------------------------------------------------------------------- 1 | # HangMan -------------------------------------------------------------------------------- /Hangman/images/lost.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanjaycodez/HangMan/HEAD/Hangman/images/lost.gif -------------------------------------------------------------------------------- /Hangman/images/victory.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanjaycodez/HangMan/HEAD/Hangman/images/victory.gif -------------------------------------------------------------------------------- /Hangman/images/hangman-0.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Hangman/images/hangman-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Hangman/images/hangman-2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Hangman/images/hangman-3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Hangman/images/hangman-4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Hangman/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Hangman Game JavaScript | CodingNepal 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | gif 16 |

Game Over!

17 |

The correct word was: rainbow

18 | 19 |
20 |
21 |
22 |
23 | hangman-img 24 |

Hangman Game

25 |
26 |
27 | 36 |

Hint: This is the hint

37 |

Incorrect guesses: 0/6

38 |
39 |
40 |
41 |
42 | 43 | -------------------------------------------------------------------------------- /Hangman/images/hangman-5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Hangman/images/hangman-6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Hangman/script.js: -------------------------------------------------------------------------------- 1 | const wordDisplay = document.querySelector(".word-display"); 2 | const guessesText = document.querySelector(".guesses-text b"); 3 | const keyboardDiv = document.querySelector(".keyboard"); 4 | const hangmanImage = document.querySelector(".hangman-box img"); 5 | const gameModal = document.querySelector(".game-modal"); 6 | const playAgainBtn = gameModal.querySelector("button"); 7 | 8 | // Initializing game variables 9 | let currentWord, correctLetters, wrongGuessCount; 10 | const maxGuesses = 6; 11 | 12 | const resetGame = () => { 13 | // Ressetting game variables and UI elements 14 | correctLetters = []; 15 | wrongGuessCount = 0; 16 | hangmanImage.src = "images/hangman-0.svg"; 17 | guessesText.innerText = `${wrongGuessCount} / ${maxGuesses}`; 18 | wordDisplay.innerHTML = currentWord.split("").map(() => `
  • `).join(""); 19 | keyboardDiv.querySelectorAll("button").forEach(btn => btn.disabled = false); 20 | gameModal.classList.remove("show"); 21 | } 22 | 23 | const getRandomWord = () => { 24 | // Selecting a random word and hint from the wordList 25 | const { word, hint } = wordList[Math.floor(Math.random() * wordList.length)]; 26 | currentWord = word; // Making currentWord as random word 27 | document.querySelector(".hint-text b").innerText = hint; 28 | resetGame(); 29 | } 30 | 31 | const gameOver = (isVictory) => { 32 | // After game complete.. showing modal with relevant details 33 | const modalText = isVictory ? `You found the word:` : 'The correct word was:'; 34 | gameModal.querySelector("img").src = `images/${isVictory ? 'victory' : 'lost'}.gif`; 35 | gameModal.querySelector("h4").innerText = isVictory ? 'Congrats!' : 'Game Over!'; 36 | gameModal.querySelector("p").innerHTML = `${modalText} ${currentWord}`; 37 | gameModal.classList.add("show"); 38 | } 39 | 40 | const initGame = (button, clickedLetter) => { 41 | // Checking if clickedLetter is exist on the currentWord 42 | if(currentWord.includes(clickedLetter)) { 43 | // Showing all correct letters on the word display 44 | [...currentWord].forEach((letter, index) => { 45 | if(letter === clickedLetter) { 46 | correctLetters.push(letter); 47 | wordDisplay.querySelectorAll("li")[index].innerText = letter; 48 | wordDisplay.querySelectorAll("li")[index].classList.add("guessed"); 49 | } 50 | }); 51 | } else { 52 | // If clicked letter doesn't exist then update the wrongGuessCount and hangman image 53 | wrongGuessCount++; 54 | hangmanImage.src = `images/hangman-${wrongGuessCount}.svg`; 55 | } 56 | button.disabled = true; // Disabling the clicked button so user can't click again 57 | guessesText.innerText = `${wrongGuessCount} / ${maxGuesses}`; 58 | 59 | // Calling gameOver function if any of these condition meets 60 | if(wrongGuessCount === maxGuesses) return gameOver(false); 61 | if(correctLetters.length === currentWord.length) return gameOver(true); 62 | } 63 | 64 | // Creating keyboard buttons and adding event listeners 65 | for (let i = 97; i <= 122; i++) { 66 | const button = document.createElement("button"); 67 | button.innerText = String.fromCharCode(i); 68 | keyboardDiv.appendChild(button); 69 | button.addEventListener("click", (e) => initGame(e.target, String.fromCharCode(i))); 70 | } 71 | 72 | getRandomWord(); 73 | playAgainBtn.addEventListener("click", getRandomWord); -------------------------------------------------------------------------------- /Hangman/scripts/script.js: -------------------------------------------------------------------------------- 1 | const wordDisplay = document.querySelector(".word-display"); 2 | const guessesText = document.querySelector(".guesses-text b"); 3 | const keyboardDiv = document.querySelector(".keyboard"); 4 | const hangmanImage = document.querySelector(".hangman-box img"); 5 | const gameModal = document.querySelector(".game-modal"); 6 | const playAgainBtn = gameModal.querySelector("button"); 7 | 8 | // Initializing game variables 9 | let currentWord, correctLetters, wrongGuessCount; 10 | const maxGuesses = 6; 11 | 12 | const resetGame = () => { 13 | // Ressetting game variables and UI elements 14 | correctLetters = []; 15 | wrongGuessCount = 0; 16 | hangmanImage.src = "images/hangman-0.svg"; 17 | guessesText.innerText = `${wrongGuessCount} / ${maxGuesses}`; 18 | wordDisplay.innerHTML = currentWord.split("").map(() => `
  • `).join(""); 19 | keyboardDiv.querySelectorAll("button").forEach(btn => btn.disabled = false); 20 | gameModal.classList.remove("show"); 21 | } 22 | 23 | const getRandomWord = () => { 24 | // Selecting a random word and hint from the wordList 25 | const { word, hint } = wordList[Math.floor(Math.random() * wordList.length)]; 26 | currentWord = word; // Making currentWord as random word 27 | document.querySelector(".hint-text b").innerText = hint; 28 | resetGame(); 29 | } 30 | 31 | const gameOver = (isVictory) => { 32 | // After game complete.. showing modal with relevant details 33 | const modalText = isVictory ? `You found the word:` : 'The correct word was:'; 34 | gameModal.querySelector("img").src = `images/${isVictory ? 'victory' : 'lost'}.gif`; 35 | gameModal.querySelector("h4").innerText = isVictory ? 'Congrats!' : 'Game Over!'; 36 | gameModal.querySelector("p").innerHTML = `${modalText} ${currentWord}`; 37 | gameModal.classList.add("show"); 38 | } 39 | 40 | const initGame = (button, clickedLetter) => { 41 | // Checking if clickedLetter is exist on the currentWord 42 | if(currentWord.includes(clickedLetter)) { 43 | // Showing all correct letters on the word display 44 | [...currentWord].forEach((letter, index) => { 45 | if(letter === clickedLetter) { 46 | correctLetters.push(letter); 47 | wordDisplay.querySelectorAll("li")[index].innerText = letter; 48 | wordDisplay.querySelectorAll("li")[index].classList.add("guessed"); 49 | } 50 | }); 51 | } else { 52 | // If clicked letter doesn't exist then update the wrongGuessCount and hangman image 53 | wrongGuessCount++; 54 | hangmanImage.src = `images/hangman-${wrongGuessCount}.svg`; 55 | } 56 | button.disabled = true; // Disabling the clicked button so user can't click again 57 | guessesText.innerText = `${wrongGuessCount} / ${maxGuesses}`; 58 | 59 | // Calling gameOver function if any of these condition meets 60 | if(wrongGuessCount === maxGuesses) return gameOver(false); 61 | if(correctLetters.length === currentWord.length) return gameOver(true); 62 | } 63 | 64 | // Creating keyboard buttons and adding event listeners 65 | for (let i = 97; i <= 122; i++) { 66 | const button = document.createElement("button"); 67 | button.innerText = String.fromCharCode(i); 68 | keyboardDiv.appendChild(button); 69 | button.addEventListener("click", (e) => initGame(e.target, String.fromCharCode(i))); 70 | } 71 | 72 | getRandomWord(); 73 | playAgainBtn.addEventListener("click", getRandomWord); -------------------------------------------------------------------------------- /Hangman/style.css: -------------------------------------------------------------------------------- 1 | /* Importing Google font - Open Sans */ 2 | @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap"); 3 | * { 4 | margin: 0; 5 | padding: 0; 6 | box-sizing: border-box; 7 | font-family: "Open Sans", sans-serif; 8 | } 9 | body { 10 | display: flex; 11 | padding: 0 10px; 12 | align-items: center; 13 | justify-content: center; 14 | min-height: 100vh; 15 | background: #2d2697; 16 | } 17 | .container { 18 | display: flex; 19 | width: 850px; 20 | gap: 70px; 21 | padding: 60px 40px; 22 | background: #fff; 23 | border-radius: 10px; 24 | align-items: flex-end; 25 | justify-content: space-between; 26 | box-shadow: 0 10px 20px rgba(0,0,0,0.1); 27 | } 28 | .hangman-box img { 29 | user-select: none; 30 | max-width: 270px; 31 | } 32 | .hangman-box h1 { 33 | font-size: 1.45rem; 34 | text-align: center; 35 | margin-top: 20px; 36 | text-transform: uppercase; 37 | } 38 | .word-display{ 39 | gap: 10px; 40 | list-style: none; 41 | display: flex; 42 | flex-wrap: wrap; 43 | justify-content: center; 44 | align-items: center; 45 | } 46 | .word-display .letter { 47 | width: 28px; 48 | font-size: 2rem; 49 | text-align: center; 50 | font-weight: 600; 51 | margin-bottom: 40px; 52 | text-transform: uppercase; 53 | border-bottom: 3px solid #000; 54 | } 55 | .word-display .letter.guessed { 56 | margin: -40px 0 35px; 57 | border-color: transparent; 58 | } 59 | .game-box h4 { 60 | text-align: center; 61 | font-size: 1.1rem; 62 | font-weight: 500; 63 | margin-bottom: 15px; 64 | } 65 | .game-box h4 b { 66 | font-weight: 600; 67 | } 68 | .game-box .guesses-text b { 69 | color: #ff0000; 70 | } 71 | .game-box .keyboard { 72 | display: flex; 73 | gap: 5px; 74 | flex-wrap: wrap; 75 | margin-top: 40px; 76 | justify-content: center; 77 | } 78 | :where(.game-modal, .keyboard) button { 79 | color: #fff; 80 | border: none; 81 | outline: none; 82 | cursor: pointer; 83 | font-size: 1rem; 84 | font-weight: 600; 85 | border-radius: 4px; 86 | text-transform: uppercase; 87 | background: #5E63BA; 88 | } 89 | .keyboard button { 90 | padding: 7px; 91 | width: calc(100% / 9 - 5px); 92 | } 93 | .keyboard button[disabled] { 94 | pointer-events: none; 95 | opacity: 0.6; 96 | } 97 | :where(.game-modal, .keyboard) button:hover { 98 | background: #8286c9; 99 | } 100 | .game-modal { 101 | position: fixed; 102 | top: 0; 103 | left: 0; 104 | width: 100%; 105 | height: 100%; 106 | opacity: 0; 107 | pointer-events: none; 108 | background: rgba(0,0,0,0.6); 109 | display: flex; 110 | align-items: center; 111 | justify-content: center; 112 | z-index: 9999; 113 | padding: 0 10px; 114 | transition: opacity 0.4s ease; 115 | } 116 | .game-modal.show { 117 | opacity: 1; 118 | pointer-events: auto; 119 | transition: opacity 0.4s 0.4s ease; 120 | } 121 | .game-modal .content { 122 | padding: 30px; 123 | max-width: 420px; 124 | width: 100%; 125 | border-radius: 10px; 126 | background: #fff; 127 | text-align: center; 128 | box-shadow: 0 10px 20px rgba(0,0,0,0.1); 129 | } 130 | .game-modal img { 131 | max-width: 130px; 132 | margin-bottom: 20px; 133 | } 134 | .game-modal img[src="images/victory.gif"] { 135 | margin-left: -10px; 136 | } 137 | .game-modal h4 { 138 | font-size: 1.53rem; 139 | } 140 | .game-modal p { 141 | font-size: 1.15rem; 142 | margin: 15px 0 30px; 143 | font-weight: 500; 144 | } 145 | .game-modal p b { 146 | color: #5E63BA; 147 | font-weight: 600; 148 | } 149 | .game-modal button { 150 | padding: 12px 23px; 151 | } 152 | 153 | @media (max-width: 782px) { 154 | .container { 155 | flex-direction: column; 156 | padding: 30px 15px; 157 | align-items: center; 158 | } 159 | .hangman-box img { 160 | max-width: 200px; 161 | } 162 | .hangman-box h1 { 163 | display: none; 164 | } 165 | .game-box h4 { 166 | font-size: 1rem; 167 | } 168 | .word-display .letter { 169 | margin-bottom: 35px; 170 | font-size: 1.7rem; 171 | } 172 | .word-display .letter.guessed { 173 | margin: -35px 0 25px; 174 | } 175 | .game-modal img { 176 | max-width: 120px; 177 | } 178 | .game-modal h4 { 179 | font-size: 1.45rem; 180 | } 181 | .game-modal p { 182 | font-size: 1.1rem; 183 | } 184 | .game-modal button { 185 | padding: 10px 18px; 186 | } 187 | } -------------------------------------------------------------------------------- /Hangman/word-list.js: -------------------------------------------------------------------------------- 1 | const wordList = [ 2 | { 3 | word: "guitar", 4 | hint: "A musical instrument with strings." 5 | }, 6 | { 7 | word: "oxygen", 8 | hint: "A colorless, odorless gas essential for life." 9 | }, 10 | { 11 | word: "mountain", 12 | hint: "A large natural elevation of the Earth's surface." 13 | }, 14 | { 15 | word: "painting", 16 | hint: "An art form using colors on a surface to create images or expression." 17 | }, 18 | { 19 | word: "astronomy", 20 | hint: "The scientific study of celestial objects and phenomena." 21 | }, 22 | { 23 | word: "football", 24 | hint: "A popular sport played with a spherical ball." 25 | }, 26 | { 27 | word: "chocolate", 28 | hint: "A sweet treat made from cocoa beans." 29 | }, 30 | { 31 | word: "butterfly", 32 | hint: "An insect with colorful wings and a slender body." 33 | }, 34 | { 35 | word: "history", 36 | hint: "The study of past events and human civilization." 37 | }, 38 | { 39 | word: "pizza", 40 | hint: "A savory dish consisting of a round, flattened base with toppings." 41 | }, 42 | { 43 | word: "jazz", 44 | hint: "A genre of music characterized by improvisation and syncopation." 45 | }, 46 | { 47 | word: "camera", 48 | hint: "A device used to capture and record images or videos." 49 | }, 50 | { 51 | word: "diamond", 52 | hint: "A precious gemstone known for its brilliance and hardness." 53 | }, 54 | { 55 | word: "adventure", 56 | hint: "An exciting or daring experience." 57 | }, 58 | { 59 | word: "science", 60 | hint: "The systematic study of the structure and behavior of the physical and natural world." 61 | }, 62 | { 63 | word: "bicycle", 64 | hint: "A human-powered vehicle with two wheels." 65 | }, 66 | { 67 | word: "sunset", 68 | hint: "The daily disappearance of the sun below the horizon." 69 | }, 70 | { 71 | word: "coffee", 72 | hint: "A popular caffeinated beverage made from roasted coffee beans." 73 | }, 74 | { 75 | word: "dance", 76 | hint: "A rhythmic movement of the body often performed to music." 77 | }, 78 | { 79 | word: "galaxy", 80 | hint: "A vast system of stars, gas, and dust held together by gravity." 81 | }, 82 | { 83 | word: "orchestra", 84 | hint: "A large ensemble of musicians playing various instruments." 85 | }, 86 | { 87 | word: "volcano", 88 | hint: "A mountain or hill with a vent through which lava, rock fragments, hot vapor, and gas are ejected." 89 | }, 90 | { 91 | word: "novel", 92 | hint: "A long work of fiction, typically with a complex plot and characters." 93 | }, 94 | { 95 | word: "sculpture", 96 | hint: "A three-dimensional art form created by shaping or combining materials." 97 | }, 98 | { 99 | word: "symphony", 100 | hint: "A long musical composition for a full orchestra, typically in multiple movements." 101 | }, 102 | { 103 | word: "architecture", 104 | hint: "The art and science of designing and constructing buildings." 105 | }, 106 | { 107 | word: "ballet", 108 | hint: "A classical dance form characterized by precise and graceful movements." 109 | }, 110 | { 111 | word: "astronaut", 112 | hint: "A person trained to travel and work in space." 113 | }, 114 | { 115 | word: "waterfall", 116 | hint: "A cascade of water falling from a height." 117 | }, 118 | { 119 | word: "technology", 120 | hint: "The application of scientific knowledge for practical purposes." 121 | }, 122 | { 123 | word: "rainbow", 124 | hint: "A meteorological phenomenon that is caused by reflection, refraction, and dispersion of light." 125 | }, 126 | { 127 | word: "universe", 128 | hint: "All existing matter, space, and time as a whole." 129 | }, 130 | { 131 | word: "piano", 132 | hint: "A musical instrument played by pressing keys that cause hammers to strike strings." 133 | }, 134 | { 135 | word: "vacation", 136 | hint: "A period of time devoted to pleasure, rest, or relaxation." 137 | }, 138 | { 139 | word: "rainforest", 140 | hint: "A dense forest characterized by high rainfall and biodiversity." 141 | }, 142 | { 143 | word: "theater", 144 | hint: "A building or outdoor area in which plays, movies, or other performances are staged." 145 | }, 146 | { 147 | word: "telephone", 148 | hint: "A device used to transmit sound over long distances." 149 | }, 150 | { 151 | word: "language", 152 | hint: "A system of communication consisting of words, gestures, and syntax." 153 | }, 154 | { 155 | word: "desert", 156 | hint: "A barren or arid land with little or no precipitation." 157 | }, 158 | { 159 | word: "sunflower", 160 | hint: "A tall plant with a large yellow flower head." 161 | }, 162 | { 163 | word: "fantasy", 164 | hint: "A genre of imaginative fiction involving magic and supernatural elements." 165 | }, 166 | { 167 | word: "telescope", 168 | hint: "An optical instrument used to view distant objects in space." 169 | }, 170 | { 171 | word: "breeze", 172 | hint: "A gentle wind." 173 | }, 174 | { 175 | word: "oasis", 176 | hint: "A fertile spot in a desert where water is found." 177 | }, 178 | { 179 | word: "photography", 180 | hint: "The art, process, or practice of creating images by recording light or other electromagnetic radiation." 181 | }, 182 | { 183 | word: "safari", 184 | hint: "An expedition or journey, typically to observe wildlife in their natural habitat." 185 | }, 186 | { 187 | word: "planet", 188 | hint: "A celestial body that orbits a star and does not produce light of its own." 189 | }, 190 | { 191 | word: "river", 192 | hint: "A large natural stream of water flowing in a channel to the sea, a lake, or another such stream." 193 | }, 194 | { 195 | word: "tropical", 196 | hint: "Relating to or situated in the region between the Tropic of Cancer and the Tropic of Capricorn." 197 | }, 198 | { 199 | word: "mysterious", 200 | hint: "Difficult or impossible to understand, explain, or identify." 201 | }, 202 | { 203 | word: "enigma", 204 | hint: "Something that is mysterious, puzzling, or difficult to understand." 205 | }, 206 | { 207 | word: "paradox", 208 | hint: "A statement or situation that contradicts itself or defies intuition." 209 | }, 210 | { 211 | word: "puzzle", 212 | hint: "A game, toy, or problem designed to test ingenuity or knowledge." 213 | }, 214 | { 215 | word: "whisper", 216 | hint: "To speak very softly or quietly, often in a secretive manner." 217 | }, 218 | { 219 | word: "shadow", 220 | hint: "A dark area or shape produced by an object blocking the light." 221 | }, 222 | { 223 | word: "secret", 224 | hint: "Something kept hidden or unknown to others." 225 | }, 226 | { 227 | word: "curiosity", 228 | hint: "A strong desire to know or learn something." 229 | }, 230 | { 231 | word: "unpredictable", 232 | hint: "Not able to be foreseen or known beforehand; uncertain." 233 | }, 234 | { 235 | word: "obfuscate", 236 | hint: "To confuse or bewilder someone; to make something unclear or difficult to understand." 237 | }, 238 | { 239 | word: "unveil", 240 | hint: "To make known or reveal something previously secret or unknown." 241 | }, 242 | { 243 | word: "illusion", 244 | hint: "A false perception or belief; a deceptive appearance or impression." 245 | }, 246 | { 247 | word: "moonlight", 248 | hint: "The light from the moon." 249 | }, 250 | { 251 | word: "vibrant", 252 | hint: "Full of energy, brightness, and life." 253 | }, 254 | { 255 | word: "nostalgia", 256 | hint: "A sentimental longing or wistful affection for the past." 257 | }, 258 | { 259 | word: "brilliant", 260 | hint: "Exceptionally clever, talented, or impressive." 261 | }, 262 | ]; -------------------------------------------------------------------------------- /Hangman/scripts/word-list.js: -------------------------------------------------------------------------------- 1 | const wordList = [ 2 | { 3 | word: "guitar", 4 | hint: "A musical instrument with strings." 5 | }, 6 | { 7 | word: "oxygen", 8 | hint: "A colorless, odorless gas essential for life." 9 | }, 10 | { 11 | word: "mountain", 12 | hint: "A large natural elevation of the Earth's surface." 13 | }, 14 | { 15 | word: "painting", 16 | hint: "An art form using colors on a surface to create images or expression." 17 | }, 18 | { 19 | word: "astronomy", 20 | hint: "The scientific study of celestial objects and phenomena." 21 | }, 22 | { 23 | word: "football", 24 | hint: "A popular sport played with a spherical ball." 25 | }, 26 | { 27 | word: "chocolate", 28 | hint: "A sweet treat made from cocoa beans." 29 | }, 30 | { 31 | word: "butterfly", 32 | hint: "An insect with colorful wings and a slender body." 33 | }, 34 | { 35 | word: "history", 36 | hint: "The study of past events and human civilization." 37 | }, 38 | { 39 | word: "pizza", 40 | hint: "A savory dish consisting of a round, flattened base with toppings." 41 | }, 42 | { 43 | word: "jazz", 44 | hint: "A genre of music characterized by improvisation and syncopation." 45 | }, 46 | { 47 | word: "camera", 48 | hint: "A device used to capture and record images or videos." 49 | }, 50 | { 51 | word: "diamond", 52 | hint: "A precious gemstone known for its brilliance and hardness." 53 | }, 54 | { 55 | word: "adventure", 56 | hint: "An exciting or daring experience." 57 | }, 58 | { 59 | word: "science", 60 | hint: "The systematic study of the structure and behavior of the physical and natural world." 61 | }, 62 | { 63 | word: "bicycle", 64 | hint: "A human-powered vehicle with two wheels." 65 | }, 66 | { 67 | word: "sunset", 68 | hint: "The daily disappearance of the sun below the horizon." 69 | }, 70 | { 71 | word: "coffee", 72 | hint: "A popular caffeinated beverage made from roasted coffee beans." 73 | }, 74 | { 75 | word: "dance", 76 | hint: "A rhythmic movement of the body often performed to music." 77 | }, 78 | { 79 | word: "galaxy", 80 | hint: "A vast system of stars, gas, and dust held together by gravity." 81 | }, 82 | { 83 | word: "orchestra", 84 | hint: "A large ensemble of musicians playing various instruments." 85 | }, 86 | { 87 | word: "volcano", 88 | hint: "A mountain or hill with a vent through which lava, rock fragments, hot vapor, and gas are ejected." 89 | }, 90 | { 91 | word: "novel", 92 | hint: "A long work of fiction, typically with a complex plot and characters." 93 | }, 94 | { 95 | word: "sculpture", 96 | hint: "A three-dimensional art form created by shaping or combining materials." 97 | }, 98 | { 99 | word: "symphony", 100 | hint: "A long musical composition for a full orchestra, typically in multiple movements." 101 | }, 102 | { 103 | word: "architecture", 104 | hint: "The art and science of designing and constructing buildings." 105 | }, 106 | { 107 | word: "ballet", 108 | hint: "A classical dance form characterized by precise and graceful movements." 109 | }, 110 | { 111 | word: "astronaut", 112 | hint: "A person trained to travel and work in space." 113 | }, 114 | { 115 | word: "waterfall", 116 | hint: "A cascade of water falling from a height." 117 | }, 118 | { 119 | word: "technology", 120 | hint: "The application of scientific knowledge for practical purposes." 121 | }, 122 | { 123 | word: "rainbow", 124 | hint: "A meteorological phenomenon that is caused by reflection, refraction, and dispersion of light." 125 | }, 126 | { 127 | word: "universe", 128 | hint: "All existing matter, space, and time as a whole." 129 | }, 130 | { 131 | word: "piano", 132 | hint: "A musical instrument played by pressing keys that cause hammers to strike strings." 133 | }, 134 | { 135 | word: "vacation", 136 | hint: "A period of time devoted to pleasure, rest, or relaxation." 137 | }, 138 | { 139 | word: "rainforest", 140 | hint: "A dense forest characterized by high rainfall and biodiversity." 141 | }, 142 | { 143 | word: "theater", 144 | hint: "A building or outdoor area in which plays, movies, or other performances are staged." 145 | }, 146 | { 147 | word: "telephone", 148 | hint: "A device used to transmit sound over long distances." 149 | }, 150 | { 151 | word: "language", 152 | hint: "A system of communication consisting of words, gestures, and syntax." 153 | }, 154 | { 155 | word: "desert", 156 | hint: "A barren or arid land with little or no precipitation." 157 | }, 158 | { 159 | word: "sunflower", 160 | hint: "A tall plant with a large yellow flower head." 161 | }, 162 | { 163 | word: "fantasy", 164 | hint: "A genre of imaginative fiction involving magic and supernatural elements." 165 | }, 166 | { 167 | word: "telescope", 168 | hint: "An optical instrument used to view distant objects in space." 169 | }, 170 | { 171 | word: "breeze", 172 | hint: "A gentle wind." 173 | }, 174 | { 175 | word: "oasis", 176 | hint: "A fertile spot in a desert where water is found." 177 | }, 178 | { 179 | word: "photography", 180 | hint: "The art, process, or practice of creating images by recording light or other electromagnetic radiation." 181 | }, 182 | { 183 | word: "safari", 184 | hint: "An expedition or journey, typically to observe wildlife in their natural habitat." 185 | }, 186 | { 187 | word: "planet", 188 | hint: "A celestial body that orbits a star and does not produce light of its own." 189 | }, 190 | { 191 | word: "river", 192 | hint: "A large natural stream of water flowing in a channel to the sea, a lake, or another such stream." 193 | }, 194 | { 195 | word: "tropical", 196 | hint: "Relating to or situated in the region between the Tropic of Cancer and the Tropic of Capricorn." 197 | }, 198 | { 199 | word: "mysterious", 200 | hint: "Difficult or impossible to understand, explain, or identify." 201 | }, 202 | { 203 | word: "enigma", 204 | hint: "Something that is mysterious, puzzling, or difficult to understand." 205 | }, 206 | { 207 | word: "paradox", 208 | hint: "A statement or situation that contradicts itself or defies intuition." 209 | }, 210 | { 211 | word: "puzzle", 212 | hint: "A game, toy, or problem designed to test ingenuity or knowledge." 213 | }, 214 | { 215 | word: "whisper", 216 | hint: "To speak very softly or quietly, often in a secretive manner." 217 | }, 218 | { 219 | word: "shadow", 220 | hint: "A dark area or shape produced by an object blocking the light." 221 | }, 222 | { 223 | word: "secret", 224 | hint: "Something kept hidden or unknown to others." 225 | }, 226 | { 227 | word: "curiosity", 228 | hint: "A strong desire to know or learn something." 229 | }, 230 | { 231 | word: "unpredictable", 232 | hint: "Not able to be foreseen or known beforehand; uncertain." 233 | }, 234 | { 235 | word: "obfuscate", 236 | hint: "To confuse or bewilder someone; to make something unclear or difficult to understand." 237 | }, 238 | { 239 | word: "unveil", 240 | hint: "To make known or reveal something previously secret or unknown." 241 | }, 242 | { 243 | word: "illusion", 244 | hint: "A false perception or belief; a deceptive appearance or impression." 245 | }, 246 | { 247 | word: "moonlight", 248 | hint: "The light from the moon." 249 | }, 250 | { 251 | word: "vibrant", 252 | hint: "Full of energy, brightness, and life." 253 | }, 254 | { 255 | word: "nostalgia", 256 | hint: "A sentimental longing or wistful affection for the past." 257 | }, 258 | { 259 | word: "brilliant", 260 | hint: "Exceptionally clever, talented, or impressive." 261 | }, 262 | ]; --------------------------------------------------------------------------------