🔐Security and Fair Play

Smart Contract Security

Pikes Arena's integration with the Tezos blockchain ensures a secure, transparent, and automated gaming experience, particularly in our Battle Royale Mode. The smart contract governing this mode is designed with several layers of security to protect you and maintain the integrity of the game.

Contract Structure and Workflow

  1. Joining the Lobby:

    • When you opt to join the Battle Royale Mode, you click the "Battle Royale" button and connect your Tezos wallet.

    • A join_lobby function call is initiated, prompting you to sign a transaction to stake the entry fee of 1 $XTZ.

    • Once the transaction is signed, your wallet address is stored in the contract's storage map, confirming that the entry fee has been staked.

  2. Starting the Game:

    • When the lobby reaches the required number of players (e.g., five), the server’s admin wallet calls the start_game function.

    • This function passes the wallet addresses of the players and an arena ID as parameters.

    • The contract logic verifies that all provided addresses have staked the entry fee.

    • Upon verification, the contract creates a mapping in its storage, associating the arena ID with the participating wallet addresses.

  3. Settling the Game:

    • At the end of the match, the server calls the settle_game function, providing the arena ID and the winner’s wallet address.

    • The function's logic deducts a predefined house cut from the total prize pool.

    • The remaining prize amount is transferred to the winner’s wallet.

    • The contract then updates the status of the specific arena ID to "settled" in its storage.

Security Measures

  • All your data and transaction details are encrypted to protect against unauthorised access.

  • Only authorized addresses can trigger specific functions such as start_game and settle_game.

  • The Tezos blockchain's immutable nature ensures that all transactions and game outcomes are permanently recorded and cannot be tampered with.

  • The smart contract undergoes regular security audits to identify and mitigate potential vulnerabilities.

  • Built-in safeguards ensure that any unexpected behaviors or anomalies trigger automatic responses to protect the integrity of the game and its participants.

Fair Game

At Pikes Arena, fairness is at the core of our gameplay philosophy. We are committed to providing an equal and competitive environment where your skill and strategy determine success, not financial investment or other external factors.

Equal Abilities and Attributes

  • Uniform Capabilities: Everyone has the same abilities and attributes in every game mode. There are no advantages based on player status, experience, or spending.

  • No Pay-to-Win: You cannot purchase in-game advantages. The only items available for purchase are cosmetic skins that do not affect gameplay. This ensures that the game remains balanced and fair for all participants.

Skill-Based Competition

  • Level Playing Field: Every match starts with you and your opponents on equal footing. Your success depends on your ability to outmaneuver and outsmart your opponents.

  • Strategic Gameplay: Mastering the game’s mechanics, such as the dash/leap skill and efficient food collection, is key to gaining an edge over your rivals.

  • Community Focus: By fostering a community where everyone competes on equal terms, we create an environment that celebrates skill, strategy, and fair play.

At Pikes Arena, we believe that everyone should have an equal chance to succeed based on their abilities. Join us in the arena and experience a game where fairness and competition go hand in hand. Your skills are your greatest asset—let them shine!

Last updated