๐ŸŽฎRandomness Source

Within The Core

Oracle Is The Main Source

We have chosen to integrate Chainlink as the primary source of randomness for determining the outcomes of all our games.

This strategic decision serves to bolster the integrity of our platform by mitigating the risk of manipulation.

Unlike relying on traditional APIs, Chainlink offers a decentralized and tamper-proof solution, ensuring that game results are fair and transparent.

By leveraging Chainlink's decentralized oracle network, we uphold the highest standards of integrity and trust within our gaming ecosystem.

This approach not only enhances the security of our platform but also reinforces our commitment to providing users with a truly reliable and trustworthy gaming experience.

Randomness Logic

Integration of Player Activity and On-Chain Data

  • Our game seamlessly integrates player activity with upcoming on-chain data to ensure fairness and unpredictability in every round.

  • We rely on the projected price of the LINK token obtained from Chainlink Oracle.

  • Moreover, player bets significantly impact the randomness of each round, injecting dynamism and excitement into the gameplay.

Generation of Random Numbers for Each Dice

  • To guarantee truly random outcomes, we create a unique seed using four key components:

    • gameId: A sequential identifier that evolves with each game.

    • price: The projected price of the Link token retrieved from the Oracle in the future (e.g., for the upcoming two games).

    • avgBetAmount: The average amount of tokens wagered by players in the ongoing round, calculated as the total sum of bets (both low and high) divided by the total number of players.

    • diceIndex: The index of the dice, ranging from 0 to 2.

  • By amalgamating these elements, we formulate a seed that directly influences the outcome of each dice roll, ensuring genuine randomness.

Simulation of Dice Rolls

  • Each dice roll produces values between 1 and 6.

  • These values collectively determine the outcome of the round, reflecting a harmonious blend of player participation and market dynamics.

Outcome

  • After the completion of the dice rolls, we compute the total score by summing the values of all three dice.

  • Depending on the total score, players may achieve victory based on predefined criteria such as "Low" or "High" ranges.

Example

Betting Phase in Game 1

  • Small bets: User1 wagers 3 tokens, while User2 bets 9 tokens.

  • Big bets: User3 bets 4 tokens, User4 bets 5 tokens, and User5 contributes 2 tokens.

Note: During this round, the total number of participants and their respective bets are prominently displayed.

Result Calculation (Deferred until Game 3)

The outcome of Game 1 will be disclosed in Game 3, considering the following factors:

  • Game ID: A unique identifier (1 in this case).

  • Link Token Price: The prevailing price of the Link Token at Game 3 (e.g., $17.92).

  • Average Bet Amount: Computed by summing all small and big bets and dividing the total by the number of participants in each round. Formula: (Total Small Bets + Total Big Bets) / (Number of Small Bettors + Number of Big Bettors) Example: (3 + 9) + (4 + 5 + 2) / (2 + 3) = 14.2

  • Dice Index: Differentiates between the rolls of each dice (0 for Dice 1, 1 for Dice 2, and 2 for Dice 3).

Three dice rolls are generated for Game 1, ensuring fairness and unpredictability through the cryptographic hash function Keccak256, which factors in: Formula: Dice Value = (Keccak256(GameId, Link Token Price, Average Bet Amount, Dice Index) % 6) + 1

The modulo operator (%) extracts the dice roll value from the hexadecimal number generated by Keccak256, ensuring outcomes within the desired range (1 to 6).

Example Result

Using the above formula, the dice rolls yield:

  • Dice 1: keccak256(1, 17.92, 14.2, 0) % 6 + 1 = 2

  • Dice 2: keccak256(1, 17.92, 14.2, 1) % 6 + 1 = 1

  • Dice 3: keccak256(1, 17.92, 14.2, 2) % 6 + 1 = 4

Consequently, the total score amounts to 7. As per the betting rules, users who placed bets on the small category emerge victorious.

  • Keccak256 Property: Keccak256 is a hash function recognized for its sensitivity to changes in input data. Even minor alterations result in entirely distinct outputs, thereby ensuring fairness.

Summary

By merging player activity with on-chain data, our game guarantees fairness and transparency, delivering an exhilarating and unpredictable gaming experience.

Players can have full confidence in the authenticity of game results, knowing that they are derived from a verifiable and immutable source.

In essence, our utilization of Chainlink as the randomness source for game results underscores our dedication to fairness, security, and trustworthiness.

It's a testament to our unwavering commitment to providing users with a gaming platform that they can rely on and enjoy with complete peace of mind.

No Game Revenue

Pamp Da Coin operates on a unique ethos that sets it apart from conventional gaming platforms: We've intentionally designed our system to avoid generating revenue through games.

This deliberate decision not only underscores our commitment to fairness and transparency but also eradicates any motivations for manipulating game outcomes or data.

By prioritizing user experience and community engagement over profit, we've created an environment where every player can participate with confidence, knowing that their interactions are guided by integrity and trust.

The Game Pot acts as the central hub for aggregating all player contributions and distributions from the App Incentive Fund. These contributions are divided as follows:

  • 80% allocated to winners, they will also will receive 100% of their initial capital back in each round, separate from their winnings.

  • 18% collected from losers and the fund to be burned

  • 2% collected from losers and the fund to be settled to network and oracle fees

  • Notably, the team does not receive any portion of these contributions.

๐ŸฏpageGame Pot

This approach not only safeguards the integrity of our platform but also fosters a sense of camaraderie and shared ownership among our user base.

Our commitment to revenue neutrality aligns perfectly with our overarching goal of encouraging user participation.

When players know that their actions directly contribute to the acceleration of token burning, they're more inclined to engage actively in our games and ecosystem.

This heightened level of participation not only benefits token holders by increasing the scarcity and value of the token but also strengthens the overall resilience and vibrancy of our community.

In essence, by eschewing revenue generation and prioritizing user participation, Pamp Da Coin embodies a new paradigm in gamingโ€”one that's built on principles of fairness, transparency, and community empowerment.

It's this unwavering dedication to our users' interests that sets us apart and drives us forward on our mission to create a gaming experience that's truly rewarding for everyone involved.

Last updated