Poker Peak: "Trust the CHAIN, feel the Game"
We are creating online poker card game which streamlines transactions and ownership of stakes and promote transparency and trust with blockchain for player autonomy, fairness, and security.
Created on 10th February 2024
•
Poker Peak: "Trust the CHAIN, feel the Game"
We are creating online poker card game which streamlines transactions and ownership of stakes and promote transparency and trust with blockchain for player autonomy, fairness, and security.
The problem Poker Peak: "Trust the CHAIN, feel the Game" solves
Poker Peak: Transforming Gaming Dynamics
The existing online poker game has two major problems , one of it is that the underlying algorithm to create randomness might be rigged and the other one is ownership of assets, The current system expects user to submit/transfer assets to the system, so technically they loose ownership , if ever system turns mallacious then users loose control over their assets.
Our innovative project offers users the ability to truly own their stakes, ensuring autonomy and control over in-game assets. By incorporating blockchain technology, Pulse Poker not only guarantees fair and transparent gameplay but also eliminates suspicions of bots and rigged algorithms along with enhancing security, making transactions and player data safer than ever before.
Tasks Enhanced through Pulse Poker:
- Decentralized Ownership: Utilizing blockchain, users can control stakes independently, bypassing centralized authority.
- Fairness with Smart Contracts: Smart contracts ensure unbiased gameplay, eliminating bot manipulation or rigged algorithms.
- Security Assurance: With robust blockchain security measures, Pulse Poker enhances overall security, ensuring the safety of transactions and player data for a secure gaming environment.
- Streamlined Transactions: Pulse Poker simplifies financial transactions, making deposits, withdrawals, and in-game purchases seamless. This streamlining enhances the overall gaming experience for users.
Challenges we ran into
- Since we opted for the web3 approach to integrate the immutability and transparency of the system. During that, the integration of the card deck would have led to a breach of card information since everything on the chain is open to all. To confront that situation, we used a commit-reveal protocol where we commit the encrypted deck on the chain, while keeping the private key secure during the game. After the game, this private key is being revealed on the chain for lateral confirmation on the deck.
- Handling the state of the game on the chain, which depends on the transactions of users, was the biggest challenge. We implemented a state manager contract that also acts as an API (Application Program Interface). This state machine has predefined states (Resting loop 1, loop 2, loop 3, ended). These states are being changed depending on the input of users.
- During the architecture creation, initially, we opted to simply post an encrypted-shuffled deck on the chain. Later on, we introduced on-chain shuffling using an affine cipher which uses a quantum random number as its seed, and this QRNG is fetched from API3.
Technologies used