diff --git a/Games/WordChain/script.js b/Games/WordChain/script.js
index ace41e223c..3ddea2e280 100644
--- a/Games/WordChain/script.js
+++ b/Games/WordChain/script.js
@@ -2,70 +2,71 @@
let timelimit = 30;
let time = 0;
var threading;
-let previousWord = '';
-const wordList = document.getElementById('word-list');
-const message = document.getElementById('message');
+let previousWord = "";
+const wordList = document.getElementById("word-list");
+const message = document.getElementById("message");
let score = 0;
-
-
+setTimeout(()=>{
+ let Intro_page=document.getElementById('Intro_page')
+ Intro_page.style.transform="translateX(-100%)"
+},3000)
function playTurn() {
- const inputWord = document.getElementById('input-word').value;
- clearInterval(threading);
- threading=setInterval(function() {
+ const inputWord = document.getElementById("input-word").value;
+ clearInterval(threading);
+ threading = setInterval(function () {
time += 0.01;
- if(time>=timelimit)
- {
- clearInterval(threading);
- document.getElementById("countdown").innerHTML = "";
- message.textContent = `Game Over! Your score is ${score}.`;
- }
- else
- document.getElementById("countdown").innerHTML=time.toPrecision(4);
-}, 10);
- if (inputWord === '') {
- message.textContent = 'Please enter a word.';
+ if (time >= timelimit) {
+ clearInterval(threading);
+ document.getElementById("countdown").innerHTML = "";
+ message.textContent = `Game Over! Your score is ${score}.`;
+ } else document.getElementById("countdown").innerHTML = time.toPrecision(4);
+ }, 10);
+ if (inputWord === "") {
+ message.textContent = "Please enter a word.";
return;
}
-
- if (previousWord === '') {
+
+ if (previousWord === "") {
previousWord = inputWord;
addWordToList(inputWord);
- document.getElementById('input-word').value = '';
- message.textContent = '';
+ document.getElementById("input-word").value = "";
+ message.textContent = "";
} else {
const lastChar = previousWord.charAt(previousWord.length - 1);
const firstChar = inputWord.charAt(0);
if (lastChar.toLowerCase() === firstChar.toLowerCase()) {
- score++;
previousWord = inputWord;
addWordToList(inputWord);
- document.getElementById('input-word').value = '';
- message.textContent = '';
+ document.getElementById("input-word").value = "";
+ message.textContent = "";
} else {
// clearInterval(threading);
+ score=`${(100 - time)/10}`
+ console.log(time,score)
document.getElementById("countdown").innerHTML = "";
- time = 0;
clearInterval(threading);
document.getElementById("countdown").innerHTML = "";
- message.textContent = `Game Over! Your score is ${score}.`;
+ message.textContent = `Game Over! Your score is ${score.slice(0,4)}`;
+ time = 0;
+ score=0
}
}
}
function addWordToList(word) {
- const listItem = document.createElement('li');
+ const listItem = document.createElement("li");
listItem.textContent = word;
wordList.appendChild(listItem);
}
-function restart(){
- time=0;
- previousWord = '';
- wordList.innerHTML = '';
- document.getElementById('input-word').value = '';
- message.textContent = '';
+function restart() {
+ time = 0;
+ previousWord = "";
+ wordList.innerHTML = "";
+ document.getElementById("input-word").value = "";
+ message.textContent = "";
score = 0;
document.getElementById("countdown").innerHTML = "";
clearInterval(threading);
//document.getElementById('word-list').style.display = 'none';
-}
\ No newline at end of file
+}
diff --git a/Games/WordChain/style.css b/Games/WordChain/style.css
index 0ac1138e35..6947b4d378 100644
--- a/Games/WordChain/style.css
+++ b/Games/WordChain/style.css
@@ -1,5 +1,14 @@
+*{
+ padding: 0;
+ margin: 0;
+}
body {
text-align: center;
+ min-height: 100vh;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
}
h1 {
@@ -14,7 +23,22 @@ body {
padding: 5px;
font-size: 16px;
}
-
+#Intro_page{
+ position: fixed;
+ width: 100%;
+ min-height: 100vh;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background: black;
+ transition: 0.3s ease-in;
+ flex-direction: column;
+}
+#Intro_page h1, #Intro_page h2{
+ color: white;
+ font-family: monospace;
+ font-size: 2.2rem;
+}
#input-word {
margin-top: 0px;
margin-bottom: 10px;
@@ -28,6 +52,7 @@ body {
#message {
color: #6b2222;
font-weight: bold;
+ margin: 1rem 0;
margin-right: 4%;
font-weight: bolder;
font-family: cursive;
@@ -104,4 +129,4 @@ body {
img{
margin-right: 8%;
-}
\ No newline at end of file
+}
diff --git a/README.md b/README.md
index 744f903375..c8619d615a 100644
--- a/README.md
+++ b/README.md
@@ -107,7 +107,7 @@ This repository also provides one such platforms where contributers come over an
-| Game | Game | Game | Game | Game |
+
| [Master Typing](https://github.com/kunjgit/GameZone/tree/main/Games/Master_Typing) | [Treasure Hunt](https://github.com/Antiquely3059/GameZone/tree/main/Games/Treasure%20Hunt) | [Virtual Pet](https://github.com/Antiquely3059/GameZone/tree/main/Games/Virtual_Pet) | [MazeRunner](https://github.com/kunjgit/GameZone/tree/main/Games/MazeRunner) | [Ping_Pong_Singleplayer](https://github.com/kunjgit/GameZone/tree/main/Games/Ping_Pong_Singleplayer) | [Madlibs](https://github.com/AaryanManghnani/GameZone/tree/main/Games/Madlibs) |
| [Bulls_And_Cows_New](https://github.com/kunjgit/GameZone/tree/main/Games/Bulls_And_Cows_New)
| [Guess_That_Pokemon](https://github.com/kunjgit/GameZone/tree/main/Games/Guess_That_Pokemon)
@@ -190,6 +190,7 @@ This repository also provides one such platforms where contributers come over an
| [Maze_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Maze_Game) | [Coloron](https://github.com/kunjgit/GameZone/tree/main/Games/Coloron). | [Black_jackk](https://github.com/kunjgit/GameZone/tree/main/Games/Black_jackk) | [Emoji_Intruder](https://github.com/kunjgit/GameZone/tree/main/Games/Emoji_Intruder) | [Guess The Weapon](https://github.com/kunjgit/GameZone/tree/main/Games/Guess_The_Weapon) | [Guess Who](https://github.com/kunjgit/GameZone/tree/main/Games/Guess_Who) | | | [Guess Who](https://github.com/kunjgit/GameZone/tree/main/Games/Guess_Who) | [Pop My Balloon](https://github.com/kunjgit/GameZone/tree/main/Games/Pop_My_Balloon) | [Earth_Guardian](https://github.com/kunjgit/GameZone/tree/main/Games/Earth_Guardian) | [HTML5_Controller_Tester](https://github.com/kunjgit/GameZone/tree/main/Games/HTML5_Controller_Tester)
| [escaperoom](https://github.com/kunjgit/GameZone/tree/main/Games/escaperoom) | [Ball_Shooting_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Ball_Shooting_Game) | [HTML5_Controller_Tester](https://github.com/kunjgit/GameZone/tree/main/Games/HTML5_Controller_Tester) | [Tower Stack](https://github.com/kunjgit/GameZone/tree/main/Games/Tower_Stack) |[Maze_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Maze_Game) | [TriHand_Tactics](https://github.com/kunjgit/GameZone/tree/main/Games/TriHand_Tactics) | [Earth_Guardian](https://github.com/kunjgit/GameZone/tree/main/Games/Earth_Guardian) | [Ball_Shooting_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Ball_Shooting_Game) |
[CatchTheBall](https://github.com/kunjgit/GameZone/tree/main/Games/CatchTheBall) | [DoraemonRun ](https://github.com/kunjgit/GameZone/tree/main/Games/DoraemonRun) | [Memory_Cards_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Memory_Cards_Game) | [Technical_Mind_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Technical_Mind_Game) | [Slide_Master_Puzzle](https://github.com/kunjgit/GameZone/tree/Main/Games/Slide_Master_Puzz)|
+ | [Subway_Surfers](https://github.com/kunjgit/GameZone/tree/main/Games/Subway_Surfers) |
[Letter_Sleuth](https://github.com/swetha5157/GameZone/tree/main/Games/Letter_Sleuth) | [Rock_paper_scissor](https://github.com/kunjgit/GameZone/tree/main/Games/Rock_paper_scissor) | [City_Builder_Game](https://github.com/kunjgit/GameZone/tree/main/Games/City_Builder_Game) | [Mancala_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Mancala_Game) | [Knife_hit](https://github.com/kunjgit/GameZone/tree/main/Games/Knife_hit) |
| [Dice_Roller](https://github.com/kunjgit/GameZone/tree/main/Games/Dice_Roller) | [Chrome_Dino_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Chrome_Dino_Game) | [Rock_paper_scissor](https://github.com/kunjgit/GameZone/tree/main/Games/Rock_paper_scissor) | [City_Builder_Game](https://github.com/kunjgit/GameZone/tree/main/Games/City_Builder_Game) | [Pokemon_Stats_Card](https://github.com/kunjgit/GameZone/tree/main/Games/Pokemon_Stats_Card) |
| [Steampunk_FlappyBird](https://github.com/kunjgit/GameZone/tree/main/Games/Steampunk_FlappyBird) | [Catch_The_Circle](https://github.com/kunjgit/GameZone/tree/main/Games/Catch_The_Circle) | [Automated_rock_paper_scissor](https://github.com/kunjgit/GameZone/tree/main/Games/automated_rock_paper_scissor) | [Maze_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Maze_Game) | [Astronaut_runner](https://github.com/tanishkaa08/GameZone/tree/main/Games/Astronaunt_runner) |
@@ -220,7 +221,9 @@ This repository also provides one such platforms where contributers come over an
| [Word Scramble Game](https://github.com/kunjgit/GameZone/tree/main/Games/Word_Scramble_Game) | [Tetris](https://github.com/kunjgit/GameZone/tree/main/Games/Tetris) | [Interactive Quizzing Application](https://github.com/kunjgit/GameZone/tree/main/Games/Interactive_Quizzing) | [Planet Defense Game](https://github.com/kunjgit/GameZone/tree/main/Games/Planet_Defense) | [Rabbit Rush Game](https://github.com/kunjgit/GameZone/tree/main/Games/Rabbit_Rush) |
| [Wordle](https://github.com/kunjgit/GameZone/tree/main/Games/Wordle) | [Roll Race Game](https://github.com/kunjgit/GameZone/tree/main/Games/Roll_Race) | [Menja Game](https://github.com/kunjgit/GameZone/tree/main/Games/Menja) | [Typing Speed Test Game](https://github.com/kunjgit/GameZone/tree/main/Games/Typing_Speed_Test_Game) | [Tile Game](https://github.com/kunjgit/GameZone/tree/main/Games/Tile_Game) |
| [Stick Hero Game](https://github.com/kunjgit/GameZone/tree/main/Games/Stick_Hero_Game) | [Starwars Character Game](https://github.com/kunjgit/GameZone/tree/main/Games/Starwars_Character_Game) | [Traffic Run](https://github.com/kunjgit/GameZone/tree/main/Games/Traffic_Run) | [Love Result Predictor](https://github.com/kunjgit/GameZone/tree/main/Games/Love_Result_Predictor) | [Tower Defense](https://github.com/kunjgit/GameZone/tree/main/Games/Tower_Defense) |
-| [Menja_block_breaker](https://github.com/kunjgit/GameZone/tree/main/Games/Menja_block_breaker) |[Detona](https://github.com/kunjgit/GameZone/tree/main/Games/Detona)| | [Yahtzee](https://github.com/kunjgit/GameZone/tree/main/Games/Yahtzee) |
+
+| [Menja_block_breaker](https://github.com/kunjgit/GameZone/tree/main/Games/Menja_block_breaker) | [Quick_Math](https://github.com/AaryanManghnani/GameZone/tree/QuickMath/Games/Quick_Math) | [Yahtzee](https://github.com/kunjgit/GameZone/tree/main/Games/Yahtzee) |
+
| [Bird Game](https://github.com/kunjgit/GameZone/tree/main/Games/Bird_game) | [Bubble Blast Game](https://github.com/kunjgit/GameZone/tree/main/Games/Bubble_Blast_Game) | [Emoji Charades](https://github.com/kunjgit/GameZone/tree/main/Games/Emoji_Charades) | [Drum And Kit](https://github.com/kunjgit/GameZone/tree/main/Games/Drum_Kit_Game) | [Rock Paper Scissors](https://github.com/kunjgit/GameZone/tree/main/Games/Rock_Paper_Scissors) |
| [Frogger](https://github.com/kunjgit/GameZone/tree/main/Games/Frogger) | [!morethan5 ](https://github.com/kunjgit/GameZone/tree/main/Games/Not_morethan5) | [Unruly Tower](https://github.com/kunjgit/GameZone/tree/main/Games/Unruly_Tower) | [Maze Game](https://github.com/kunjgit/GameZone/tree/main/Games/MazeGame) | [Connect4](https://github.com/kunjgit/GameZone/tree/main/Games/Connect4) |
| [Spelling_Bee](https://github.com/kunjgit/GameZone/tree/main/Games/Spelling_Bee) | [2048](https://github.com/kunjgit/GameZone/tree/main/Games/2048) | [Spin the Wheel](https://github.com/kunjgit/GameZone/tree/main/Games/Spin_the_wheel) | [Breakout](https://github.com/kunjgit/GameZone/tree/main/Games/Breakout) | [Tower Blocks](https://github.com/kunjgit/GameZone/tree/main/Games/Tower_Blocks) |
@@ -516,17 +519,21 @@ This repository also provides one such platforms where contributers come over an
[Magic_8_ball_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Magic_8_ball) |
| [Catch_Craze](https://github.com/kunjgit/GameZone/tree/main/Games/Catch_Craze) |
| [Angry_Bird](https://github.com/kunjgit/GameZone/tree/main/Games/Angry_Bird) |
+| [Subway_Surfers](https://github.com/kunjgit/GameZone/tree/main/Games/Subway_Surfers) |
| [UNO game with computer](https://github.com/kunjgit/GameZone/tree/main/Games/UNO_game_with_Computer) |
|[Dice_Rolling_Simulator](https://github.com/priyashuu/GameZone/tree/main/Games/Dice_rolling_simulator)|
|[Space_Dominators](https://github.com/kunjgit/GameZone/tree/main/Games/Space_Dominators)|
| [Simon_Says](https://github.com/kunjgit/GameZone/tree/main/Games/Simon_Says) |
|[Idle_miner](https://github.com/kunjgit/GameZone/tree/main/Games/Idle_miner)|
|[Five_Nights_at_Freddys](https://github.com/kunjgit/GameZone/tree/main/Games/Five_Nights_at_Freddys)|
+
|[Matching_Pair](https://github.com/kunjgit/GameZone/tree/main/Games/Matching_pair)
|[Otherworldly_Odyssey](./Games/Otherworldly_Odyssey/)|
+
+
| [Maze_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Maze_Game) | [TriHand_Tactics](https://github.com/kunjgit/GameZone/tree/main/Games/TriHand_Tactics) | [Earth_Guardian](https://github.com/kunjgit/GameZone/tree/main/Games/Earth_Guardian) | [Ball_Shooting_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Ball_Shooting_Game) | [CatchTheBall](https://github.com/kunjgit/GameZone/tree/main/Games/CatchTheBall) | [Colour_Generator_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Colour_Generator_Game) |
| [Rock_paper_scissor](https://github.com/kunjgit/GameZone/tree/main/Games/Rock_paper_scissor) | [City_Builder_Game](https://github.com/kunjgit/GameZone/tree/main/Games/City_Builder_Game) | [Mancala_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Mancala_Game) | [2048_win](https://github.com/kunjgit/GameZone/tree/main/Games/2048_win) | [Dice_Roller](https://github.com/kunjgit/GameZone/tree/main/Games/Dice_Roller) | [Chrome_Dino_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Chrome_Dino_Game) |
| [Catch_The_Circle](https://github.com/kunjgit/GameZone/tree/main/Games/Catch_The_Circle) | [Shrek_Vs_Wild](https://github.com/kunjgit/GameZone/tree/main/Games/Shrek_Vs_Wild) | [Balloon_Buster](https://github.com/kunjgit/GameZone/tree/main/Games/Balloon_Buster) | [Pokemon_Stats_Card](https://github.com/kunjgit/GameZone/tree/main/Games/Pokemon_Stats_Card) | [Steampunk_FlappyBird](https://github.com/kunjgit/GameZone/tree/main/Games/Steampunk_FlappyBird) |
@@ -549,7 +556,8 @@ This repository also provides one such platforms where contributers come over an
| [Ultimate_Football_Manager](https://github.com/kunjgit/GameZone/tree/main/Games/Ultimate_Football_Manager) | [Zombie_Shooter](https://github.com/kunjgit/GameZone/tree/main/Games/Zombie_Shooter)| [Ganesh_QR_Maker](https://github.com/kunjgit/GameZone/tree/main/Games/Ganesh_QR_Maker) | [Brain_Card_game](https://github.com/Kunjgit/GameZone/tree/main/Games/Brain_Card_game)| [Wheel_of_Fortunes](https://github.com/kunjgit/GameZone/tree/main/Games/Wheel_of_Fortunes)|
|[Samurai_Fighting_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Samurai_Fighting_Game)| [Tic-tac-toe](https://github.com/kunjgit/GameZone/tree/main/Games/Tic-tac-toe)| [Quest_For_Riches](https://github.com/kunjgit/GameZone/tree/main/Games/Quest_For_Riches)| [Pattern Creation Game](https://github.com/kunjgit/GameZone/tree/main/Games/Pattern_Creation_Game)| [Magic_8_ball_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Magic_8_ball) |
| [Catch_Craze](https://github.com/kunjgit/GameZone/tree/main/Games/Catch_Craze) | [UNO game with computer](https://github.com/kunjgit/GameZone/tree/main/Games/UNO_game_with_Computer) | [Dice_Rolling_Simulator](https://github.com/priyashuu/GameZone/tree/main/Games/Dice_rolling_simulator)| [Space_Dominators](https://github.com/kunjgit/GameZone/tree/main/Games/Space_Dominators)| [Simon_Says](https://github.com/kunjgit/GameZone/tree/main/Games/Simon_Says) |
-|[Idle_miner](https://github.com/kunjgit/GameZone/tree/main/Games/Idle_miner)| [Five_Nights_at_Freddys](https://github.com/kunjgit/GameZone/tree/main/Games/Five_Nights_at_Freddys) | [Penalty_Shootout_Game] (https://github.com/kunjgit/GameZone/tree/main/Games/Penalty_Shootout_Game)|
+|[Idle_miner](https://github.com/kunjgit/GameZone/tree/main/Games/Idle_miner)| [Five_Nights_at_Freddys](https://github.com/kunjgit/GameZone/tree/main/Games/Five_Nights_at_Freddys) | [Penalty_Shootout_Game] (https://github.com/kunjgit/GameZone/tree/main/Games/Penalty_Shootout_Game)| |[Snake_Gun_Water](https://github.com/kunjgit/GameZone/tree/main/Games/Snake_Gun_Water)|
+| [Drum_kit] (https://github.com/kunjgit/GameZone/tree/main/Games/Drum_kit)|
Back to top
@@ -1302,6 +1310,11 @@ This repository also provides one such platforms where contributers come over an
|[Snake_Gun_Water](https://github.com/kunjgit/GameZone/tree/main/Games/Snake_Gun_Water)|
|[Tether](https://github.com/kunjgit/GameZone/tree/main/Games/Tether)|
+
+|[Rock Paper Scissors Lizard Spock Game](./Games/Rock_Paper_Scissors_Lizard_Spock_Game)|
+
+|[Hangman_Game](https://github.com/kunjgit/GameZone/tree/main/Games/Hangman_Game)|
+
diff --git a/assets/images/Drum_kit.png b/assets/images/Drum_kit.png
new file mode 100644
index 0000000000..b4da7adf8d
Binary files /dev/null and b/assets/images/Drum_kit.png differ
diff --git a/assets/images/Hangman_Game.png b/assets/images/Hangman_Game.png
new file mode 100644
index 0000000000..e437ece367
Binary files /dev/null and b/assets/images/Hangman_Game.png differ
diff --git a/assets/images/Quick_Math.png b/assets/images/Quick_Math.png
new file mode 100644
index 0000000000..a2d09255c7
Binary files /dev/null and b/assets/images/Quick_Math.png differ
diff --git a/assets/images/Rock_Paper_Scissors_Lizard_Spock_Game.PNG b/assets/images/Rock_Paper_Scissors_Lizard_Spock_Game.PNG
new file mode 100644
index 0000000000..23cf347df9
Binary files /dev/null and b/assets/images/Rock_Paper_Scissors_Lizard_Spock_Game.PNG differ
diff --git a/assets/images/Subway_Surfers.png b/assets/images/Subway_Surfers.png
new file mode 100644
index 0000000000..2211f263b6
Binary files /dev/null and b/assets/images/Subway_Surfers.png differ
diff --git a/assets/images/riddle_game.png b/assets/images/riddle_game.png
new file mode 100644
index 0000000000..1801c86a0e
Binary files /dev/null and b/assets/images/riddle_game.png differ
diff --git a/assets/js/gamesData.json b/assets/js/gamesData.json
index 50bd9b7eee..760343aca1 100644
--- a/assets/js/gamesData.json
+++ b/assets/js/gamesData.json
@@ -3151,3 +3151,9 @@
"gameUrl": "Atlas_Game",
"thumbnailUrl": "Atlas_Game.png"
},
+ "629":{
+ "gameTitle" : "Hangman Game",
+ "gameUrl": "Hangman_Game",
+ "thumbnailUrl": "Hangman_Game.png"
+ }
+}