Flappy Nexus is a browser-based Web3 game featuring an onchain leaderboard. Players can choose to play in offchain or onchain mode, and submit their high scores directly to the blockchain!
- Connect Wallet: Supports EVM wallets like MetaMask and OKX Wallet.
- Play Offchain: Casual mode without blockchain interaction.
- Play Onchain: Compete for the top score onchain.
- Submit Score: Send your score to the smart contract.
- Leaderboard: Displays the top 10 highest scoring players.
- Mint Skin: (Optional) Allows players to mint and use NFT skins.
- Open the site: https://flappynexus.vercel.app/
- Click Connect Wallet to start onchain mode.
- Choose Play Onchain or Play Offchain.
- After the game ends, click Submit Score to record your score.
- Open the Leaderboard to see your rank!
- Network: Testnet or Mainnet
- Contract Address:
0x...(Replace with actual address) - Key Functions:
submitScore(uint256 score)getTopPlayers()
The top 10 players each week will receive token rewards:
| Rank | Reward |
|---|---|
| 1 | 20% |
| 2 | 15% |
| 3 | 13% |
| 4 | 11% |
| 5 | 10% |
| 6 | 9% |
| 7 | 7% |
| 8 | 6% |
| 9 | 5% |
| 10 | 4% |
Rewards are distributed manually or via smart contract.
- HTML5 Canvas Game Engine
- JavaScript + Ethers.js
- TailwindCSS for UI
- Solidity (on Nexus)
- Deployed with Vercel
Feel free to fork, clone, or submit a PR. Built by @JAWIRNFT for the Web3 gaming community.