MultiverseFlappyBird
The game is cross-chain fallpy bird, allowing players to use various chains like Base, Optimism, and Arbitrum. Players pay an entry fee to start the game, and the winner takes all the funds.
Screenshots



Problem Statement
Welcome to Flappy Bird Multiplayer!Multiplayer: Two players can compete against each other in real-timeCross-Chain Compatibility: Choose your preferred chain (Base, Optimism, Arbitrum, etc.) to play. Entry Fee and Prize: Players pay an entry fee, and the winner takes all the funds.Real-Time Leaderboard: See the chains where players and playing the most and the best players.How to PlayConnect Your Wallet: Use MetaMask or another Web3 wallet to connect to the game.Select Chain and Pay Entry Fee: Choose your preferred chain and pay the entry fee.Wait for Opponent: Wait for another player to join.Game Starts: Once both players are ready, the game will start with a countdown.Compete: The game continues until one player loses. The winner takes all the funds.
Solution
Tech StackServer: The server handles the game logic and manages the rooms for the players. It ensures that the game starts simultaneously for both players and handles the distribution of funds to the winner.Client: The client is a Next.js application that interacts with the server and handles the game UI. It uses Scaffold-ETH for Ethereum interactions and Tailwind CSS for styling.Smart Contracts: The smart contracts handle the entry fee and prize distribution. They are deployed on multiple chains to allow cross-chain compatibility.
Hackathon
ETHGlobal Brussels
2024
Contributors
- fabriziogianni7
7 contributions