Skip to content

JAYATIAHUJA/web3_arcade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

41 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Web3 Learning Arcade ๐ŸŽฎ

"Learn, Play, Earn โ€” Master Web3 the Fun Way!"

A fully responsive, interactive, and modern landing page for a Web3 learning platform that combines blockchain education with gamified experiences. Step inside the ultimate gamified learning hub where every game teaches you real Web3 skills โ€” from blockchain basics to minting NFTs โ€” while rewarding you with collectible NFT badges and certificates.

Built with pure HTML, CSS, and JavaScript - no external libraries required.

โœจ Features

๐ŸŽจ Visual Design

  • Futuristic Aesthetics: Deep navy to purple gradient backgrounds with neon accents
  • Neon Color Palette: Electric blue, purple, pink, and cyan highlights
  • Modern Typography: Orbitron for headings, Montserrat for body text
  • Animated Elements: Floating particles, glowing shapes, and smooth transitions

๐ŸŽฏ Interactive Elements

  • Hero Section: Full-screen gradient with animated floating shapes
  • Games Grid: 10 interactive game cards with hover effects
  • Smooth Navigation: Fixed navbar with smooth scrolling
  • Button Animations: Glowing hover effects and click animations

๐Ÿ“ฑ Responsive Design

  • Mobile-First: Optimized for all screen sizes
  • Flexible Grid: Games adapt from 1 column on mobile to 3+ on desktop
  • Touch-Friendly: Optimized for mobile interactions

๐Ÿš€ JavaScript Functionality

  • Smooth Scrolling: Navigation links scroll to sections smoothly
  • Scroll Animations: Elements fade in as you scroll
  • Game Loading: Interactive "Play Now" buttons with loading states
  • Custom Alerts: Styled game loading notifications
  • Keyboard Navigation: Arrow keys for section navigation
  • Performance Optimized: Throttled scroll events and efficient animations

๐ŸŽฎ Games Included

  1. ๐Ÿ›๏ธ Museum Treasure Hunt - Intro to Blockchain & Blocks

    • Explore a virtual museum, collect blockchain "blocks" in the right sequence
    • Reward: NFT Badge โ€” Block Collector
  2. ๐Ÿช Bakery Checkout - Wallet Creation

    • Serve pastry tokens to customers by creating secure wallets
    • Reward: NFT Badge โ€” Wallet Maker
  3. โš–๏ธ Medieval Trading Village - Smart Contracts

    • Negotiate trades using automated agreements written as smart contracts
    • Reward: NFT Badge โ€” Contract Coder
  4. ๐Ÿ•ต๏ธ Detective Case - Scam & Security Awareness

    • Hunt down fake wallets and phishing links hidden in clues
    • Reward: NFT Badge โ€” Fraud Fighter
  5. ๐Ÿ๏ธ Island Resource Hunt - Tokenomics & Supply

    • Manage scarce resources and trade to maximize your token economy
    • Reward: NFT Badge โ€” Token Tycoon

๐Ÿ› ๏ธ Technical Implementation

HTML Structure

  • Semantic HTML5 elements
  • Accessible navigation and content
  • Optimized for SEO
  • Clean, maintainable markup

CSS Features

  • CSS Custom Properties (variables) for consistent theming
  • CSS Grid and Flexbox for responsive layouts
  • Advanced animations with keyframes
  • Backdrop filters and modern effects
  • Mobile-first responsive design

JavaScript Features

  • Vanilla JavaScript (no frameworks)
  • Intersection Observer API for scroll animations
  • Event delegation for performance
  • Throttled scroll events
  • Custom alert system
  • Keyboard navigation support

๐ŸŽจ Color Palette

--neon-blue: #00d4ff
--neon-purple: #8b5cf6
--neon-pink: #ec4899
--neon-cyan: #06b6d4
--text-white: #ffffff
--text-gray: #e2e8f0

๐Ÿ“ฑ Browser Support

  • Chrome 60+
  • Firefox 55+
  • Safari 12+
  • Edge 79+
  • Mobile browsers (iOS Safari, Chrome Mobile)

๐Ÿš€ Getting Started

  1. Clone or Download the project files
  2. Open index.html in your web browser
  3. Enjoy the interactive experience!

File Structure

web3-learning-arcade/
โ”œโ”€โ”€ index.html          # Main HTML file
โ”œโ”€โ”€ styles.css          # All CSS styles and animations
โ”œโ”€โ”€ script.js           # JavaScript functionality
โ””โ”€โ”€ README.md           # This documentation

๐ŸŽฏ Interactive Features

Navigation

  • Click navigation links to smoothly scroll to sections
  • Use arrow keys (โ†‘โ†“) to navigate between sections
  • Press Escape to close any open alerts

Games

  • Hover over game cards to see glow effects
  • Click "Play Now" buttons for interactive loading experience
  • Each game shows a custom loading alert

Visual Effects

  • Hover over floating particles to see them glow
  • Click on floating shapes for pulse animations
  • Scroll to see parallax effects and fade-in animations

๐ŸŽจ Customization

Colors

Edit the CSS custom properties in :root to change the color scheme:

:root {
    --neon-blue: #your-blue-color;
    --neon-purple: #your-purple-color;
    --neon-pink: #your-pink-color;
    --neon-cyan: #your-cyan-color;
}

Adding Games

To add new games, duplicate a game card in the HTML:

<div class="game-card" data-game="your-game-name">
    <div class="card-icon">๐ŸŽฎ</div>
    <h3 class="card-title">Your Game Title</h3>
    <p class="card-description">Your game description.</p>
    <button class="play-button">
        <span>Play Now</span>
        <div class="button-glow"></div>
    </button>
</div>

Animations

Modify animation durations and effects in the CSS file. All animations use CSS keyframes for smooth performance.

๐Ÿ”ง Performance Features

  • Optimized Animations: CSS transforms and opacity for 60fps
  • Throttled Events: Scroll events are throttled for performance
  • Efficient Selectors: Minimal DOM queries and event listeners
  • Lazy Loading: Animations only trigger when elements are visible
  • Touch Optimized: Passive event listeners for mobile performance

๐ŸŽฎ Future Enhancements

Potential additions for future versions:

  • Sound effects and audio feedback
  • More interactive game previews
  • User progress tracking
  • Dark/light theme toggle
  • More advanced particle systems
  • WebGL effects for enhanced visuals

๐Ÿ“„ License

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

๐Ÿค Contributing

Feel free to fork this project and submit pull requests for improvements!


Built with โค๏ธ for the Web3 community

Experience the future of blockchain education through immersive gaming!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors