Git Product home page Git Product logo

pokerchain's Introduction

PokerChain

Members

  • 6330104021 Charnkij Suksuwanveeree
  • 6330563421 Akira Sitdhikariyawat
  • 6330585221 Akkharawat Burachokviwat
  • 6331324021 Punya Gunawardana

Description

Our project aims to revolutionize online poker by introducing a blockchain-powered platform, addressing the trust and transparency issues prevalent in traditional centralized poker systems. This innovative approach utilizes smart contracts for guaranteed fair play and transparent card distribution. Every game detail is indelibly recorded on the blockchain, ensuring permanent, transparent records and robust anti-collusion measures. By leveraging the strengths of blockchain technology, such as its immutability and decentralization, our platform provides a secure, trustless gaming environment, superior to conventional online poker platforms.

Note: The design of this poker platform incorporates adjusted rules, intended mainly for educational use. Its primary aim is to showcase the capabilities and applications of blockchain technology in the realm of online gaming. While integrating the smart contract with the user interface, minor errors or glitches may occasionally occur. Nonetheless, the smart contract underpinning the game's logic is fully operational and serves to demonstrate its functional aspects.

Details

  • Poker Smart Contracts: All the poker game logic is managed on this component. Inside this component, there will be main-v2.sol which manage all game logic and utils.sol which is a library that manage all card logic (check winning hand, determine winning pattern etc.)
  • NFT Smart Contracts: This component manage NFTs within the application.
  • Frontend: The GUI to interact and with the poker game logic and play is managed within this component.

Deployment & How to run

Game Logic

  • Upload both main-v2.sol and utils.sol to Remix IDE, compile with enable optimization option as on and then deploy the main-v2.sol contract.
  • Put the deployed contract address into the following line in contract.tsx and add contract's ABI to the same folder.
  • This component can be deployed alone on Remix IDE to easily test the functionalities of this Poker game.

NFTs

Frontend

  • run the following command in order
> cd frontend
> npm i
> npm start

pokerchain's People

Contributors

earthakkharawat avatar charnkijcu avatar s1xz avatar akirasitdhi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.