THE PROBLEM WITH ONLINE GAMES
Traditional online games are centralized by nature. The game operators control the servers and, therefore, possess the power to influence the game outcomes. Although it's expected that these operators follow a set of ethical practices, it's impossible to confirm from an external perspective whether the outcomes are genuinely fair and random.
For instance, in traditional online Bingo, when the game host draws the numbers, it happens behind the scenes on a centralized server. The server uses a Random Number Generator (RNG) to decide the outcome. However, this mechanism isn't transparent to the players, and the RNG algorithm can potentially be manipulated by the operators to favor specific outcomes.
In short, traditional online Bingo games suffer from:
1. Lack of transparency: Players can't verify the randomness of the drawn numbers or the card they receive.
2. Potential for manipulation: Game operators can influence the RNG to bias the outcomes.
3. No verifiability: Players can't verify or audit the process for fairness and randomness.
JAMMY:
A BLOCKCHAIN-BASED SOLUTION
Jammy is a smart-contract-based game that operates on the Polygon blockchain. By leveraging blockchain technology, Jammy aims to address these issues and provide a transparent, fair, and verifiable gaming experience. We use Chainlink VRF 2.0 as the randomness source, which ensures that our game outcomes are not only provably random but also independently verifiable.
CHAINLINK:
GUARANTEEING FAIRNESS AND VERIFIABILITY
Chainlink's Verifiable Random Function is a cornerstone technology designed to inject provably fair and verifiable randomness into smart contracts, making it an ideal solution for blockchain-based games like Jammy. Here's how Chainlink VRF guarantees fairness and verifiability:
1. Provable Fairness through Randomness
At its core, Chainlink VRF is a provably fair and verifiable RNG. It combines block data that is still unknown when the request is made with the oracle node's pre-committed private key to generate a random number and a corresponding cryptographic proof.
What sets Chainlink VRF apart from other RNG methods is its "provable" quality. In traditional systems, an RNG's randomness claim is often taken on trust. In contrast, Chainlink's VRF provides cryptographic proof that the random number it generates is indeed randomly derived according to the prescribed process. This proof can be checked and verified by anyone using the oracle's public key.
2. Ensuring Tamper-Proof Processes
The strength of Chainlink VRF lies in its cryptographic proof, which is resilient against manipulation. The VRF works in such a way that any deviation from the correct process (e.g., tampering with the RNG to produce a favorable outcome) will result in a proof that does not verify correctly when checked against the oracle's public key. This makes the random number generation process tamper- proof, ensuring that game outcomes remain fair and unbiased.
3. Transparency and Verifiability through Blockchain Integration
Chainlink VRF is built for integration with smart contracts on the blockchain. This allows the entire process - from the initial request for a random number to the generation of the number and its corresponding proof - to be recorded on the blockchain's public and immutable ledger. This transparency allows anyone to independently verify the process and outcome, instilling trust in the system's fairness.Moreover, Chainlink VRF's operations aren't hidden behind a central server but occur within the blockchain's public ecosystem. This eliminates the "black box" problem of traditional online games, where the processes are concealed from players.
In conclusion, Chainlink's VRF ensures fairness by providing tamper-proof, provably random numbers for game outcomes. It also enhances verifiability by recording every step of the process on the blockchain's transparent ledger. With Chainlink VRF, we've not only leveled the playing field but also given players the tools to verify it.
THE ROLE OF CHAINLINK IN JAMMY
In Jammy, VRF is used in two crucial ways to enhance the gaming experience:
1. Card Allocation
When a player buys a card, the smart contract sends a request for a random card seed from Chainlink's VRF. Once this seed is returned, it's used to select a random card from the pool. If the player wishes to redraw, another seed is requested to choose a new card. This way, players can be sure they're receiving a truly random card, and no manipulation is possible.
2. Drawing numbers
The game engine, instead of being a centralized server, is the smart contract itself. When the game is started by the game host, it requests a random game seed from Chainlink's VRF. Once returned, this seed is used to draw random numbers from 1 to 75, determining the winners of the game. This ensures the fairness of the game, as the number drawing is random and verifiable by all players.
VERIFYING THE GAME
In an effort to promote maximum transparency, fairness, and trust in our ecosystem, Jammy has made a commitment to open-source. The source code of Jammy is publicly available, allowing anyone to delve into the mechanics of the game, understand its functions, and verify its fairness.
This openness and transparency is fundamental to blockchain technology's promise of decentralization, and in the case of Jammy, it's key to ensuring the public can validate every game's result independently.
The main advantage of being open-source is that it enables public auditing. It means that anyone can inspect the codebase and confirm whether the processes are executed as claimed. It eliminates any chance of hidden code manipulating the game outcomes and ensures that the rules of the game are clear, transparent, and unbiased.
In the context of our game, anyone can replicate the process of drawing numbers starting from the random seed. To explain this process more clearly, let's break it down:
1. Acquisition of the Seed: When a game starts, our smart contract requests a random seed from the VRF, which is then recorded on the blockchain. This seed is publicly accessible through blockchain explorers like Polygonscan.
2. Number Drawing Process: Using the random seed, the game draws random numbers from 1 to 75. This is done using our open-source smart contract, which anyone can examine on blockchain explorers. The logic of this function is transparent and replicable by any interested party.
3. Transaction Verification: The results of each game, including the drawn numbers, are stored as transactions on the blockchain. These transactions are also publicly available and can be viewed by anyone using blockchain explorers.
By using the open-source code and the publicly available seed and transaction records, anyone can recreate the process by which numbers were drawn in any given game. They can ensure the game's execution aligns with the provided randomness seed, verify the integrity of the game, and confirm that the numbers weren't rigged or manipulated in any way.
This level of transparency and openness, where both the source code and transactions are open to anyone, provides a layer of accountability to Jammy that's unmatched by traditional online games. It places power back into the hands of the players, ensuring they're participating in a game that values fairness, transparency, and trust above all else.
CONCLUSION
Jammy provides an enhanced and trustworthy experience for players. The players can verify the fairness of the game, confirming that there's no hidden manipulation. The transparency offered by Jammy allows players to enjoy the game with peace of mind, knowing that they're in a fair playing field. This enhances player satisfaction and trust in the game, contributing to a more positive gaming experience.
By integrating Chainlink's VRF, Jammy provides a solution to the issues plaguing traditional online Bingo games. It offers an environment that is transparent, fair, and verifiable, enhancing player trust and overall gaming experience. Blockchain