DEV Community

OpeOginni
OpeOginni

Posted on • Edited on

Golazos Stacks: Elevate Your LaLiga Moments to New Heights

About Golazos and Golazos Stack

Laliga Golazos is a vibrant community on the Flow Blockchain where enthusiasts can curate collections of Laliga Moments.

Gozalo Stacks is an extension of the already existing Laliga Golazo community. It was created to be a way for users to create teams of Moments, and further make their collection unique. As an individual Moment might be unique, but put that Moment in a Stack with other Moments then you can create Unique combinations.

Insights from the Golazos Community and Feedback on Golazos Stack

In conversations with Golazos Community members on the Official Discord Channel and with the invaluable input from M3TALIF3, what makes Golazos Moments truly special to our community. As a passionate football enthusiast myself, I recognized the shared desire among holders to elevate their Moments' value while preserving their collectible appeal. Golazos Stack emerges as the bridge that aligns these goals, adding gamification elements to Moments and empowering collectors to craft unique combinations.

The Essence of Golazos Stack

Golazos Stack enables users to assemble a team or "Stack" of 5 Moments from their collection. The Stack's Chemistry Value is computed based on the connections between the chosen Moments. Moments with closer ties, such as those from players on the same team or from the same game, garner higher Chemistry Scores.

Chemistry scores open up exciting possibilities, including the introduction of Stack Building Challenges—a concept of the popular FIFA game series (EA FC). These challenges can be enhanced to allow users to employ their existing Moments to win higher-tier Moments.

Stacks can can serve as the foundation for hosting games with other Holders where holders with the rarest, most unique, and highest Chemistry Stacks can dominate the field.

Visual Concept

Standard Challenges
Golazos Stack Example

Challenge masters can create challenges requiring any number of unique moments across tiers, rarities, teams, positions & other available attributes. Users will be able to submit moments from their collection fitting the required criteria with the goal of maximizing team chemistry scores. Chemistry strengths between players can be defined from shared teams, regions, nationalities, and other attributes.
For example, a challenge master can create a challenge with the following requirements:

• 2 legendary moments
• 2 rare moments
• 4 or more different nationalities
• 3 forwards, 3 midfielders, 4 defenders and 1 goalkeeper

The top 100 stacks with the highest Chemistry will win a newly minted reward moment. Tie breakers will be based on the aggregate sum of serial numbers submitted.

Future Considerations – Gamified Dynamic Challenges

Image description

In the future, more gamification features can be introduced to support live matches where points are accumulated for in-game match statistics such as goals, assists, blocks, steals and wins. Team chemistry can be utilised as a point booster between players with a strong chemistry. For example, if two players on the same team have a strong chemistry and are linked in a live match play, such as an assist and a goal, those points will have a team chemistry point booster applied.

• Goal: 10 points
• Assist: 6 points
• Chemistry Boost Type: Assist and Goal
• Boost Points: 3
• Total Play Points: 19

The Cadence Advantage

Golazos Stacks is coded in the Cadence Language, the backbone of all systems built on the Flow Blockchain. Building with Cadence offers a seamless experience, thanks to its resemblance to TypeScript. This enables the creation of clean, easily testable code even after writing extensive lines of logic.

Cadence's capabilities extend further, empowering other developers to build contracts on top of existing ones, thereby enhancing the platform's feature set.

Challenges Encountered with Cadence

While working with Cadence, one notable challenge was the lack of 100% reliable developer tools for the language. Tools like the Flow CLI and the Cadence Playground, while helpful, occasionally proved less than dependable.

Underlying Contract Architecture

The contract architecture may appear complex at first glance, but its essence is straightforward. When you create a Stack from Moments you own, the relevant attributes are extracted and saved as the StackAttributes. These attributes play a pivotal role in calculating the Stack Chemistry and can be utilised by Challenge Masters to assess a Stack's eligibility for specific challenges.

Attributes are classed and each value of a Moment's Attribute are put in a mapping, the more Moments have the same value for that attribute, it will be shown in the mapping. This makes it possible for Requirements in Challenges to check for Stacks that has 3 Moments from a Real Madrid Player and 2 Hatrick Moments at the same time.

In the future, we plan to allow users to submit Stacks to contests, where meeting the requirements results in Moment pack rewards and the destruction (burning) of Moments in the submitted Stack—an option that will be implemented when Golazos introduces the Burning of Moments feature.

Important Resources

Explore Golazos Stack, create your unique Moments, and join us in this exciting journey of enhancing the Laliga X Flow experience!

Top comments (0)