Today I'm testing out Claude Sonnet 3.5. We're building NFT Flappy Bird: Play Flappy Bird with any NFT from your collection.
After 2 hours of braindead hacking, here's what happened:
I fed Claude only non-technical prompts about the design I wanted. I did not tell it what stack to use. I asked it to build all the features I wanted, and then asked it to give me step by step instructions to build out the repository of files. It assumed I wanted frontend only at first, so I asked it to write the backend as well and it complied intelligently.
It took about 45 minutes to get the game working, including fetching NFTs from the connected wallet. The biggest stumbling blocks were getting webpack configured correctly (several back and forths). It used an outdated OpenSea API spec until corrected. NFT selection worked well as soon as these were fixed.
I spent the remaining 1 hour and 15 minutes trying to fix bugs such as: Bird NFT image too big (easy fix), scoring details (fixed then regressed several times), play area boundaries (took several tries but eventually it figured out how to align the play area with the visual canvas).
I ran out of credits before I could get it to fix the position of the pipes, such that they emanate from the top and bottom edges of the screen respectively. I created a second Free account when I ran out of Pro credits and still could not solve the bug (without me intervening in the code directly).
Claude Pro plan still very limited if you're dealing in code. Their docs suggest eeking more out by starting new convos periodically but lack of context is the mind killer in programming so I didn't even try it. As a result, it may be more fun to do this with a custom chat interface plugged into the API directly so you don't hit the 5 hour request limit.
Claude is better than ChatGPT 4o at writing code. I switched to ChatGPT to try to finish the project and it solved some bugs and started introducing others. I decided not to bother
Claude is good at writing code, but it Flappy Bird is a common game to clone so chance of overfitting in this example. It did very nicely integrate the wallet connect and NFT select. I'm pleased with it and will be using it in future
I have not played much with Cursor and did this whole experiment in VSCode. Possible that Cursor or similar + 3.5 is really excellent and relieves user from the copy-paste dance.
Nicholas
We’re trying out something new — a weekly roundup of hand-picked posts to help you discover great writing on Paragraph. ⬇️ Let us know what you think and share any great writing we missed! https://paragraph.xyz/@paragraph-picks/weekly-digest-vol-1
https://paragraph.xyz/@smoothbrain/building-nft-flappy-bird-with-claude-sonnet-3-5 @nicholas outlines how he used Claude Sonnet 3.5 to build a game called NFT Flappy Bird, where players can use any NFT from their collection to play. Check out the post to watch a video of how he did it and read his key takeaways from this experiment.
https://paragraph.xyz/@micah/community-management @micah dives into the crucial role of Community Managers in crypto/NFT projects. Community Managers bridge the gap between the community and the team, facilitating communication, gathering feedback, and ensuring community engagement. They play a key role in driving product adoption and market influence. Despite the challenges of managing community expectations and dealing with occasional negativity, Community Managers are invaluable in fostering a supportive and thriving ecosystem for artists and creators in the web3 space.
https://paragraph.xyz/@tomu/rethinking-collect-as-the-like-button @tomu explores why collecting should be a premium feature, a more meaningful action than being the new like button. Collecting pieces should be used selectively, as a way to define interests and onchain identity.
COLIN I’M HONORED BROTHER!! THIS IS AMAZING 1000 $degen
868 $DEGEN
Love this idea
All thanks goes to @reidtandy and the great writers on Paragraph
Thanks for the feedback! 🙏 Please send any great writing our way. :)
Love the idea 😍 even more since I found myself there 😁 But two highligted pieces actually caught my eye and I will read them! -> on protocol fees changing the culture of “free” -> and on using mint button selectively and not as a like (which I'm trying to practice myself now) Great idea!
Appreciate the feedback @bfg! :)
into the idea - tags by interest would be good
For sure, would be fun to have these for different categories / topics at some point. Thank you!
+1
Today I tested Claude Sonnet 3.5. I prototyped NFT Flappy Bird: Play Flappy Bird with any NFT from your collection. See how it did in the video below. For a full list of takeaways check the blog post https://paragraph.xyz/@smoothbrain/building-nft-flappy-bird-with-claude-sonnet-3-5
thanks to @jmann.eth for being my Flappy Bird ;)
this is sick -- was just chatting with some folks about claude sonnet a few hours ago, the hype is real!
i enjoyed coding with it more than any chatgpt so far
Finally Mike rainbow can play flappy bird
https://paragraph.xyz/@smoothbrain/building-nft-flappy-bird-with-claude-sonnet-3-5