Updated 139 days ago

MysticPool

This project aims to bring the classic game of 8 ball pool to the blockchain, allowing players to compete in a secure and transparent environment. By leveraging zero-knowledge proofs, players can verify game actions without revealing sensitive information, ensuring fair gameplay

MysticPool: The Enchanted 8 Ball Game

Welcome to MysticPool, where the classic game of 8 ball pool meets the enchantment of blockchain technology and zero-knowledge proofs (ZKPs). Dive into a world of magic and strategy as you compete against players from around the globe in this unique and secure gaming experience.

Features

  • Zero-Knowledge Proofs: Use ZKPs to verify your game actions without revealing sensitive information, ensuring fair gameplay.
  • Blockchain Security: Play with confidence on the blockchain, knowing that your game actions are secure and transparent.
  • Global Competition: Compete against players worldwide and climb the global leaderboard to prove your skills.
  • Immersive Gameplay: Immerse yourself in the enchanting world of MysticPool with stunning visuals and captivating sound effects.

All the Smart contracts are deployed and verified(on ScrollScan) with the contract addresses as follow:

BallPool.sol : 0x74586B4482e94EC89a030cf171886b61aB2cd665. TurnVerifier: 0x332C5Ce79F04a3FC44895eF21A7c6A505416dE13. PocketBallVerifier: 0xeAA57325e6fb04616346B83A355b0560975163E1. StateVerifier: 0x05a7bc653BC228dBAD8dF36Dd206bB42f0a40802. GameOutcomeVerifier: 0xAd5766018731A611628D9dBD5F04a0a4EBac7968.

How It Works

  1. Join a Game: Enter the mystical realm of MysticPool and join a game with players from around the world.
  2. Set Up Your Game: Arrange your balls on the table and prepare for an epic battle of wits and skill.
  3. Take Your Turn: Strategically hit the cue ball to pocket your balls and outmaneuver your opponents.
  4. Verify with ZKPs: After each move, generate and verify ZKPs to ensure the validity of your actions.
  5. Achieve Victory: Pocket all your balls and the 8 ball to achieve victory and earn your place on the global leaderboard.

Getting Started

To embark on your journey into the world of MysticPool, follow these steps:

  1. Install MetaMask: If you haven't already, install the MetaMask wallet to interact with the blockchain.
  2. Get MysticPool Tokens: Purchase MysticPool tokens to join games and compete for prizes.
  3. Join a Game: Choose a game to join and set up your game board.
  4. Play and Verify: Take your turns, generate ZKPs, and verify your actions for a fair and secure gameplay experience.
  5. Compete and Win: Compete against players from around the world, climb the global leaderboard, and earn rewards for your skill and strategy.

Technologies Used

  • Blockchain: Built on Ethereum for secure and transparent gameplay.
  • Smart Contracts: Solidity for writing smart contracts that govern game rules.
  • Zero-Knowledge Proofs: Utilizing Noir-lang for implementing ZKPs to verify game actions.
  • Frontend: Web3.js for interacting with the smart contracts and blockchain.