Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Shasikhan/ai-game-hub

🎮 Retro Game Hub

A dynamic, interactive web-based game hub featuring multiple retro-style games with customizable themes and styles.

✨ Features

🎨 Theme System

  • Retro Theme: Classic gaming colors with red and teal accents
  • Cyber Theme: Futuristic neon green and blue design
  • Fantasy Theme: Medieval gold and purple aesthetic
  • Neon Theme: Vibrant neon colors on black background

🎯 Style Variations

  • Default: Clean, modern look
  • Pixelated: Retro pixel art borders
  • Rounded: Soft, curved edges

🎲 Available Games

  1. Whack-a-Mole: Test your reflexes in this classic arcade game
  2. Elemental Equilibrium: Master the elements in an exciting adventure

🔥 Interactive Features

  • Theme persistence using localStorage
  • Smooth transitions between themes
  • Sound effects on hover and click
  • Responsive design for all devices
  • Floating customization panel

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/Shasikhan/ai-game-hub
  2. Open index.html in your browser:

    • Double click the file
    • Or use a local server:
      python -m http.server
  3. Start playing and customize your experience:

    • Click the 🎨 button to open customization panel
    • Choose your preferred theme and style
    • Select a game to play

💻 Technical Details

Technologies Used

  • HTML5
  • CSS3 (with CSS Variables)
  • Vanilla JavaScript
  • Google Fonts (Press Start 2P)

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Features Implementation

  • CSS Variables for dynamic theming
  • LocalStorage for preference persistence
  • Flexbox/Grid for responsive layouts
  • JavaScript for interactive features

🎯 Future Improvements

  • Add more games
  • Implement user accounts
  • Add high scores
  • Enhanced sound effects
  • More theme variations
  • Mobile touch optimizations

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

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

👥 Credits

Created with ❤️ by AI under the guidance of Shafqat Ullah Khan


Note: This is a front-end only project. No server-side implementation is required to run the games.

About

A dynamic, interactive web-based game hub featuring multiple retro-style games with customizable themes and styles.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors