This project implements a Solana-based smart contract designed to manage top users in games. Built using the Anchor framework, it supports features like tracking top scores, managing administrators, and handling in-game payments. This contract is scalable and can be integrated into games to manage player leaderboards and distribute rewards.
- Initialize Arcade: Set up a new arcade with administrators, a name, max top scores, and game pricing.
- Play Game: Players can pay to play the game, and their payments are transferred to a prize pool.
- Add Top User: Add players to the top user leaderboard, which ranks players by their score.
- Manage Administrators: Add or remove administrators with authorization checks.
- Update Game Price: Modify the cost to play the game at any time.
- Solana
- Anchor Framework
- Rust