Introduction

The Alliances and War System is a critical component of the Block Based Lords strategy game, designed to provide players with the ability to form alliances, engage in diplomatic relations, and participate in strategic warfare. This manual guide will walk you through the various functionalities and features of the Alliances, War and Peace System, providing you with the necessary knowledge to navigate and utilize the system effectively.

Getting Started

To get started with the Alliances, War and Peace System, players must first familiarize themselves with the basic concepts of alliances, wars, and peace in the associated actions that can be performed within the system. Players should have a clear understanding of the roles and responsibilities of alliance members, as well as the rules and regulations governing the initiation and resolution of wars or peaces.

Creating Alliances

Players can create alliances by using the mintNewAlliance function, provided they meet the specific criteria outlined in the system. The system requires to set new Name if alliance within specific resources, and a certain number of lands to be eligible for alliance creation.

Managing Alliances

Alliance leaders have the authority to manage their alliances, including adding and removing members, sending and canceling alliance invites, and ultimately disbanding the alliance if necessary. It is essential for alliance leaders to exercise discretion and prudence in their decision-making to ensure the stability and coherence of the alliance.

Initiating Wars

Players can initiate wars by utilizing the mintWarRequest function, which allows them to propose a war against a specific alliance. The system requires a specified duration for the war and the number of lands to be bet in the conflict. Once the war request is approved, players can engage in strategic warfare with the opposing alliance.

Resolving Wars

The Alliances and War System facilitates the resolution of wars through the warConfirmAllianceB, warLostRequest, and warFinishRequest functions, which enable alliance leaders to confirm war participation, declare losses, and finalize the outcomes of the conflicts. The system automatically adjusts the distribution of lands based on the results of the wars, ensuring a fair and transparent process as additional result of war.

Peace System Logic

The integrated Peace System allows alliances to request and confirm peace agreements to resolve conflicts and foster peaceful coexistence. Alliance leaders can utilize functions such as mintPeaceRequest, peaceConfirmAllianceB, and peaceCancelOpened to initiate, approve, and cancel peace agreements, respectively. The system ensures the equitable distribution of resources and lands during peace agreements and handles penalties in the event of agreement violations or cancellations.

Conclusion

The Alliances, War and Peace System plays a crucial role in fostering a dynamic and engaging gameplay experience, allowing players to form strategic alliances, engage in tactical warfare, and test their skills and abilities in a competitive environment. By understanding the functionalities and procedures outlined in this manual guide, players can maximize their involvement in the game and contribute to the overall excitement and enjoyment of the gaming community.