- ๐ก About GameHub
- ๐ Demo
- โจ Features
- ๐ฎ Games
- ๐ ๏ธ Tech Stack
- ๐ก Prerequisites
- ๐ Quick Start
- ๐ Project Structure
- ๐ธ Screenshots
- ๐ง Adding New Games
- ๐ Contributing
- ๐ฑ Browser Support
- ๐ License
- ๐ Acknowledgments
- โจ Contributors
GameHub is a free, open-source collection of classic browser games designed to bring nostalgia, fun, and learning together in one place. Built with modern web technologies and a focus on simplicity, GameHub offers smooth gameplay, responsive design, and clean code that makes it easy for developers to explore, learn, and contribute.
- Nostalgia Meets Modern Web: Recreate beloved classic games using cutting-edge web technologies
- Learn by Playing: Provide a codebase that's educational, well-documented, and beginner-friendly
- Open Source First: Foster a welcoming community where developers can contribute and grow
- Performance & Accessibility: Deliver fast, lightweight experiences that work seamlessly across all devices
In an era of complex game engines and heavy frameworks, GameHub proves that amazing gaming experiences can be built with vanilla JavaScript, thoughtful design, and attention to performance. Whether you're a student learning web development, a developer looking to contribute to open source, or simply someone who loves classic games, GameHub welcomes you.
- Expand the game library with community contributions
- Add multiplayer capabilities for real-time competition
- Implement achievement systems and global leaderboards
- Create educational tutorials for each game's implementation
- Build a thriving community of game developers and enthusiasts
- 5 Classic Games: Tic Tac Toe, Snake, Simon Says, Memory Flip, Rock Paper Scissors
- Fully Responsive: Optimized for desktop, tablet, and mobile
- Modern Glassmorphism UI: Built using Tailwind CSS and DaisyUI
- Fast & Lightweight: Pure vanilla JS, zero frameworks
- Score Persistence: Progress saved in LocalStorage
- Real-time Search: Instantly filter and find games
- Smooth Animations: AOS.js and Animate.css integration
| Game | Description | Features |
|---|---|---|
| Rock Paper Scissors | Classic hand game | Win/loss stats, animations |
| 2048 Game | Tile sliding number puzzle | Score tracking, smooth animations |
| Sudoku Puzzle | Number placement puzzle | Multiple difficulties, hints |
| Minesweeper | Mine avoidance logic game | Flagging cells, timer |
| Breakout | Brick-breaking arcade game | Paddle control, increasing difficulty |
| Balloon Popper | Pop balloons before time runs out | Timer-based gameplay, score system |
| Boom Runner | Dodge bombs and survive | Reflex-based controls, speed increase |
| Brick Breaker | Break bricks using a paddle | Power-ups, levels |
| Bubble Shooter | Match and pop colored bubbles | Aim mechanics, combo scoring |
| Candy Match Mania | Match candies to score points | Chain reactions, colorful UI |
| Code Unlock | Crack codes using logic | Pattern recognition, increasing difficulty |
| Color Grid | Color-matching puzzle | Visual logic, timed challenges |
| Dodge Square | Avoid obstacles and survive | Fast-paced movement, reflex testing |
| Firefly Flow | Guide fireflies through patterns | Precision control, calming visuals |
| Flappy Block | Navigate obstacles by flapping | Score tracking, increasing difficulty |
| Freeze Frame | Stop motion at the right moment | Timing-based gameplay |
| Fruit Slice | Slice fruits with precision | Swipe controls, combo points |
| Glow Chain | Trigger glowing chain reactions | Visual effects, chain mechanics |
| Glow Drops | Tap glowing drops before disappearing | Speed-based taps, score counter |
| Glow Tap | Tap glowing circles in time | Timing accuracy, reflex training |
| Gravity Flip Ball | Flip gravity to move the ball | Physics-based gameplay, level progression |
| Hangman Hero | Guess the hidden words | Vocabulary building, hint system |
| Jump Counter | Jump to increase your score | Score tracking, timing precision |
| Jump Tag | Tag targets by jumping | Movement accuracy, reflex-based |
| Logic Path | Guide the ball using logic | Puzzle-solving, progressive levels |
| Memory Blink | Remember blinking patterns | Memory training, increasing speed |
| Pattern Memory | Remember and repeat patterns | Sequence memory, difficulty scaling |
| Pipe Twister | Rotate pipes to connect flows | Logic rotation puzzles |
| Reaction Speed Test | Test your reaction speed | Tap-time measurement, instant feedback |
| Sand Draw | Draw freely in virtual sand | Relaxing UI, creative drawing |
| Sliding Puzzle | Slide blocks to complete image | Logical movement, image puzzles |
| Speed Tap Grid | Tap targets quickly on a grid | Reflex speed, time challenge |
| Symbol Swap | Swap symbols to match rows | Pattern logic, strategic thinking |
| Tap Counter | Tap repeatedly to score | Speed tracking, real-time counter |
| Tetris | Classic falling block puzzle | Line clearing, increasing speed |
| Tower of Hanoi | Solve disk puzzle in minimum moves | Algorithmic thinking, step counter |
| Typing Sprint | Type words quickly to score | Speed tracking, accuracy scoring |
| Vortex Jump | Jump through twisting vortex paths | Precision jumps, reaction timing |
| Word Chain | Form chains of related words | Vocabulary skills, word logic |
| Word Scramble | Unscramble letters to form words | Time-based challenges, hints |
| Typing Speed Test | Measure typing speed and accuracy | WPM tracking, clean UI |
- Frontend: HTML5, CSS3, JavaScript
- Styling: Tailwind CSS, DaisyUI
- Animations: AOS.js, Animate.css
- Icons: Font Awesome
- Storage: LocalStorage API
- Modern web browser: Chrome, Firefox, Safari, or Edge
Follow these steps to run the GameHub Django project locally:
1๏ธโฃ Clone the Repository
git clone https://github.com/kaifansariw/GameHub.git
cd GameHub2๏ธโฃ Install Django
pip install django3๏ธโฃ Navigate to the Project Folder
Move into the folder where manage.py is located:
cd gamehub_project4๏ธโฃ Run the Development Server
python manage.py runserver5๏ธโฃ Open in Browser
Visit:
http://127.0.0.1:8000/
Your GameHub website will now be live locally ๐ฎ๐
GameHub/
โโโ gamehub_project/
โ โโโ accounts/ # Authentication app
โ โ โโโ migrations/
โ โ โโโ admin.py
โ โ โโโ apps.py
โ โ โโโ models.py
โ โ โโโ urls.py
โ โ โโโ views.py
โ โ
โ โโโ gamehub_project/ # Core Django settings
โ โ โโโ __init__.py
โ โ โโโ asgi.py
โ โ โโโ settings.py
โ โ โโโ urls.py
โ โ โโโ wsgi.py
โ โ
โ โโโ static/ # Static files (CSS, JS, Images)
โ โ โโโ assets/ # Game thumbnails & icons
โ โ โโโ games/ # HTML files for games
โ โ โโโ scripts/ # All game logic JS files
โ โ โ โโโ snake.js
โ โ โ โโโ simon.js
โ โ โ โโโ rps.js
โ โ โ โโโ sudoku.js
โ โ โ โโโ memory.js
โ โ โ โโโ breakout.js
โ โ โ โโโ minesweeper.js
โ โ โ โโโ tic-tac-toe.js
โ โ โ โโโ audio-system.js
โ โ โ โโโ audio-ui.js
โ โ โโโ main.js
โ โ โโโ script1.js
โ โ โโโ style.css
โ โ
โ โโโ staticfiles/ # Auto-generated (ignored in git)
โ โ
โ โโโ templates/ # Django HTML templates
โ โ โโโ index.html # Homepage
โ โ โโโ login.html # Authentication page
โ โ
โ โโโ db.sqlite3 # Local database
โ โโโ manage.py
โ
โโโ .gitignore
โโโ LICENSE
โโโ CODE_OF_CONDUCT.md
โโโ README.md
- Add a new HTML file in
static/games/ - Write the game's JS in
static/scripts/ - Register your game in the games array in
static/main.js:
{
id: 'your-game',
title: 'Your Game',
description: 'Game description',
image: 'path/to/image',
file: 'games/your-game.html',
category: 'arcade'
}We welcome contributions from developers of all skill levels! Whether you're fixing bugs, adding new games, improving documentation, or suggesting features, your input is valuable.
- Fork the repository
- Create a new branch:
git checkout -b feature/YourFeature - Commit & push:
git commit -m "Add: YourFeature" git push origin feature/YourFeature - Open a Pull Request
Check out our Contributing Guidelines for more details!
| Browser | Supported |
|---|---|
| Chrome | โ |
| Firefox | โ |
| Safari | โ |
| Edge | โ |
| Mobile | โ |
Licensed under the MIT License.
Thanks to all the wonderful contributors ๐
See full list of contributor contributions: Contribution Graph
โญ Star this repo โข ๐ Report Bug โข โจ Request Feature
Made with โค๏ธ by Kaif Ansari

