To get started, you need to mint a dynamic NFT that represents your army. This NFT contains all the necessary information about your army, including the number of soldiers, tanks, drones, and their localization on the map.
Manage your army by buying soldiers, tanks, and drones. You can also move your army on the map. Keep in mind that each action, whether it's buying or moving, requires a fee.
Engage in combat by attacking another army located on the same spot as yours. The winner of the combat is determined based on the power of the armies involved. When two armies engage in an attack, the winner is determined based on their respective strengths(Power). The strength of each army is calculated using the calculateStrength function, which takes into account the number of soldiers, tanks, drones, and the chosen strategy.
The calculation of the strength involves several factors:
After calculating the strengths of the attacker and defender, the comparison is made. If the attacker's strength is higher, the defender loses a portion of their resources (soldiers, tanks, and drones) based on the difference in strengths. The attacker gains the same amount of resources from the defender.
If the defender's strength is higher, the attacker loses a portion of their resources, and the defender gains the same amount of resources from the attacker.
In the case where both armies have equal strength, the battle results in a draw, and no changes occur to the armies or their resources.
It's important for players to consider their army composition and chosen strategy when engaging in battles to maximize their chances of winning.
Your army's life points are essential for playing the game. After each combat, the winner gains 10 life points, while the loser loses 10 life points. As a starting point, your first minting grants you 100 life points. You can only play and attack other armies if you have more than 10 life points.
After a combat, the localization of the losing army changes or "runs" to a different spot on the map. The new localization is obtained by adding 200 to both the longitude and latitude coordinates of the loser's army.
Winners of battles are eligible for community rewards. The top three winners, determined through a community vote, will receive special rewards for their achievements.