Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HTTP Status Quest ๐ŸŽฎ

A modern, interactive game designed to help developers, testers, and web enthusiasts master HTTP status codes through engaging gameplay.

HTTP Status Quest

๐ŸŒŸ Features

  • Interactive Learning: Learn HTTP status codes through engaging gameplay and challenges

  • Real-time Player Tracking: See how many others are learning alongside you

  • Multiple Difficulty Levels:

    • Normal: Basic HTTP status codes
    • Hard: Advanced scenarios and less common codes
    • Expert: Real-world scenarios and special cases
  • Progress Tracking:

    • Score system with combo multipliers
    • Performance tracking
    • Lives system
    • Real-time progress indicators
  • Game Features:

    • Hint system for challenging questions
    • Search functionality for status codes
    • Category-based organization
    • Mobile-responsive design

๐Ÿš€ Tech Stack

  • Frontend Framework: React with Vite
  • Styling: Tailwind CSS
  • Animation: Framer Motion
  • State Management: React Hooks
  • Icons: Lucide React
  • Real-time Features: Upstash Redis
  • Deployment: Vercel

๐ŸŽฏ Learning Categories

  • 1xx (Informational): Protocol-level information
  • 2xx (Success): Successful operations
  • 3xx (Redirection): URL redirection
  • 4xx (Client Error): Client-side errors
  • 5xx (Server Error): Server-side errors

๐ŸŽฎ How to Play

  1. Choose Your Difficulty:

    • Normal: Perfect for beginners
    • Hard: For those familiar with common status codes
    • Expert: Test your knowledge with complex scenarios
  2. Game Mechanics:

    • Read the scenario presented
    • Choose the appropriate status code
    • Build combos for higher scores
    • Use hints when stuck (costs points)
    • Complete all levels to win
  3. Scoring System:

    • Base points for correct answers
    • Combo multipliers for consecutive correct answers
    • Point deductions for using hints
    • High score tracking

๐Ÿ› ๏ธ Installation

# Clone the repository
git clone https://github.com/john-muinde/http-status-quest.git

# Navigate to project directory
cd http-status-quest

# Install dependencies
npm install

# Start development server
npm run dev

๐Ÿ”ง Environment Variables

Create a .env.local file in the root directory:

VITE_APP_TITLE=HTTP Status Quest
KV_REST_API_URL=your-redis-url
KV_REST_API_TOKEN=your-redis-token

๐Ÿ“ฑ Mobile Support

The game is fully responsive and optimized for mobile devices with:

  • Touch-friendly interface
  • Quick navigation between questions and answers
  • Compact but readable status cards
  • Optimized layout for different screen sizes

๐Ÿค Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

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

๐Ÿ‘ Acknowledgments

๐Ÿ”— Links


Made with โค๏ธ for the developer community

About

Interactive game to master HTTP status codes through engaging challenges. Learn 1xx to 5xx codes with real-world scenarios and track your progress. ๐ŸŽฎ

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages