This folder contains a web-native Flappy Bird remix inspired by the Trac competition plan: a playable canvas experience with coins, TNKc-backed upgrades, NFT skin previews, and a leaderboard that can be shared over Trac Intercom sidechannels.
Note
Developer's TNK address: trac1ee69dcdf76s4xxd84en9l7hwkjekmccw8ysv69yvxeky75nr645s2uhptk
- Game core: Classic gravity-based flight, scrolling pipes, responsive input (spacebar / tap), and infinite progression.
- Coin economy: Collect a TNKc coin after every 3–5 pipes, and apply a configurable multiplier (Levels 1–5) to each pickup.
- Upgrade system: Spend coins to raise the multiplier (100 → 2x up to 2000 → 6x) or to purchase up to four extra lives for a total of five.
- Skins as NFTs: Preview all 15 skins (Classic, Blue, Green, Yellow, Pink, Rainbow, Gold, Silver, Bronze, Ninja, Pirate, Astronaut, Superhero, Zombie, Unicorn). Selecting one updates the canvas bird color and persists the choice.
- Leaderboard & persistence: Scores persist via
localStorageand surface in the sidebar with wallet-aware labels. The leaderboard can be copied and shared over Trac sidechannels or SC-Bridge. - Trac readiness: The UI calls out the
0000intercomsidechannel, the TNKc upgrade logic, and the official payment addresstrac1ee69dcdf76s4xxd84en9l7hwkjekmccw8ysv69yvxeky75nr645s2uhptkso rewards and NFT minting can be wired later.
- Serve the folder (static server only):
npx http-server -c-1 . # or python -m http.server 8080
- Open
http://localhost:8080(or whatever port your server prints) in a browser that supportswindow.ethereumif you want to connect MetaMask/WalletConnect. - Use
Space, the up arrow, or tap/click the canvas to flap, collect coins, and unlock upgrades once you have enough TNKc.
localStoragekeys are namespaced withtracFlappy*for coins, upgrades, skin, leaderboard, and wallet state.- Drop screenshots/videos into
proof/screenshotsandproof/videosbefore submission. - The wallet area displays connected Ethereum addresses so the leaderboard can track real traders, and the state persists across reloads.
- Sidebar copy references
0000intercombecause the intended multiplayer layer runs over Intercom sidechannels. - Upgrade logic, coins, NFT skins, and leaderboard snapshots are checkpoints for future contract/sidechannel integrations (TNKc token recognized for purchases, NFTs represented by the 15 skins, and the leaderboard ready to be published via SC-Bridge updates).
- Developer Trac address:
trac1ee69dcdf76s4xxd84en9l7hwkjekmccw8ysv69yvxeky75nr645s2uhptk.
- No automated tests yet; exercise the canvas manually and confirm coins, upgrades, skin selection, and leaderboard entries persist.
- Future work: connect upgrades to smart contracts, publish leaderboard updates via a sidechannel bridge, and wire multiplayer matchmaking through Intercom.