๐ŸŽฎ HTML GAME CODING HUB ๐Ÿ’ป๐Ÿ”ฅ
5 subscribers
15 photos
5 files
19 links
๐ŸŽฎ HTML GAME CODING HUB ๐Ÿ’ป๐Ÿ”ฅ

Welcome to the ultimate place for HTML, CSS & JavaScript Game Development! ๐Ÿš€
Download Telegram
๐Ÿš€๐Ÿ”ฅ NEW HTML PROJECT DROPPING! ๐Ÿ”ฅ๐Ÿš€

Aaj ka project sirf HTML code nahi hai...
Ye ek ๐Ÿ”ฅ INTERACTIVE WEB GAME hai! ๐ŸŽฎ

๐Ÿ’ป HTML + CSS + JavaScript
โšก Mobile Friendly
๐ŸŽจ Attractive UI
๐Ÿง  Beginner Friendly
๐Ÿ“ฆ Full Source Code FREE

๐Ÿ‘€ Pehle DEMO dekho...
๐Ÿ‘‡ Code next message mein!

โค๏ธ Like | ๐Ÿ”„ Share | ๐Ÿ“ข Forward
๐Ÿš€ Follow @YOUR_CHANNEL for more coding projects!

#HTML #CSS #JavaScript #WebDevelopment #GameCoding
๐Ÿ”ฅ1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neon Reaction Game</title>

<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
min-height: 100vh;
font-family: Arial, sans-serif;
background: #050816;
color: white;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

.game {
width: 92%;
max-width: 500px;
padding: 25px;
border: 1px solid #00eaff;
border-radius: 25px;
background: rgba(10, 20, 40, 0.9);
box-shadow: 0 0 30px #00eaff55;
text-align: center;
}

h1 {
color: #00eaff;
margin-bottom: 10px;
text-shadow: 0 0 15px #00eaff;
}

.subtitle {
color: #aaa;
margin-bottom: 20px;
}

.stats {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}

.stat {
background: #101b35;
padding: 12px 20px;
border-radius: 12px;
}

.stat span {
display: block;
color: #00eaff;
font-size: 22px;
font-weight: bold;
margin-top: 5px;
}

#arena {
height: 320px;
position: relative;
overflow: hidden;
border-radius: 18px;
border: 1px solid #ffffff22;
background: #070d1d;
}

.target {
width: 55px;
height: 55px;
border-radius: 50%;
background: #ff2678;
box-shadow: 0 0 25px #ff2678;
position: absolute;
cursor: pointer;
display: none;
}

button {
margin-top: 20px;
padding: 13px 30px;
border: none;
border-radius: 30px;
background: #00eaff;
color: #001018;
font-size: 16px;
font-weight: bold;
cursor: pointer;
}

button:hover {
transform: scale(1.05);
}
</style>
</head>

<body>

<div class="game">

<h1>โšก NEON REACTION</h1>
<p class="subtitle">How fast can you react?</p>

<div class="stats">
<div class="stat">
SCORE
<span id="score">0</span>
</div>

<div class="stat">
TIME
<span id="time">30</span>
</div>

<div class="stat">
BEST
<span id="best">0</span>
</div>
</div>

<div id="arena">
<div id="target" class="target"></div>
</div>

<button onclick="startGame()">START GAME</button>

</div>

<script>
const arena = document.getElementById("arena");
const target = document.getElementById("target");

let score = 0;
let time = 30;
let timer;
let playing = false;

let best = localStorage.getItem("bestScore") || 0;
document.getElementById("best").textContent = best;

function moveTarget() {

const maxX = arena.clientWidth - 55;
const maxY = arena.clientHeight - 55;

const x = Math.random() * maxX;
const y = Math.random() * maxY;

target.style.left = x + "px";
target.style.top = y + "px";

target.style.display = "block";
}

function startGame() {

clearInterval(timer);

score = 0;
time = 30;
playing = true;

document.getElementById("score").textContent = score;
document.getElementById("time").textContent = time;

moveTarget();

timer = setInterval(() => {

time--;

document.getElementById("time").textContent = time;

if (time <= 0) {
endGame();
}

}, 1000);
}

target.addEventListener("click", () => {

if (!playing) return;

score++;

document.getElementById("score").textContent = score;

moveTarget();
});

function endGame() {

clearInterval(timer);

playing = false;

target.style.display = "none";

if (score > best) {

best = score;

localStorage.setItem("bestScore", best);

document.getElementById("best").textContent = best;

alert("๐Ÿ”ฅ NEW BEST SCORE: " + score + "!");
}
else {
alert("๐ŸŽฎ Game Over!\nYour Score: " + score);
}
}
</script>

</body>
</html>
๐Ÿ˜1
๐ŸŽฎ๐Ÿ”ฅ PROJECT COMPLETE!

โšก NEON REACTION GAME

Features:
โœ… 30 Second Challenge
โœ… Score System
โœ… Best Score Saved
โœ… Neon UI
โœ… Mobile Friendly
โœ… Pure HTML + CSS + JavaScript

๐Ÿ’ป FULL SOURCE CODE ABOVE ๐Ÿ‘†

๐Ÿ”ฅ Try it yourself and tell us your score!

๐Ÿ† Can you beat 50?

๐Ÿ“ข Share this project with your coding friends!

#HTML #CSS #JavaScript #HTMLGame #Coding #WebGame
โค1
๐Ÿ”ฅ 7-Day HTML Game Coding Series
Day 1: ๐ŸŽฏ Number Guessing Game
Day 2: ๐Ÿชจ Rock Paper Scissors
Day 3: โšก Speed Click Challenge
Day 4: ๐Ÿง  Memory Card Game
Day 5: ๐Ÿ Snake Game
Day 6: ๐Ÿš€ Space Shooter
Day 7: ๐Ÿ† Ultimate Mini Game โ€” HTML + CSS + JS
๐Ÿ”ฅ1
๐Ÿšจ NEW GAME DROPPING SOON! ๐ŸŽฎ
Can you beat this game? ๐Ÿ‘€
๐ŸŽฎ Try the game and challenge your friends!
๐Ÿฅฐ1
๐Ÿ’ป FULL SOURCE CODE ๐Ÿ‘‡
Save โ€ข Copy โ€ข Customize
<!DOCTYPE html>
<html>
<head>
<title>Number Guessing Game</title>
<style>
body{
margin:0;
font-family:Arial;
background:#08111f;
color:white;
display:flex;
justify-content:center;
align-items:center;
height:100vh;
}
.box{
width:320px;
padding:30px;
text-align:center;
border-radius:20px;
background:#101d32;
box-shadow:0 0 30px #00eaff55;
}
h1{color:#00eaff;}
input{
width:90%;
padding:12px;
border-radius:10px;
border:0;
margin:10px;
font-size:18px;
}
button{
padding:12px 25px;
border:0;
border-radius:20px;
background:#00eaff;
font-weight:bold;
cursor:pointer;
}
#msg{
margin-top:20px;
font-size:18px;
}
</style>
</head>

<body>

<div class="box">
<h1>๐ŸŽฏ Guess The Number</h1>
<p>Guess a number between 1 and 100</p>

<input id="guess" type="number" placeholder="Enter number">

<button onclick="check()">GUESS</button>

<p id="msg"></p>
<p>Attempts: <span id="attempts">0</span></p>
</div>

<script>

let number=Math.floor(Math.random()*100)+1;
let attempts=0;

function check(){

let guess=Number(document.getElementById("guess").value);

if(!guess){
document.getElementById("msg").textContent="โš ๏ธ Enter a number!";
return;
}

attempts++;

document.getElementById("attempts").textContent=attempts;

if(guess===number){

document.getElementById("msg").textContent=
"๐ŸŽ‰ Correct! You won!";

}else if(guess<number){

document.getElementById("msg").textContent=
"โฌ†๏ธ Try a higher number";

}else{

document.getElementById("msg").textContent=
"โฌ‡๏ธ Try a lower number";
}
}

</script>

</body>
</html>
โค๏ธ Like | ๐Ÿ”„ Share | ๐Ÿ“ข Forward
๐Ÿ”ฅ Next game tomorrow!
๐Ÿš€ CODE2GAME HTML RUNNER IS LIVE! ๐ŸŽฎ

๐Ÿ’ป Apna HTML/CSS/JS code paste karo

โ–ถ๏ธ RUN CODE dabao

๐Ÿ•น๏ธ Aur apna game instantly test karo!
๐Ÿ”ฅ Try it now:

๐Ÿ‘‡
[https://anadverma956989936-lab.github.io/Code2Game-Runner/]

CODE โ€ข RUN โ€ข PLAY โ€ข CREATE โšก
๐Ÿ”ฅ1
๐Ÿชจ๐Ÿ“„โœ‚๏ธ DAY 2 โ€” ROCK PAPER SCISSORS! ๐Ÿ”ฅ
Ready for today's challenge? ๐ŸŽฎ
๐Ÿค– Computer ke against khelo!
๐Ÿ† Dekho kaun zyada rounds jeetta hai!
๐Ÿ’ป HTML + CSS + JavaScript
๐Ÿ“ฑ Mobile Friendly
โšก Easy to Run
๐Ÿ‘‡ FULL SOURCE CODE NEXT POST MEIN
๐Ÿ”ฅ Try it โ€ข Play it โ€ข Share it
CodeForge Gaming Community ๐Ÿš€
#Day2 #RockPaperScissors #HTML #JavaScript #GameCoding
๐Ÿ‘1๐Ÿ”ฅ1
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors</title>

<style>
body{
margin:0;
height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:#090909;
color:white;
font-family:Arial;
}

.game{
text-align:center;
padding:30px;
width:350px;
border-radius:25px;
background:#151515;
box-shadow:0 0 30px #ff007755;
}

h1{
color:#ff2d8d;
}

button{
font-size:35px;
margin:8px;
padding:15px;
border:0;
border-radius:15px;
cursor:pointer;
background:#222;
}

button:hover{
transform:scale(1.1);
}

#result{
margin-top:25px;
font-size:20px;
}

.score{
font-size:18px;
}
</style>
</head>

<body>

<div class="game">

<h1>๐Ÿชจ Rock Paper Scissors</h1>

<p>Choose your move</p>

<button onclick="play('Rock')">๐Ÿชจ</button>
<button onclick="play('Paper')">๐Ÿ“„</button>
<button onclick="play('Scissors')">โœ‚๏ธ</button>

<div id="result"></div>

<p class="score">
You: <span id="you">0</span>
  
AI: <span id="ai">0</span>
</p>

</div>

<script>

let you=0;
let ai=0;

function play(player){

const choices=["Rock","Paper","Scissors"];

const computer=
choices[Math.floor(Math.random()*3)];

let result="";

if(player===computer){

result="๐Ÿค Draw!";

}else if(
(player==="Rock" && computer==="Scissors") ||
(player==="Paper" && computer==="Rock") ||
(player==="Scissors" && computer==="Paper")
){

you++;
result="๐ŸŽ‰ You Win!";

}else{

ai++;
result="๐Ÿค– AI Wins!";

}

document.getElementById("result").innerHTML=
result+"<br>You: "+player+
"<br>AI: "+computer;

document.getElementById("you").textContent=you;
document.getElementById("ai").textContent=ai;
}

</script>

</body>
</html>
๐Ÿ”ฅ1๐Ÿฅฐ1
๐ŸŽฎ๐Ÿ”ฅ DAY 2 โ€” ROCK PAPER SCISSORS ๐Ÿชจ๐Ÿ“„โœ‚๏ธ
Code paste kar diya? Ab game ko LIVE PLAY karo! ๐Ÿš€
๐Ÿค– Computer ko challenge karo
๐Ÿ† Apna score dekho
๐Ÿ”ฅ Try to beat the computer!

๐Ÿ’ป PLAY / RUN THE GAME:
https://anadverma956989936-lab.github.io/Code2Game-Runner/

๐Ÿ“ฑ How to run:
1๏ธโƒฃ HTML โ†’ HTML code
2๏ธโƒฃ CSS โ†’ CSS code
3๏ธโƒฃ JS โ†’ JavaScript code
4๏ธโƒฃ Preview mein game play karo ๐ŸŽฎ
โค๏ธ Like | ๐Ÿ”„ Share | ๐Ÿ“ข Forward
CodeForge Gaming Community โšก
#Day2 #RockPaperScissors #HTML #CSS #JavaScript #GameCoding
๐Ÿฅฐ1๐Ÿ‘1๐Ÿ’ฏ1
โšก๐Ÿ”ฅ DAY 3 โ€” SPEED CLICK CHALLENGE! ๐Ÿ”ฅโšก

You have only โฑ๏ธ 10 SECONDS!

๐Ÿ–ฑ๏ธ Click as fast as you can
๐Ÿ† Beat your HIGH SCORE
๐Ÿ“ฑ Mobile Friendly
๐Ÿ’ป HTML + CSS + JavaScript

๐ŸŽฎ PLAY THE GAME:
๐Ÿ‘‡
[https://anadverma956989936-lab.github.io/Code2Game-Runner/]

๐Ÿ† CHALLENGE:
Can you beat 50 clicks? ๐Ÿ˜ˆ

๐Ÿ’ฌ Apna score batao!

โค๏ธ Like | ๐Ÿ”„ Share | ๐Ÿ“ข Forward

โšก CodeForge Gaming Community

#Day3 #SpeedClick #HTML #CSS #JavaScript #GameCoding
โค1๐Ÿ”ฅ1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Speed Click Challenge</title>

<style>

*{
box-sizing:border-box;
}

body{
margin:0;
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
font-family:Arial,sans-serif;
background:#070b18;
color:white;
}

.game{
width:92%;
max-width:450px;
padding:30px 20px;
text-align:center;
border-radius:25px;
background:#111a30;
box-shadow:0 0 35px #00eaff55;
}

h1{
color:#00eaff;
margin-bottom:5px;
}

.subtitle{
color:#aaa;
margin-bottom:25px;
}

.stats{
display:flex;
justify-content:space-around;
margin-bottom:25px;
}

.stat{
padding:12px 18px;
border-radius:12px;
background:#192541;
}

.stat span{
display:block;
margin-top:5px;
color:#00eaff;
font-size:24px;
font-weight:bold;
}

#clickButton{
width:220px;
height:220px;
border:none;
border-radius:50%;
background:#00eaff;
color:#061018;
font-size:24px;
font-weight:bold;
cursor:pointer;
box-shadow:0 0 40px #00eaff66;
transition:0.1s;
}

#clickButton:active{
transform:scale(0.92);
}

#clickButton:disabled{
opacity:0.5;
cursor:not-allowed;
}

#startButton{
margin-top:25px;
padding:13px 28px;
border:none;
border-radius:25px;
background:#ff2d75;
color:white;
font-size:16px;
font-weight:bold;
cursor:pointer;
}

.message{
margin-top:20px;
min-height:24px;
color:#ddd;
}

</style>
</head>

<body>

<div class="game">

<h1>โšก SPEED CLICK</h1>

<p class="subtitle">
Click as fast as you can in 10 seconds!
</p>

<div class="stats">

<div class="stat">
CLICKS
<span id="score">0</span>
</div>

<div class="stat">
TIME
<span id="time">10</span>
</div>

<div class="stat">
BEST
<span id="best">0</span>
</div>

</div>

<button id="clickButton" disabled>
START FIRST
</button>

<br>

<button id="startButton">
๐Ÿš€ START GAME
</button>

<div id="message" class="message">
Ready for the challenge?
</div>

</div>


<script>

const clickButton =
document.getElementById("clickButton");

const startButton =
document.getElementById("startButton");

const scoreDisplay =
document.getElementById("score");

const timeDisplay =
document.getElementById("time");

const bestDisplay =
document.getElementById("best");

const message =
document.getElementById("message");


let score = 0;
let time = 10;
let playing = false;
let timer = null;


let best =
Number(localStorage.getItem("speedBest")) || 0;

bestDisplay.textContent = best;


startButton.addEventListener("click", startGame);


clickButton.addEventListener("click", () => {

if(!playing) return;

score++;

scoreDisplay.textContent = score;

});


function startGame(){

clearInterval(timer);

score = 0;
time = 10;
playing = true;

scoreDisplay.textContent = score;
timeDisplay.textContent = time;

clickButton.disabled = false;
clickButton.textContent = "CLICK!";

startButton.disabled = true;

message.textContent =
"๐Ÿ”ฅ GO! Click as fast as possible!";


timer = setInterval(() => {

time--;

timeDisplay.textContent = time;


if(time <= 0){

endGame();

}

},1000);

}


function endGame(){

clearInterval(timer);

playing = false;

clickButton.disabled = true;

clickButton.textContent = "TIME UP!";

startButton.disabled = false;

if(score > best){

best = score;

localStorage.setItem(
"speedBest",
best
);

bestDisplay.textContent = best;

message.textContent =
"๐Ÿ† NEW HIGH SCORE! " + score + " CLICKS!";

}
else{
โค1๐Ÿ”ฅ1
message.textContent =
"๐ŸŽฎ Game Over! Your score: " +
score +
" clicks.";

}

}


</script>

</body>
</html>
๐Ÿ‘1๐Ÿ”ฅ1
https://www.youtube.com/@pookiejanta_party-s4m

Follow my YouTube channel @pookiejanta_party๐Ÿ‘โค๏ธ

Like๐Ÿ‘, Share ๐Ÿ”„ and Subscribe ๐Ÿ˜‰
โค1๐Ÿ”ฅ1
๐Ÿง ๐Ÿ”ฅ DAY 4 โ€” MEMORY MATCH GAME! ๐ŸŽฎ

Can you match all 8 pairs? ๐Ÿ‘€

๐Ÿง  Test Your Memory
๐Ÿ† Complete it in minimum moves
๐Ÿ“ฑ Mobile Friendly
โšก Fast & Fun

๐ŸŽฎ PLAY THE GAME:
๐Ÿ‘‡
[https://anadverma956989936-lab.github.io/Code2Game-Runner/]

๐Ÿ† CHALLENGE:
Can you complete it in under 20 moves? ๐Ÿ˜ˆ

๐Ÿ’ฌ เค…เคชเคจเคพ score เคฌเคคเคพเค“!

โค๏ธ Like | ๐Ÿ”„ Share | ๐Ÿ“ข Forward

โšก CodeForge Gaming Community

#Day4 #MemoryGame #HTML #CSS #JavaScript #GameCoding
๐Ÿ‘1