WELCOME TO NOVA

Your World of Online Games & Entertainment

🎮 Popular Games

🐍

Snake Game

❌⭕

Tic Tac Toe

🧩

Memory Puzzle

🏎️

Racing

⚽

Football

🏏

Cricket

🎯

Action Games

🧠

Brain Games

Game

⚽ Sports Zone

⚽

Football Games

🏏

Cricket Games

🔥 Entertainment

🎵

Music

🎬

Videos

😂

Funny Videos

🖼️

Wallpapers

▶ YouTube | Subscribe

📩 Contact Us

Have questions or suggestions?

Contact NOVA Gaming through email.

Email: king.khan8494667@gmail.com

🎮 About NOVA Gaming

Welcome to NOVA Gaming!

NOVA Gaming is an online gaming platform where players can enjoy fun games and connect with friends.

Our goal is to provide exciting entertainment, multiplayer gaming and a friendly gaming community.

Play, Connect and Enjoy!

Thank you for visiting NOVA Gaming ❤️

Privacy Policy

Welcome to NOVA Gaming.

We respect your privacy and protect your information.

We do not sell personal information.

Our website may use cookies and advertising services.

Contact: king.khan8494667@gmail.com

window.createRoom = async function(){ const name = document.getElementById("playerName").value.trim(); if(!name){ alert("Enter your name!"); return; } const code = Math.floor(100000 + Math.random()*900000).toString(); const roomRef = ref(database,"rooms/"+code); const result = await runTransaction(roomRef,current=>{ if(current !== null) return; return { status:"waiting", players:{ host:{name:name} }, createdAt:Date.now() }; }); if(!result.committed){ alert("Try again!"); return; } document.getElementById("roomStatus").innerText = "Room Created! Code: "+code; }; window.joinRoom = async function(){ const name = document.getElementById("playerName").value.trim(); const code = document.getElementById("roomCode").value.trim(); if(!name || !code){ alert("Enter name and room code!"); return; } const roomRef = ref(database,"rooms/"+code); const result = await runTransaction(roomRef,current=>{ if(!current || current.status!=="waiting") return; const players = current.players || {}; const count = Object.keys(players).length; if(count>=4) return; const id="player_"+Date.now(); players[id]={name:name}; current.players=players; if(Object.keys(players).length===4){ current.status="ready"; } return current; }); if(result.committed){ document.getElementById("roomStatus").innerText = "Successfully Joined Room: "+code; }else{ alert("Room not found or full!"); } }; console.log("NOVA Firebase Connected!");