Posted July 25, 2024 by BiZKiT
#rts #web3 #nft #metaverse
Welcome back to our weekly developer update, where we’re thrilled to share the exciting progress we’ve made behind the scenes. With a focus on enhancing your Cosmicrafts experience, we’ve embarked on a major backend refactoring journey.
Over the past month, we’ve been immersed in the world of Motoko, especially during the Motoko Summer Camp. This incredible experience allowed us to connect with talented developers, learn from the best in the industry, and rediscover the limitless possibilities of building on the Internet Computer. From crafting personal canisters to establishing DAOs, the camp ignited our passion for innovation and strengthened our resolve to create the best possible gaming experience for you.
We’ve taken a significant step towards optimizing Cosmicrafts by consolidating our multicanister architecture into a single, powerful controller. This streamlined approach centralizes our databases and logic, resulting in improved performance and a smoother gameplay experience.
While the ICRC canisters remain independent to adhere to token and NFT standards, this consolidation marks a major milestone in our ongoing quest for thriving.
In this update, we’ll delve into the specifics of our backend overhaul. We’ll guide you through the major changes we’ve implemented.
Previously, Cosmicrafts relied on a complex network of interconnected canisters, each serving a distinct purpose:
…And of course, the ICRC canisters for tokens (Shards and Flux) and NFTs (spaceships and chests).
While the previous architecture divided responsibilities neatly, it suffered from a significant drawback: inter-canister communication bottlenecks.
The multi-step process of saving statistics, validating results, updating missions, and claiming rewards involved a cascade of inter-canister calls. This resulted in frustrating wait times for players eager to see their progress reflected in the game.
These delays collectively created a subpar user experience. Simple actions like claiming rewards felt sluggish and unresponsive, detracting from the enjoyment of overall online gaming experience.
By consolidating statistics, validator, rewards, player, and tournament modules into a single entity, we’ve drastically improved response times and eliminated the cumbersome chain of inter-canister calls. But we didn’t stop there. We’ve also enhanced and expanded existing features while adding new ones.
But we’re not stopping there! In our upcoming updates, we’ll be introducing a referral system that directly rewards players for inviting their friends to join Cosmicrafts. This system will be a key part of our strategy to grow the community and create a more vibrant and engaging ecosystem for everyone.
Get ready to earn rewards while sharing the excitement of Cosmicrafts with your friends!
As always, we value your feedback and encourage you to share your thoughts and suggestions with us. We’re committed to making Cosmicrafts the best it can be, and your input is invaluable in that journey.
Until then, commanders, keep exploring the cosmos and conquering the stars!
Onward to the stars!