⚔️Battling

May the toughest Zoog win

Battling is the first game added to the Zungle and is the only way for users to gain additional $MNKZ outside of daily accrual via Monkeez. This is a two player game built on top of random number generation with the ultimate goal being to have a higher score than your opponent and win the tokens.

At this point in time, only Zoogz may engage in battle against each other.

Mechanics

In order to play, two players are required for a battle. The first player initiates the battle with one of their chosen Zoogz, a chosen amount of $MNKZ, and an RNG method. We will cover the RNG methods in detail below. This battle instance is added to the queue and remains active until the player decides to cancel or the battle is accepted by another player. Each battle requires 2 energy points for the chosen Zoog.

A Zoog can only be in one battle at a time

The $MNKZ to play is transferred to the contract when the battle instance is created. If a battle is canceled, the player is refunded the $MNKZ in full.

When the battle instance is accepted, the battle functionality begins on chain where player's scores are calculated and compared. A player's score is made up of 3 metrics:

  • 20 sided dice roll

  • Chosen stat for comparison

  • Type advantage

Dice Roll

The dice roll aspect of the player's score is simple. Both players roll a 20 sided dice on chain using one of two RNG methods to get a random number between 1-20. That number is directly added to the player's score.

RNG Method

Players may choose one of two methods for RNG calculation on battle creation:

  • RNG by Chainlink VRF

  • RNG by on-chain pseudo-randomness

Both methods produce random numbers used in calculation, however given the verifiable nature of an EVM blockchain, producing random numbers has historically been difficult and third parties such as Chainlink are needed in order to get a verifiably random number. Some may not care as $MNKZ is an ecosystem token, but some might and so we present this hybrid model allowing the user to decide. Players creating battles choose which RNG method they will use on creation, and if they choose to use VRF, they must also fund the subscription with 0.02 $LINK. Players that accept VRF battles must also pay this $LINK fee as well.

Stat Comparison

The second step in score calculation is stat comparisons - what these Zoogz have been training for. The same stat is compared between both Zoogz, so aggression vs. aggression, smarts vs. smarts, etc. To get the stat points to add, a random stat is chosen and then divided by 5 giving a point for every 5 levels.

For example, if you have a Zoog with a level 28 aggression and aggression is chosen as the chosen compared stat, you would have 5 points added to your score for this battle.

Type Comparison

All Zoogz have types, and each of these 4 types has an advantage and disadvantage to others, looking at the figure above. If a player's Zoog has a type advantage to their opponent's Zoog, 1 additional point will be added to their score.

Winning

Using these metrics above, the player with the highest score wins. The maximum score a player can roll is a 40:

  • 20 from the dice roll

  • 19 from a stat of 99

  • 1 from a type advantage

The total amount of $MNKZ for the battle will be transferred to the winner's wallet on the completion of the battle and energy points are drained. In the event of a draw, both players are refunded their $MNKZ in full.

A 2% tax is taken for the team for other use cases

Players are given a breakdown of the battle and score make-up when the battle is complete.

Last updated