Please describe your proposed solution
Solution Summary
We propose the development of a leaderboard and automated token distribution system for an arcade platform where players can pay to play using Cardano Native Tokens (CNT). The solution will track individual game scores, aggregate them into an overall leaderboard, and automate token distribution to top players at the end of a set period (e.g., quarterly). The backend will allow administrators to set reward distribution percentages and reset the leaderboard after each distribution.
Solution Overview
The proposed leaderboard and token distribution system will include the following features:
Player Authentication and Payment:
- Players log in to the arcade using their Cardano wallets.
- Players pay with CNT to participate in arcade games.
Game-Specific Leaderboards:
- Each arcade game will have its own leaderboard tracking individual player scores.
- Scores may be aggregated into an overall leaderboard for total player performance across games.
Automated Token Distribution:
- Administrators will have a backend interface to set reward distribution percentages (e.g., 1st place gets 50%, 2nd place 30%, etc.).
- At the end of each period, administrators can trigger the automatic distribution of tokens to top players' wallets according to any/several leaderboard results.
- Administrators will have the option to reset the leaderboard after each distribution cycle.
Off-Chain Leaderboard Management:
- The leaderboard will be managed off-chain for fast updates and reduced complexity.
- Token distribution will be based on final standings retrieved from the off-chain database.
Backend Administration:
- A simple backend interface for setting reward distribution rules, resetting leaderboards, and managing the funded wallet.
Deliverables
- Player Authentication & Payment Integration:
- Secure player login via Cardano wallets and seamless CNT payment integration for arcade game participation.
- Leaderboard System:
- A fully functional leaderboard system that tracks scores for each arcade game and aggregates overall player performance.
- Automated Token Distribution:
- Backend logic for automated token distribution to top players, based on rankings and set reward percentages.
- Backend Interface:
- A user-friendly administration interface that allows for setting reward rules, resetting leaderboards, and managing the prize distribution.
- Documentation:
- Comprehensive documentation for developers and administrators explaining how to implement, manage, and maintain the system.
- Example Project:
- Integration of the leaderboard and token distribution system into the existing GOAT Tribe Arcade at goattribe.games, shown in action here, and showcasing how the system functions within a live, operational arcade platform.