Fun Games Hub is an open-source collection of mini-games built with React + Vite. It provides a modular platform where developers can add new games, improve existing ones, or enhance the UI/UX. Players can enjoy classic games like Tic Tac Toe, Memory Match, and Snake directly in the browser.
This repository is part of Hacktoberfest ๐, and contributions are highly encouraged! Add new games to the homepage, implement new features in existing games, or improve the overall design and interactivity.
Maintainer GauravGirkar
- ๐น๏ธ Mini-Games Hub โ Play multiple games from a single platform
- โ Tic Tac Toe โ Classic 3x3 game
- ๐ Memory Match โ Flip cards and find pairs
- ๐ Snake โ Navigate the snake to collect food and grow
- ๐งฉ Modular Game System โ Easily add new games to the hub
- ๐จ Modern UI โ Clean and responsive design with CSS
- ๐ฑ Responsive Design โ Works seamlessly on desktop and mobile
- ๐ ๏ธ Hacktoberfest-Friendly โ Contributors can add new games, features, or UI improvements
- Frontend: React 18, Vite
- Routing: React Router DOM
- State Management: React useState & useEffect (per-game)
- Styling: CSS / TailwindCSS compatible
- Other Utilities: None (can be added by contributors per game)
fun-games-hub/ โโโ public/ # Static assets (favicon, images) โโโ src/ โ โโโ components/ # Shared UI components (Nav, GameCard) โ โโโ pages/ # Game pages (TicTacToePage, MemoryPage, SnakePage) โ โโโ games/ # Game implementations (TicTacToe, Memory, Snake) โโโ index.html โโโ styles.css # Global styles โโโ package.json โโโ vite.config.js โโโ README.md โโโ CONTRIBUTING.md โโโ ISSUE_TEMPLATE.md
- Add your game inside src/games/
- Create a corresponding page in src/pages/
- Link your game in App.jsx and the homepage (Home.jsx)
- Update the homepage to display your game card
- Clone the repository
- git clone https://github.com//games-hub.git
- cd fun-games-hub
- Install dependencies npm install or yarn install or pnpm install
- Start the development server npm run dev Open http://localhost:5173 in your browser
- Fork the repository
- Create a new branch for your feature: git checkout -b feat-new-game
- Add your game in src/games/ and create a page in src/pages/
- Update the homepage (Home.jsx) with a new GameCard
- Commit your changes, push, and open a Pull Request
- Add new games (e.g., Chess, Connect 4, Pong)
- Add features to existing games (scores, levels, themes)
- Improve UI animations or responsiveness
- Add game-specific settings or sound effects