Skip to content

samzkback/poker-evaluate

Repository files navigation

Poker-Evaluator

this repo is based on poker-solidity, with several fixs to make 7-card evealute sanity test works.

Algorithm

Javascript Version

Setup

npm install
npx hardhat run scripts/poker-evaluator.ts

Gas

  1. flush : 77K
  2. no-flush : 135K

TODO

  1. split contract to deploy on real network.
  2. compile optimizer need long time.
  3. same rank compare
  4. sanity test 100% coverage
  5. theortical understand of the algo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published