Skip to content

๐Ÿง  FeelingBored? Challenge yourself with this React quiz game covering Cricket, Tamil Cinema, Space, Maths, History, Technology & more!

Notifications You must be signed in to change notification settings

PaulBrytonRaj18/Normal_Quiz_Game_by_Paul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FeelingBored - Quiz Game Website

A modern, responsive quiz game website built with React and Bootstrap CSS. Test your knowledge across 9 exciting topics with a beautiful light/dark theme toggle.

Features

  • ๐ŸŽฏ 9 Quiz Topics: Cricket, Football, Tamil Cinema, Tamil Actors, Space, Food, Maths, History, and Technology
  • ๐ŸŒ™ Light/Dark Theme: Toggle between light and dark modes with custom red/blue color schemes
  • ๐Ÿ“ฑ Responsive Design: Works seamlessly on both mobile and desktop devices
  • โšก Interactive Quiz: 10 questions per topic with multiple-choice answers
  • ๐Ÿ† Instant Results: Get immediate feedback with score and appreciation messages
  • ๐ŸŽจ Modern UI: Beautiful gradient designs and smooth animations

Tech Stack

  • Frontend: React 19.1.1
  • Styling: Bootstrap CSS with custom CSS variables
  • Routing: React Router DOM
  • Build Tool: Vite
  • Theme Management: React Context API

Getting Started

Prerequisites

  • Node.js (version 14 or higher)
  • npm or yarn

Installation

  1. Clone the repository:
git clone <repository-url>
cd React_Quiz_Game
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:5173

Project Structure

src/
โ”œโ”€โ”€ components/          # React components
โ”‚   โ”œโ”€โ”€ Header.jsx      # Navigation header with theme toggle
โ”‚   โ”œโ”€โ”€ HeroSection.jsx # Landing page hero section
โ”‚   โ”œโ”€โ”€ GamesSection.jsx # Topic selection cards
โ”‚   โ”œโ”€โ”€ Quiz.jsx        # Dynamic quiz component
โ”‚   โ””โ”€โ”€ Footer.jsx      # Footer with creator info
โ”œโ”€โ”€ contexts/           # React context providers
โ”‚   โ”œโ”€โ”€ ThemeContext.jsx # Theme context definition
โ”‚   โ””โ”€โ”€ ThemeContextProvider.jsx # Theme provider component
โ”œโ”€โ”€ hooks/              # Custom React hooks
โ”‚   โ””โ”€โ”€ useTheme.js     # Theme hook
โ”œโ”€โ”€ data/               # Quiz data
โ”‚   โ””โ”€โ”€ questions.js    # All quiz questions and topics
โ”œโ”€โ”€ App.jsx             # Main app component
โ”œโ”€โ”€ main.jsx            # App entry point
โ””โ”€โ”€ index.css           # Global styles and theme variables

Quiz Topics

  1. Cricket ๐Ÿ - Test your cricket knowledge
  2. Football โšฝ - Football facts and history
  3. Tamil Cinema ๐ŸŽฌ - Tamil movie trivia
  4. Tamil Actors ๐ŸŽญ - Tamil film industry stars
  5. Space ๐Ÿš€ - Astronomy and space exploration
  6. Food ๐Ÿ• - Culinary knowledge from around the world
  7. Maths ๐Ÿ“ - Mathematical concepts and problems
  8. History ๐Ÿ“š - Historical events and figures
  9. Technology ๐Ÿ’ป - Tech facts and programming

Features in Detail

Theme System

  • Light theme with lighter shades of red and blue
  • Dark theme with darker shades of red and blue
  • Persistent theme preference using localStorage
  • Smooth transitions between themes

Quiz System

  • 10 questions per topic
  • Multiple choice answers (A, B, C, D)
  • Progress tracking with visual progress bar
  • Answer validation and scoring
  • Feedback messages based on performance
  • Option to retry or return to topic selection
  • The Correct answers will be shown at the End of the Quiz

Responsive Design

  • Mobile-first approach
  • Bootstrap grid system
  • Custom CSS variables for consistent theming
  • Optimized for all screen sizes

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

This project is open source and available under the MIT License.

Creator

Created with โค๏ธ by Paul Bryton Raj


Enjoy testing your knowledge with FeelingBored! ๐ŸŽฎ๐Ÿง 

About

๐Ÿง  FeelingBored? Challenge yourself with this React quiz game covering Cricket, Tamil Cinema, Space, Maths, History, Technology & more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors