Module Architecture
Module Architecture
The Wandering Warrior stack is designed to leverage the functionality of the sui main chain to promote composability between smart contracts. DeFi's financial lego block demonstrates the enhanced functionality that composability provides for developers and users, such as the ability to guide complex financial applications and standards for trading between assets.
It has been proven that feature rich game applications require too much computation to make the L1 network feasible, but we believe that the Sui main chain will provide a new development model that applies the benefits of composability to the game ecosystem. These are not just the ability to share PFP between games or exchange assets from one game for another, but also deeply integrated gaming experiences developed in a more decentralized manner. The openness of blockchain enables developers to build and integrate applications on top of each other, resulting in standards that include concepts such as shared XP upgrades, physical, and verifiable randomness.
The module acts as an open source DLC
Wandering Warrior utilizes the composability of smart contracts to modularize its code base into reusable and replaceable functional units, known as modules. Functional units are defined as smart contracts, which encapsulate specific features of the game and interact with other smart contracts through well-defined interfaces. Functional units can be combined in different ways to form new games or applications, or they can be replaced with new versions that implement the same functionality but have different performance, security, or cost characteristics.
Functional units can also be integrated with external systems such as Oracle through standard protocols such as ERC-20, ERC-721, ERC-1155, etc. This method can achieve a more efficient and flexible development process, as well as a more robust and secure system, as it can separate concerns, isolate vulnerabilities, independently extend and upgrade each functional unit.
Module controller
The core game logic and state are controlled by the module controller contract, which determines which contracts have the ability to write game state and logic. This centralizes control and allows for a more secure and manageable system. Upgrades and changes to controllers, such as adding new building types or integrating new projects, are managed by the Wandering Warrior DAO. This allows for a decentralized and community driven process to change the game.
By creating a modular structure, the game has the ability to expand and develop independently of the core development team. For example, a new developer can write a new module that interacts with other parts of the game and submit it to the community. If approved by voting, it can be added to the game. This allows for a more collaborative and open source development process, and allows the community to drive the direction and development of the game.
Creator receives compensation
The transparency and verifiability of blockchain provide a unique opportunity for new developers to simulate the "App Store" experience. Developers who create new modules for the game can choose to charge a small transaction fee for their use, which will result in players paying the developer a fee every time they interact with them. This creates economic incentives for developers to create new innovative modules that can enhance players' gaming experience.
Last updated