Skip to content

BilgeGates/Functional_Gaming-Site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

131 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐ŸŽฎ PlayGuide

Game information platform with 1000+ games database

React Tailwind CSS RAWG API Privacy License: MIT PRs Welcome

Live Demo ยท Report Bug ยท Request Feature


๐Ÿ“– Table of Contents


๐ŸŒŸ Overview

Web application for browsing 1000+ games with ratings, Metacritic scores, and genre information. Built with React and runs entirely in the browser.


โœจ Features

  • Browse 1000 games with detailed information
  • View ratings, Metacritic scores, and genres
  • Add games to favorites
  • Rate games and submit reviews
  • Search and filter by name, genre, platform
  • View game details, screenshots, and statistics
  • Viewing history and recently viewed games
  • Responsive design

๐Ÿ–ผ Demo & Screenshots

Live demo: https://playguide-site.vercel.app/

๐Ÿš€ Quick Start

Prerequisites

Node.js >= 18
npm >= 8

Installation

# Clone the repository
git clone https://github.com/BilgeGates/Functional_Gaming-Site.git

# Navigate to project directory
cd Functional_Gaming-Site

# Install dependencies
npm install

# Start development server
npm start

The application will automatically open at http://localhost:3000

Production Build

# Create optimized production build
npm run build

๐Ÿ“ Project Structure

playguide/
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ public/
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ assets/               # Static assets
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ src/
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ assets/            # Images, fonts, icons
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components/
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ common/        # Reusable components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Controls.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FavoritesModal.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ GameCard.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ GameList.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ MotionWrapper.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Pagination.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ RatingModal.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ RatingViewsModal.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ RecentViewsModal.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ SearchBar.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ SearchGameItem.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Stats.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ index.js
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ sections/      # Section components
โ”‚   โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ CategoriesSection/
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ CategoriesSection.jsx
โ”‚   โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ Header/
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Header.jsx
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ HeroSection.jsx
โ”‚   โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ TopRatedSection/
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ TopRatedSection.jsx
โ”‚   โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ TrendingSection/
โ”‚   โ”‚   โ”‚       โ””โ”€โ”€ TrendingSection.jsx
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ ui/            # UI components
โ”‚   โ”‚       โ”œโ”€โ”€ ActionButton.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ CardOverlay.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ ErrorMessage.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ ExploreButton.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ GameStats.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ GenreBadge.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ LoadingSpinner.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ MetacriticScore.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ RatingBadge.jsx
โ”‚   โ”‚       โ”œโ”€โ”€ SectionHeader.jsx
โ”‚   โ”‚       โ””โ”€โ”€ index.js
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ hooks/             # Custom React hooks
โ”‚   โ”‚   โ”œโ”€โ”€ index.js
โ”‚   โ”‚   โ”œโ”€โ”€ useDocumentTitle.js
โ”‚   โ”‚   โ”œโ”€โ”€ useFavorites.js
โ”‚   โ”‚   โ”œโ”€โ”€ useGameData.js
โ”‚   โ”‚   โ”œโ”€โ”€ useHandlers.js
โ”‚   โ”‚   โ”œโ”€โ”€ useInViewAnimation.js
โ”‚   โ”‚   โ”œโ”€โ”€ useLocalStorage.js
โ”‚   โ”‚   โ”œโ”€โ”€ useLogic.js
โ”‚   โ”‚   โ”œโ”€โ”€ useRating.js
โ”‚   โ”‚   โ”œโ”€โ”€ useRatingViews.js
โ”‚   โ”‚   โ”œโ”€โ”€ useRecentViews.js
โ”‚   โ”‚   โ”œโ”€โ”€ useSearch.js
โ”‚   โ”‚   โ”œโ”€โ”€ useSearchInteractions.js
โ”‚   โ”‚   โ”œโ”€โ”€ useSearchKeyboard.js
โ”‚   โ”‚   โ””โ”€โ”€ useSearchResults.js
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ layout/            # Layout components
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ Footer/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Footer.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ Navbar/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Navbar.jsx
โ”‚   โ”‚   โ””โ”€โ”€ index.js
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ pages/             # Application pages
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ About/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ About.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ Contact/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Contact.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ Home/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Home.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ ProductDetails/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ProductDetails.jsx
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ Products/
โ”‚   โ”‚       โ””โ”€โ”€ Products.jsx
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ routes/            # Routing configuration
โ”‚   โ”‚   โ””โ”€โ”€ router.jsx
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ utils/             # Utility functions
โ”‚   โ”‚   โ”œโ”€โ”€ dateUtils.js
โ”‚   โ”‚   โ”œโ”€โ”€ formatUtils.js
โ”‚   โ”‚   โ”œโ”€โ”€ iconUtils.js
โ”‚   โ”‚   โ”œโ”€โ”€ searchUtils.js
โ”‚   โ”‚   โ””โ”€โ”€ index.js
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ App.jsx               # Root component
โ”‚   โ”œโ”€โ”€ index.js              # Entry point
โ”‚   โ””โ”€โ”€ index.css             # Global styles
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ db.json                # Game database (1000+ games)
โ”œโ”€โ”€ ๐Ÿ“„ .gitignore
โ”œโ”€โ”€ ๐Ÿ“„ postcss.config.js
โ”œโ”€โ”€ ๐Ÿ“„ tailwind.config.js
โ”œโ”€โ”€ ๐Ÿ“„ package.json
โ”œโ”€โ”€ ๐Ÿ“„ package-lock.json
โ”œโ”€โ”€ ๐Ÿ“„ README.md
โ”œโ”€โ”€ ๐Ÿ“„ CONTRIBUTING.md
โ”œโ”€โ”€ ๐Ÿ“„ CODE_OF_CONDUCT.md
โ”œโ”€โ”€ ๐Ÿ“„ SECURITY.md
โ””โ”€โ”€ ๐Ÿ“„ LICENSE

๐Ÿ› ๏ธ Technology Stack

Core Technologies


React 18+
UI Framework

JavaScript ES6+
Language

Tailwind CSS 3.x
Styling

Node.js 18+
Runtime

Additional Libraries

  • React Router - Client-side routing
  • localStorage - User data persistence
  • RAWG API - Game data source (pre-fetched)

๐ŸŒ Browser Support

Browser Version Status
Chrome 90+ โœ… Tested
Firefox 88+ โœ… Tested
Safari 14+ โœ… Expected to work
Edge 90+ โœ… Expected to work
Opera 76+ โœ… Expected to work

Required Browser Features

  • ES6+ JavaScript
  • CSS Grid & Flexbox
  • localStorage API
  • Responsive viewport support

๐ŸŽฎ Game Data

PlayGuide stores all game data locally in db.json. This data was originally sourced from the RAWG API and includes:

Data Structure

{
  id: Number,                    // Unique game ID
  name: String,                  // Game title
  slug: String,                  // URL-friendly name
  released: String,              // Release date (YYYY-MM-DD)
  background_image: String,      // Main image URL
  rating: Number,                // Average rating (0-5)
  rating_top: Number,            // Top rating value
  ratings_count: Number,         // Number of ratings
  metacritic: Number,            // Metacritic score (0-100)
  playtime: Number,              // Average playtime (hours)
  genres: Array                  // Array of genre objects
}

Data Features

  • 1000+ pre-loaded games
  • Ratings and Metacritic scores
  • Multiple genres per game
  • Release dates and playtime statistics

Data Attribution

RAWG API data is used for educational and non-commercial purposes only.


๐Ÿ” Security & Privacy

Zero-backend architecture - all functionality runs in the browser.

๐Ÿ”’ Security Highlights

  • โœ… No server-side data storage
  • โœ… Client-side processing only
  • โœ… No cookies, trackers, or fingerprinting
  • โœ… No third-party analytics or telemetry
  • โœ… No user data is collected, stored, or transmitted

๐Ÿ›ก๏ธ Data Safety

All favorites, ratings, and viewing history are stored locally using localStorage.

For security concerns, see SECURITY.md.


๐Ÿค Contributing

Contributions welcome.

Quick Contribution Guide

# 1. Fork the repository
# 2. Create your feature branch
git checkout -b feature/amazing-feature

# 3. Commit your changes
git commit -m 'feat: add amazing feature'

# 4. Push to the branch
git push origin feature/amazing-feature

# 5. Open a Pull Request

Please read CONTRIBUTING.md for detailed guidelines on:

  • Code standards and best practices
  • Pull request process
  • Bug reporting
  • Feature requests

Code of Conduct

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.

Contributors


๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

Copyright (c) 2026 Khatai Huseynzada

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

๐Ÿ‘จโ€๐Ÿ’ป Author

Khatai Huseynzada

Front-End Web Developer | Open Source Contributor

GitHub LinkedIn Email


๐Ÿ™ Acknowledgments


React Team
Framework

Tailwind Labs
CSS Framework
RAWG API
Game Database

๐Ÿ“ง Community & Support

Channel Link
๐Ÿ› Bug Reports GitHub Issues
๐Ÿ’ก Feature Requests GitHub Discussions
๐Ÿ“ง Email darkdeveloperassistant@gmail.com

Responses on a best-effort basis


โ“ FAQ

How do I report a bug?
  1. Check if the issue already exists in GitHub Issues
  2. If not, create a new issue with:
    • Clear description of the problem
    • Steps to reproduce
    • Expected vs actual behavior
    • Screenshots (if applicable)
    • Browser and OS information
Can I use this commercially?

Yes! The source code is MIT licensed and can be used commercially.
However, game data originally sourced from the RAWG API is intended for educational and non-commercial use only. If you plan to use this project commercially, you must replace the data source with a licensed provider.

How do I add more games?
  1. Games are stored in db.json
  2. Follow the existing data structure
  3. Add new game objects to the array
  4. Submit a pull request with your changes
Where does the game data come from?

Game data was originally sourced from the RAWG API and is now maintained locally in db.json.
The application does not fetch data at runtime.

How is my data stored?

All user data (favorites, ratings, viewing history) is stored locally in your browser using localStorage.
No data is sent to any server.


ยฉ 2026 Khatai Huseynzada. Licensed under MIT.

About

A comprehensive game information platform featuring 1000 games with detailed statistics, user ratings, favorites system, and advanced search capabilities. Built with React, Tailwind CSS, and localStorage for a privacy-first experience.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages