Inspiration
Sol Buzzer Beater was inspired by the excitement of buzzer-beater moments in sports, where the final move determines everything. I wanted to bring that thrill to a blockchain game, making it fair, transparent, and competitive for all players.
What it does
Sol Buzz Beater is a decentralized, turn-based multiplayer game on the Solana blockchain. Players take turns sending SOL, and the first player to reach the target number wins all accumulated rewards. After each win, the target automatically increases for the next round. The game ensures fairness by only allowing registered players to play and preventing consecutive turns by the same player.
How we built it
- Backend: Implemented the game logic using Seahorse v0.2.0, including turn-based mechanics, reward accumulation, and auto-incrementing target numbers.
- Frontend: Built with React and Vite, integrated with Solana Wallet Adapter for Phantom and Solflare support. Displays game status, player addresses, and enables real-time gameplay.
- Deployment: Deployed on Solana Devnet, interacting with the program via Web3.js.
Challenges we ran into
- Understanding Solana Account PDAs and how to manage them for game state storage.
- Understanding Seahorse (Python-like) code turn into on-chain Rust logic after compilation.
Accomplishments that we're proud of
- Built a fully functional decentralized multiplayer game with real SOL transactions.
- Successfully integrated wallet connection, game status updates, and real-time gameplay.
- Demonstrated the ability to extend the game for more players and adjustable entry fees.
What we learned
- Practical experience with Solana, Seahorse, PDAs, and lamports.
- Frontend-backend integration for blockchain applications.
- Challenges and solutions in designing fair, secure, and interactive on-chain games.
What's next for Sol Buzzer Beater
- Add support for more than 4 players and custom game modes.
- Improve UI/UX with live animations and notifications.
- Explore mainnet deployment and potential token rewards beyond SOL.
Built With
- javascript
- python
- react
- seahorse
- solana
Log in or sign up for Devpost to join the conversation.