Skip to content

networkneuron/abir

Repository files navigation

Nexus Emoji Rain

A fun, interactive web-based game that combines the excitement of catching falling items with blockchain integration. Players catch falling Nexus logos and thematic emojis to score points, with the ability to submit their scores to the Nexus blockchain.

🎮 Game Features

  • Interactive Gameplay: Catch falling Nexus logos and thematic emojis
  • Blockchain Integration: Submit your high scores to the Nexus blockchain
  • Mobile Support: Fully playable on both desktop and mobile devices
  • Visual Effects: Smooth animations and visual feedback
  • Sound Effects: Audio feedback when catching items
  • Responsive Design: Works on various screen sizes

🎯 How to Play

  1. Connect your MetaMask wallet (optional, but required for score submission)
  2. Click or tap the falling items to score points
  3. Try to catch as many items as possible within 30 seconds
  4. Your score will be automatically submitted to the blockchain if you're connected

🎨 Game Elements

Nexus Logo

  • The official Nexus logo appears 30% of the time
  • Represents the core branding of the game

Thematic Emojis

  • Space and tech-themed emojis appear 70% of the time
  • Includes: 🚀 💫 🌌 ⚡ 🔮 🌠 💎 🔷 ✨ 🌟
  • Each emoji has a different spawn rate for varied gameplay

🔧 Technical Requirements

  • Modern web browser with JavaScript enabled
  • MetaMask wallet (optional, for blockchain features)
  • Internet connection (for blockchain interaction)

🚀 Getting Started

  1. Clone the repository
  2. Open index.html in your web browser
  3. Connect your MetaMask wallet (optional)
  4. Start playing!

📱 Mobile Support

The game is fully optimized for mobile devices:

  • Touch-friendly interface
  • Responsive design
  • Optimized performance
  • No additional setup required

⛓️ Blockchain Integration

The game integrates with the Nexus blockchain:

  • Smart contract for score submission
  • MetaMask wallet connection
  • Gas-optimized transactions
  • Real-time score verification

🎵 Sound Effects

  • Pop sound when catching items
  • Audio feedback enhances the gaming experience

🏆 Scoring System

  • Each caught item = 1 point
  • 30-second time limit
  • Different messages based on score:
    • 0 points: "Try clicking the Nexus logos and emojis!"
    • < 10 points: "Keep practicing!"
    • < 25 points: "Nice! You're quick!"
    • < 40 points: "Great job! Nexus fan!"
    • ≥ 60 points: "Incredible! Nexus Master!"

🔄 Game Loop

  1. 30-second countdown
  2. Items fall at random speeds
  3. Click/tap to catch items
  4. Score submission to blockchain
  5. Restart option

🛠️ Development

Built with:

  • HTML5
  • JavaScript
  • Web3.js
  • MetaMask API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published