gnolang / hackerspace

Tinker, build, explore Gno - without the monorepo!
10 stars 7 forks source link

Stefann's Builder Journey #94

Open stefann-01 opened 1 day ago

stefann-01 commented 1 day ago

My Builder Journey

Hey everyone! I'm Stefan, a Computer Science student from Belgrade, Serbia. I was introduced to Gno.land by @leohhhn during the Web3 Camp at Petnica Science Center, and since then, I’ve been eager to contribute to this ecosystem.

I thought the best way to start would be through the Student Contributor Program, so I assembled a team with three other students from my university. You can check out our application here 🔗

While we wait for a response, I’ve decided to get more familiar with the Gno environment by building an interactive home realm (got my eyes on that best home realm prize 👀). Will be back with more info when I am done.

Feel free to track my progress on this issue — I'll do my best to keep it up to date!

stefann-01 commented 9 hours ago

Hey everyone, I just finished building my home realm, and you can check it out here 🎉

I wanted to give it a unique twist, so since I love traveling, I came up with an idea to make it a bit interactive. Whenever someone tips my travel jar (sends GNOT's to the realm), the background photo changes to a different city — like I’m traveling around the world thanks to your donations! 🌍✈️
And of course, I sprinkled in a little extra: a sponsor leaderboard to showcase the top supporters. 💪

On a serious note, I really think this was a great idea for my first realm, as it helped me get familiar with the environment and explore many of the basic libraries. Some didn’t make it to the final product, but the experience stays.

I also tried using a random function to display backgrounds after each donation. I had a rough time using the built-in rand, so I ended up making a linear congruential generator instead. But in the end, I realized that randomness was too random for my case — no one wants to donate and see the same background... So I switched to a sequential background change, which turned out to be a better fit.

Additionally, I've included a feature that allows the realm owner (myself) to withdraw accumulated GNOT donations. 💰

You can find all the details and discussion in PR-2918

I hope you like it, and if you do, make sure to tip that jar! 😉

As for future plans, I think a good next step would be getting more familiar with the environment and libraries by doing some follow-up work on other live coding sessions.
With my team, I also discussed an idea for a simple gambling game, similar to Fomo3D, where the last person to make a move wins the pot. We’ll be using React for the front end to make the user experience more engaging.

Feel free to share any thoughts and suggestions. Till next time!