/BaroCasino---Solana

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Header BaroCasino is a revolutionary tournament DApp that leverages the power of Host to Earn to create a decentralized and accessible gaming experience. With BaroCasino, anyone can become a tournament host and participate in exciting competitions with real-world rewards.

For more info please read Deck

Features:

  • Decentralize Gameblefi - On-chain Baccarate
  • Built on the Solana

Technologies:

  • Anchor
  • Next.js
  • Unity

Getting Started:

To get started with BaroCasino, you will need to have the following installed: Node.js Yarn Once you have installed the required dependencies, you can clone the BaroCasino repository from GitHub:

git clone https://github.com/chile109/BaroCasino---Solana.git

Once you have cloned the repository, you can go react-unity folder and install the project's dependencies:

npm i
or
yarn install

To start the React web application:

npm run dev
yarn dev

How to Play Barocasino - Baccarate?

game

  1. Click the "Init Baccarat" button and sign the transaction to create your bet PDA account on the chain for gameplay.
  2. All tournament players begin with 10,000 chips to wager.
  3. Choose your chip type from the bottom menu.
  4. Place your chips on your chosen bet area (player/tie/banker) by clicking.
  5. Confirm your bet by clicking the check button at the bottom right and sign the transaction.
  6. Await the poker result showdown and claim your reward.

Demo video: https://www.youtube.com/watch?v=Td0O9NqJeyA

Deployed Contracts:

Baccarate Game Repository Link

Concept:

Project Structure

BaroCasino offers a unique decentralized platform for hosting and participating in gaming tournaments. The platform's architecture is designed to accommodate two main roles: Tournament Creators and Tournament Players, facilitating a seamless flow from the creation of a tournament to the distribution of rewards.

Roles

Tournament Creators:

Tournament Creators are the backbone of the BaroCasino ecosystem. They initiate tournaments by creating candy machine NFTs, which serve as membership tickets for players to buy and participate in the tournaments. The process for Tournament Creators involves:

  • Creating NFTs: These NFTs act as access tokens for the tournaments. Creators decide the terms, rewards, and structure of the tournaments.
  • Hosting Tournaments: Once the NFTs are minted, creators can set up tournaments on the BaroCasino platform, inviting players to join and compete. Tournament Creation flow

Tournament Players:

Players engage with the platform by participating in these tournaments. Their journey within the BaroCasino ecosystem involves several steps:

  • Purchasing NFTs: Players buy NFTs from the marketplace, granting them membership and the ability to join tournaments.
  • Participating in Tournaments: Using their NFTs, players enter tournaments, compete, and aim for the top positions to win rewards.
  • Claiming Rewards and NFTs: At the end of a tournament, players can claim their rewards along with their staked NFTs, which can be reused for future tournaments or traded. User Flow

Todo:

  • Decentralized tournament hosting
  • NFTs as tournament tickets

License: BaroCasino is licensed under the MIT License.