BlockBird is an on-chain Flappy Bird game deployed on Arbitrum Sepolia, integrating Chainlink, The Graph, and Dynamic Wallet. Fly through the chain, navigating obstacles while earning rewards.
BlockBird is an innovative on-chain game that brings the classic Flappy Bird experience to the blockchain. Deployed on Arbitrum Sepolia, it combines the simplicity of a browser-based game with the security and transparency of decentralized technology. Players control a bird, navigating through obstacles on-chain, and can earn rewards as they progress. By integrating Chainlink for randomness and fair gameplay, The Graph for efficient querying, and Dynamic Wallet for seamless user experience
BlockBird was built with a strong focus on utilizing the latest Web3 technologies. The core game logic is coded in Solidity and deployed on Arbitrum Sepolia, leveraging the scalability and low-cost transactions of this Layer 2 solution. Chainlink VRF (Verifiable Random Function) is used to ensure fair and unpredictable game mechanics, adding a layer of trustless randomness to the gameplay.
The Graph is employed to efficiently index and query the game’s data, providing real-time updates on leaderboards and player statistics. Dynamic Wallet integration ensures that players can easily connect and play the game without leaving their browser, making the on-chain experience as smooth as possible.
One particularly hacky aspect was optimizing the gas costs associated with in-game transactions. We achieved this by minimizing the number of on-chain interactions required during gameplay, offloading as much computation as possible to the frontend while maintaining the integrity and security of the game. This balance between on-chain and off-chain processing ensures a seamless and cost-effective gaming experience.