Skip to content

PlaySuper/playsuper-mario

 
 

Repository files navigation

PlaySuper Super Mario

This is a PlaySuper-integrated version of the classic Infinite Mario game, enhanced with real rewards and coin distribution. Originally forked from the JavaScript HTML5 version, this game now features a complete PlaySuper integration for earning and redeeming real rewards while playing.

🎮 Features

Classic Mario Gameplay

  • Full HTML5 Mario platformer experience
  • Canvas and Audio elements demonstration
  • Infinite level generation
  • Classic Mario mechanics and power-ups

🏆 PlaySuper Integration

  • Real Coin Distribution: Earn PlaySuper coins while playing
  • Daily Rewards: Spin a wheel every day for a guaranteed gift card prize.
  • Scratch Card on Death: Get a second chance with a scratch card reward when you lose a life.
  • Treasure Chest System: Choose mystery rewards after level completion
  • Welcome Coins: New players receive starter coins
  • Live Rewards: Redeem coins for real products and services
  • Mobile-Optimized Store: Integrated rewards redemption interface
  • API Integration: Full PlaySuper backend connectivity

🚀 Getting Started

  1. Open index.html in a web browser
  2. Configure PlaySuper credentials (API key, Coin ID, etc.)
  3. Start playing and earning coins!
  4. Press T to test the treasure chest feature
  5. Press H to return to the main menu at any time.
  6. Complete levels to earn coins and unlock rewards

🎯 How It Works

  • Timer-Based Distribution: Coins are distributed every 10 seconds during gameplay
  • Level Completion Bonus: Extra coins awarded when completing levels
  • Treasure Chest: Random reward selection with real PlaySuper API integration
  • Automatic Redemption: Seamless reward claiming and store navigation

🛠️ Technical Details

  • Frontend: HTML5 Canvas, JavaScript, CSS animations
  • Backend: PlaySuper API integration
  • Authentication: Federated login with player UUID system
  • Mobile Support: Responsive design and touch controls
  • Error Handling: Robust error management and retry logic

📝 Credits

  • Original Game: Ported from the Java version by Notch (Markus Persson)
  • HTML5 Version: Based on the original JavaScript port
  • PlaySuper Integration: Enhanced with real rewards system
  • Current Fork: Extended with comprehensive PlaySuper features

🎵 Known Issues

Background music currently works best in Firefox. Other browsers may have compatibility issues with the audio implementation.


This game demonstrates the seamless integration of classic gameplay with modern reward systems, powered by PlaySuper.

About

Infinite Mario in HTML5 JavaScript - using Canvas and Audio elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 89.3%
  • HTML 10.6%
  • Python 0.1%