Skip to content
项目

g-z-arena/g-z-arena.github.io

在 GitHub 查看

关于

منصة ألعاب إلكترونية تفاعلية، بتجمع بين الألعاب السريعة والتحديات والمنافسة الجماعية، مع نظام حسابات وتطور للاعبين.

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
GZ Arena Logo

GZ ARENA

Play • Compete • Level Up

An Arabic gaming hub for mini-games, friendly competition, and community challenges.


Play GZ Arena GitHub Repository



Arabic First RTL Responsive Live

GZ Arena Main Banner

⚡ Welcome to GZ Arena

GZ Arena is a browser-based gaming platform that brings together mini-games, skill challenges, party games, and player competition in one place.

Built around an Arabic-first experience, a right-to-left interface, and a dark gaming-inspired design, GZ Arena lets players jump into challenges, track their progress, unlock achievements, and compete with others.

🎮 ENTER THE ARENA

Your next challenge starts here.


🕹️ Game Modes

Every game has its own banner and lobby. Room games support up to 8 players (Operation Zero up to 6), spectators who join mid-round, and an in-room chat with reactions.

Gamer Quiz
🧠 Gamer Quiz · Solo
Answer themed question sets, build streaks, and climb the score ladder.
Reaction Test
⚡ Reaction Test · Solo
Hit the button the instant it turns green — quick rounds that measure your reflexes.
Typing Challenge
⌨️ Typing Challenge · Solo
Race the clock for speed and accuracy. Copy-paste is blocked, so every word is yours.
Snake
🐍 Snake · Solo
The arcade classic: eat, grow, and don’t bite your own tail.
Guess the Game
🎯 Guess the Game · Rooms
Decode emoji clues and name the game before your friends do.
Memory Duel
🧩 Memory Duel · Rooms
Flip cards, remember positions, and out-match your opponents.
Outside the Story (Spy)
🕵️ Outside the Story (Spy) · Rooms
One player has no idea what the topic is. Bluff, question, and expose the spy.
Guess the Character
🎭 Guess the Character · Rooms
Ask yes/no questions and work out who the secret character is.
Chess
♟️ Chess · Solo · Rooms
Play locally, against the bot, or online in a room with spectators.
Operation Zero
💣 Operation Zero · Solo · Co-op rooms
A co-op bomb-defusal game: the Defuser, the Expert and the Observer must talk to each other to crack the code before time runs out.

---|---| | 🐍 Snake | A classic arcade game focused on timing and control. | | ⚡ Reaction Test | Test your reaction speed through quick rounds. | | ⌨️ Typing Challenge | Challenge your typing speed and accuracy. | | 🧠 Quiz | Answer questions and earn points. | | 🎯 Guess the Game | Identify games through emoji clues. | | 🕵️ Spy | A social party game based on hidden roles and deduction. | | 💣 Bomb Squad | A group challenge focused on teamwork and quick decisions. |


🏆 Player Progression

  • Player Accounts — sign up and log in.
  • Player Profiles — display names and avatars.
  • XP & Levels — earn experience and progress.
  • Achievements — unlock badges through milestones.
  • Player Statistics — track scores and performance.
  • GZ Coins & Shop — swap XP for GZ, the site’s official currency (10 XP = 1 GZ), and spend it on frames, titles, name colors and avatars. Limited-time sales and stock are supported.
  • Friends & Invites — add friends and invite them straight into a room.
  • Leaderboards — compare results with other players.
  • Events & Tournaments — participate in community activities.
  • Admin Dashboard — manage content, games, events, the shop, anti-cheat limits, and view usage statistics (daily players, games played, shop and GZ economy).

GZ Arena Secondary Banner

✨ Experience & Design

  • Arabic-first interface with RTL support.
  • Responsive layouts for mobile and desktop.
  • Dark interface with gaming-inspired colors.
  • Touch-friendly controls for supported games.
  • Clear game navigation and player progression.
  • Interactive elements and dynamic game experiences.

🧩 Technology Stack

HTML5 CSS3 JavaScript Firebase Cloud Firestore GitHub Pages
Technology Purpose
HTML5 Application structure
CSS3 Styling and responsive layouts
Vanilla JavaScript (ES Modules) Game logic and application behavior
Firebase Authentication User authentication
Cloud Firestore Player and game-related data
Google Fonts Cairo and Changa typography
GitHub Pages Static website hosting

🚀 Run Locally

1. Clone the repository

git clone https://github.com/g-z-arena/g-z-arena.github.io.git
cd g-z-arena.github.io

2. Configure Firebase

GZ Arena uses Firebase Authentication and Cloud Firestore.

  1. Create a project in the Firebase Console.
  2. Register a Firebase Web App.
  3. Enable Email/Password authentication.
  4. Create a Cloud Firestore database.
  5. Configure the Firebase web-app settings in the application.
  6. Configure administrator permissions in the application and Firestore Security Rules.
  7. Add the development and production domains to Firebase Authentication's authorized domains.

Never publish private credentials, service-account keys, or personal account details in public documentation.

3. Start a local server

The application uses JavaScript ES Modules, so run it through a local HTTP server.

python -m http.server 8000

Open the following address in your browser:

http://localhost:8000

🌐 Deployment

GZ Arena is designed to run as a static website using GitHub Pages.

  1. Open the repository's Settings.
  2. Navigate to Pages.
  3. Select Deploy from a branch.
  4. Choose the main branch and / (root) folder.
  5. Save your settings and wait for deployment.

Live Website

https://g-z-arena.github.io/


🗂️ Project Structure

g-z-arena.github.io/
│
├── index.html            # app shell, styles, router, rooms, shop, admin
├── chess.js              # chess engine + UI (lazy-loaded)
├── quiz.js · quizdata.js # quiz mode and built-in questions
├── ui.js                 # themed modals and custom dropdowns
├── sw.js                 # service worker (caches avatars, logo, game banners)
├── 404.html              # SPA redirect for GitHub Pages
├── robots.txt · sitemap.xml
├── Logo.png
│
├── js/
│   ├── firestore.rules   # Firestore Security Rules (publish in Firebase Console)
│   └── games/            # guess, spy, memory, who, quiz, snake, reaction, typing, zero
│
└── assets/
    ├── banners/          # one banner per game (webp)
    ├── avatars/
    ├── gz-coin.png       # GZ currency icon
    └── og-image.jpg      # social-sharing preview

The core of the frontend lives in index.html; each game is a lazy-loaded module under js/games/ that plugs into the room system through a small install(ctx) contract.


🔐 Security

  • Publish js/firestore.rules in the Firebase Console (Firestore → Rules) after every update, and set your admin e-mail inside it.
  • Restrict administrative operations to authorized accounts.
  • Do not rely on client-side checks as the only authorization mechanism.
  • Never publish service-account credentials or private keys.
  • Avoid including personal account identifiers in public documentation.
  • Review database permissions before deploying changes.

🤝 Contributing

Contributions, suggestions, and bug reports are welcome.

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Test the application locally.
  5. Submit a pull request with a clear description.

📄 License

No license file was identified in the repository during this review.

Until a license is added, reuse, modification, and redistribution permissions should not be assumed.


GZ Arena Logo

Ready to Play?

Open GZ Arena

GZ Arena — Built for the love of gaming.

探索相关项目

加载中…