not approved
cPoker development
Current Project Status
Unfunded
Amount
Received
₳0
Amount
Requested
₳300,000
Percentage
Received
0.00%
Solution

Develop cPoker, a decentralized poker solution with UI, smart contract integration, and real-time protocol, providing a full working game

Problem

Online poker is an industry worth ~100 Bn$. We are the only Project in Cardano envisioning a decentralized, non-custodial Poker application. How can we tap into this potential?

Impact Alignment
Feasibility
Value for Money
Impact Alignment
Feasibility
Value for Money
cPoker development

Please describe your proposed solution

We are developing cPoker, a decentralized poker game on the Cardano blockchain. This solution addresses the lack of decentralized poker options, providing a fair, transparent, and trustless gaming experience.Our project engages present and future Cardano community members by providing a new, exciting way to use the ADA token and the wider gaming community by offering a fair and secure poker platform.

This project reuses two of our previous projects: "Cardano After Dark - Hold’em poker", and "DRED - Decentralized REDis State Channel", along with the output of our submission for the Emurgo hackathon: "zk-poker", as a base for a PoC, simulating three decentralized poker agents interacting through a state channel: executing a three-players poker hand.

PoCs

We have developed two Proof of Concepts (PoCs) progressively to demonstrate our project's key functionalities:

  • Command Line PoC: The PoC serves as an integration test for the cryptographic module, group encryption/decryption, poker logic, and communication protocols.
  • WebApp PoC: this PoC integrates the basic modules into a web application, providing a preliminary view of how the final application may look. Please note that the final UI will differ from this PoC.

PoC for the purpose of review: we recommend focusing on the WebApp PoC:

  • Access the PoC here: <https://tinyurl.com/cpoker-poc>
  • See the Interaction logs: to observe the interactions between decentralized agents (application, cryptographic, and communication logs), run the PoC in your browser, press F12 to open developer tools, and check the Javascript Console.

To aid in understanding, we have included a video explaining the PoC's functionality and highlighting the critical aspects of the poker protocol and interactions with decentralized agents (dAgents). Watch the video below:

<https://www.youtube.com/watch?v=nk4mnFuO4dM>Solution

Starting from the above PoCs, we're building an interactive, real-time, decentralized app, which will allow to play non-custodial poker through the Cardano blockchain.

We have developed a detailed user acquisition and engagement plan to attract and retain players from existing platforms. This includes targeted marketing campaigns, partnerships with poker influencers, and community engagement events. We will also offer onboarding sessions to gather user feedback and refine the game for optimal UX.

We will define clear metrics for success and impact, such as user growth, transaction volume, and community engagement. These metrics will be monitored and reported regularly to ensure transparency and accountability.

Once the project is finished, we will present the product both to the Cardano community and to the general public. The impact will be demonstrated by the number of users using the application and on the total value of ADA or test-ADA played on the contract.

Another relevant impact factor for the team is the reuse of public code / infrastructure to create other real-time applications on Cardano, which will be measured by the number of interactions with other teams, and by the number of applications using the state channel infrastructure.

Please define the positive impact your project will have on the wider Cardano community

Positive Impact on the Cardano Community

Our project is a unique poker application for the Cardano blockchain that will significantly enhanche the community by:

  • Increasing user engagement: our application will attract a new segment of users, boosting the total value locked (TVL) on the Cardano blockchain and enhancing its utility for a broader audience
  • Setting a precedent for real-time dApps: our project will serve as a concrete example for future developers, showcasing the potential of interactive, real-time decentralized applications (dApps) on Cardano

Measuring impact:

We will measure the success and impact of our project through a combination of metrics:

  • Quantitative metrics:
  • Completion of a fully functional poker dApp.
  • Number of active users engaging with the dApp. Success would be having 100 users one month following the release, and 1000 users six months after.
  • Number of transactions within the game. Success would be having &gt; 20 000 transactions in the month following the release, and &gt; 200 000 transactions by six months after the release.
  • Sustainable revenue generation for the project treasury and contributors, that can be reinvested. Success would be being able to generate at least 25k ADA / month, starting from six months after the release.
  • Growth in the TVL on the Cardano blockchain: success would be to have surpassed 500 000 ADA in value locked six months after the release, and still having the application user-base grow rapidly (e.g. increase 10% to 30% month-over-month).
  • Qualitative metrics:
  • Community feedback and engagement levels. Success would be having good feedback, and high engagement levels.
  • User feedback gathered during onboarding sessions. Success would be to have mostly positive feedbacks (to be delivered along with closeout reports)

Sharing outputs and opportunities:

We will share the result and the opportunities arising from our project with the community, through various channels to ensure maximum visibility and engagement:

  • Community updates:
  • Regular updates on our Twitter, Discord, and Website, and during ATH (After TownHalls) sessions, to keep the community informed about progress and milestones.
  • Open source contributions:
  • The project, once completed, will be publicly available, except for core business modules holding cryptographic and communication features. This will encourage transparency and collaboration.
  • Educational Initiatives:
  • Organizing workshops and webinars in collaboration with Cardano's developer community to share our knowledge, discuss our solutions and promote further R&amp;D in decentralized multi-player games and interactive dApps

Future impact and innovation:

The output of this project will be used in future R&amp;D activities, driving innovations in areas such as:

  • Gaming: Enhanching interaction in decentralized gaming applications.
  • Decentralized Governance: Exploring new possibilities in decentralized decision-making processes.

By leveraging the knowledge and outputs from this project, we aim to stimulare further advancements and explore new applications, continuously adding value to the Cardano community.

What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?

Our Capability to Deliver can be demonstrated by what we have already done, what we are doing, how we are working together, and by the reputation of the team members:

  • we developed DRED, a foundational library at the core of this proposal. The DRED project was managed and successfully delivered by this same team.
  • we are developing a commercial gaming application using DRED, of which we have a working PoC.
  • The team is capable, meets regularly, and has a good track record of github commits, and of published documentation and videos for the current projects.
  • We already worked in other Cardano projects, and we are technically ready to take the challenge.
  • We work on this project for more than a year. We know the technical challenges well because we put our own resources to work on this project.
  • Our team members are well-known in the community, joining and organising community events on a regular bases for years by now. In the past, we also organized and participated in Challenge Teams, such as the Open Source CT.

The feasibility of our approach is validated according to:

  • Scientific approach: We started from Kaleidoscope and ROYALE (IOG funded research papers), and we proceeded by steps that we can reproduce, understand, explain, and innovate beyond the limits of the papers.
  • Incremental progress: we broke down the problem in subproblems, which makes it easier to solve different aspects: Cardano After Dark for Poker UI ; DRED to implement a State channel, zkpoker: to enable zk-proof of validity, and our latest PoC demonstrating we can perform a TEG-Shuffle and run a poker protocol with encrypted cards.
  • Pragmatic approach: incremental testing during development, incremental assessment of the deliverables for the project milestones

Risk Management:

  • Technical Challenges: Mitigated by iterative testing and community feedback sessions.
  • Resource Allocation: Our wide network of Cardano enthusiasts and professionals mitigates the risk of having to replace teammembers. Our contingency plan also includes cross-training and informing team members on critical tasks and workloads.
  • Community Engagement: Regular updates and feedback loops to ensure alignment with community needs.

What are the key milestones you need to achieve in order to complete your project successfully?

Milestone 1: M1: Integration of ElGamal Threshold Encryption (1 month)

Threshold ElGamal encryption, as presented in the Kaleidoscope paper, enables a decentralized poker game by distributing private keys among players. This ensures secure and fair card distribution and decryption, preventing any single player from gaining an unfair advantage.

  • Milestone Outputs:
  • Integration of ElGamal threshold encryption.
  • Acceptance Criteria:
  • Successful test of ElGamal threshold encryption demonstrating group-cryptography capabilities.
  • Evidence of Milestone Completion:
  • Test results and reports validating the integration of ElGamal threshold encryption.

Milestone 2: M2 : UI and Smart Contract Integration (1 month)

This milestone involves integrating the DRED communication system with the dApp, which includes the UI. An initial integration of the smart contract will also be added, even if it does not yet have all the final functionalities.

  • Milestone Outputs:
  • Connection of poker game context with the UI
  • Partial implementation and integration of smart contract features.
  • Acceptance Criteria:
  • Demonstrated connection between poker game context and UI.
  • Showcased initial smart contract features.
  • Evidence of Milestone Completion:
  • Video demonstration of the integrated UI and poker game context
  • Report outlining the requirements and implementation details of the smart contract

Milestone 3: M3: Development of cPoker Application (2 months)

Progressive development of the application, including implementation of poker rules and risk analysis for poker operations.

  • Milestone Outputs:
  • Progressive development on cPoker application
  • Documentation of risks associated with building and operating a decentralized poker platform.
  • Acceptance Criteria:
  • Fully functional cPoker application with all poker rules.
  • Risk assessment document.
  • Evidence of Milestone Completion:
  • Source code of the public part of the dApp
  • Demonstration video showcasing the cPoker dApp functionalities
  • Risk assessment document

Milestone 4: M4: Completion of cPoker MVP and User onboarding (2 months)

This milestone is about completing the dApp, including smart contract functionalities, real-time communication, and in-game bets. It also cover the onboarding of alpha users.

  • Milestone Outputs:
  • Complete cPoker MVP with integrated smart contract, poker protocol, and real time communication.
  • alpha users onboarding
  • Acceptance Criteria:
  • Fully functional cPoker MVP with integrated in-game bets and smart contract.
  • Successful onboarding of initial users.
  • Identification and fixing of any bugs (if applicable)
  • Evidence of Milestone Completion:
  • Source code of the public part of the dApp, and smart contract
  • Demo video showcasing the complete cPoker MVP
  • User feedback reports from onboarding sessions.

Final Milestone: Project close-out and public release (1 week)

This milestone focuses on the delivery of the project closeout report and final communications, including the public release of the project.

  • Milestone Outputs:
  • Finalized version of the cPoker application (same as in M4), incorporating feedback from the alpha test
  • Acceptance Criteria:
  • Completion and public release of the cPoker dApp with integrated in-game bets
  • Launch of an alpha version on the testnet
  • Evidence of Milestone Completion:
  • Final Source code of the public part of the dApp, and smart contract.
  • Comprehensive demo video of the final cPoker MVP
  • Project close-out report and video

Who is in the project team and what are their roles?

P.Suzzi, Developer, SW Engineer - www.linkedin.com/in/psuzzi

  • Responsible for co-development of the dApp.

Jake G. - Developer, SW Engineer - <https://www.linkedin.com/in/jake-gonzalez-551306b4/>

  • Responsible for co-development, testing of the dApp, cryptographic research &amp; implementation as well as Scientific literature review.

Randall - Software architect, 20+ years exposure to cryptography, accounting, and application development - <https://www.linkedin.com/in/randall-harmon-aa52765/>

  • Designing the architecture and ensuring scalability and security of the system.

Seomon - Project Manager, IT Consultant, Cardano Ambassador

  • Managing the project-, timelines, milestones, alignment, reports and community engagement.

Please provide a cost breakdown of the proposed work and resources

Our budget calculation is based on a detailed analysis of team size ,location, and market rates, ensuring we maintain a budget in the average in our respective locations, and considering additional costs and possible risks.

Core Team Composition:

  • Team size: 4 members
  • Locations: U.S. (CA, TX), E.U. (AT, DE)
  • Total monthly expenditure: ADA 50k / month

Personnel costs:: ADA 40k / month

  • 1 Software Architect: 80h / month
  • 1 Project Manager: 80h / month
  • 2 Developers, each working 80h / month

Additional costs: ADA 10k / month

  • Infrastructure: covering server costs, sw licenses, and cloud services
  • Professional services: legal consultancy, code auditing through third party code reviews, and trainings where needed.
  • Publicity, marketing, community engagement: Activities aimed at promoting the project, incentivizing, and engaging with the community.
  • Contingency funds: 10% of the total, allocated for unforeseen circumstances such as increase in project complexity, team member replacements, market volatility.

Additional funding:

If the project exceeds the initial budget allocation and the contingency funds, alternative funding sources will be considered. This may involve requesting flexibility from the team, such as working additional hours without extra compensation.

  • For instance, if the work gets more complex, the team agrees upscaling the work from 50% FTE up to max 80% FTE.

Fund management:

With the amount requested, we can complete the project and cater for unforeseen circumstances, like team memner replacement or market volatility but we can hardly afford introducing an extra developer or smart contract developer unless we get multiple proposals funded. We are committed to properly managing the funds provided, adhering to the fund rules.

No dependencies

How does the cost of the project represent value for money for the Cardano ecosystem?

The project represents significant value for money, for several key reasons:

High potential user base:

  • The application targets the potential volume of 120M online poker players, which could significantly increase user adoption of Cardano.
  • This project serves as a demonstration of real-time interactivity for dApps, providing a model for future projects.

Carefully considered project costs:

  • Personnel Costs: ADA 240 k (40k/mo): covers compensation for a team of 4, working between 50% and 80% FTE for 6 months, at a reasonable price to attract and retain the talents needed for project success.
  • Additional Costs: ADA 60k: covers infrastructure costs, consulting fees, community engagement, contingency fund to cater for risk and market volatility.
  • Team costs below market rates, considering locations, roles, and skills required:
  • American Team Members: the average wages for contracting Sr. Software Engineers in the United States (e.g. California) are well above 10k USD/month (~22k ADA/month).
  • European Team Members: Wages in Europe (e.g. Germany), are around 6.5k EUR/month (~15k ADA/month).
  • This cost structure ensures we maintain high-quality work at a reasonable price.

Please understand that, even tho this undercuts our usual corporate salary, this is an amount we decided on and feel comfortable with.

Please, note also that we already worked on this project quite a bit, without getting funding, and we're aware that we can bring this project to completion only if we have adequate resources.

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00