About
## Wave 4 submission
In this wave, we built the first functional prototype of Goblin Tap, a fast-paced, skill-based blockchain arcade game that leverages the Citrea Bitcoin ZK-Rollup for secure cBTC betting. The focus was to combine smooth off-chain gameplay with transparent on-chain betting mechanics. in this Wave:
- Core Gameplay Implementation
- Developed the tapping game logic in React with precise interval management for smooth goblin pop-up and tap detection. - Implemented responsive, high-FPS animations to ensure gameplay feels fast and arcade-like, even in a browser. - Balanced goblin spawn frequency for a challenging yet fair skill-based experience.
- Frontend Development
- Built the interface using Next.js 14 (App Router), TypeScript, and Tailwind CSS. - Designed an intuitive betting and results flow so players can seamlessly move from placing bets to playing the game. - Added in-game timer, goblin counter, and visual feedback on taps.
- Web3 Integration
- Integrated Privy for frictionless wallet onboarding, enabling both crypto-native and new users to connect with minimal friction. - Implemented Viem for Ethereum-compatible RPC calls to interact with the Citrea network. - Smart Contract Deployment - Wrote and deployed a Solidity smart contract on Citrea’s testnet that: - Accepts cBTC bets. - Stores payout rules based on number of goblins tapped. - Distributes winnings automatically at the end of a round. - Created a payout structure: - <5 goblins → lose bet - 5–7 goblins → 1.2x - 8–9 goblins → 1.5x - 10+ goblins → 2.0x
- Prototype Security Model
- Implemented client-side verification of results for demo purposes. - Established the trust model for early-stage testing (not secure for production but allows user testing during buildathon).
- Testing & Demonstration
- Conducted browser-based playtests to ensure betting transactions and game loop run smoothly in real-time. - Verified compatibility with desktop and basic mobile browsers.
Prizes
- Wave 4 grant · 41.86 USDT
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





