Epic space shooter game with on-chain score tracking on Stacks Mainnet.
Live: https://rocket-shooter-seven.vercel.app
- Action-packed space shooter with enemies, birds, and explosions
- Progressive difficulty — gets harder every 35 seconds
- On-chain score submission to Stacks blockchain
- Wallet integration with Leather & Xverse
- WASD / Arrow Keys + Mobile touch controls
- Pixel-art graphics with particle effects
|
|
| Contract |
SP1YH5MXTJT86BZXMFA2T51JF0QVZ8XNYV33QH6MF.rocket-shooter |
| Network |
Stacks Mainnet |
| Language |
Clarity 4 |
| Explorer |
View on Hiro Explorer |
| Function |
Description |
submit-score (value uint) |
Submit a game score on-chain |
get-score (who principal) |
Get player stats (high score, games, last played) |
get-high-score (who principal) |
Get player's highest score |
get-games-played (who principal) |
Get total games played |
get-player-count |
Total unique players |
| Layer |
Technology |
| Frontend |
React 18 + TypeScript |
| Styling |
Tailwind CSS |
| Bundler |
Vite |
| Blockchain |
Stacks (Clarity 4) |
| Wallet |
@stacks/connect v8 |
| Hosting |
Vercel |
- 🎯 Destroy enemies: +10 points
- 🐦 Hit a bird: -15 points
- ❤️ Start with 3 lives
- ⚡ Level up every 35 seconds
- 🔫 Auto-fire while playing
| Input |
Action |
| W / ↑ |
Move Up |
| S / ↓ |
Move Down |
| A / ← |
Move Left |
| D / → |
Move Right |
| Touch & Drag |
Mobile movement |
git clone https://github.com/Dark-Brain07/rocket-shooter.git
cd rocket-shooter
npm install
npm run dev
MIT