{"id":49135392,"url":"https://github.com/whywaita/wasm-icm-calculator","last_synced_at":"2026-04-21T21:09:46.601Z","repository":{"id":343293189,"uuid":"1176792129","full_name":"whywaita/wasm-icm-calculator","owner":"whywaita","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-09T20:20:33.000Z","size":485,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-09T23:17:08.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://whywaita.github.io/wasm-icm-calculator/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whywaita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["whywaita"]}},"created_at":"2026-03-09T11:34:56.000Z","updated_at":"2026-03-09T20:20:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/whywaita/wasm-icm-calculator","commit_stats":null,"previous_names":["whywaita/wasm-icm-calculator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/whywaita/wasm-icm-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fwasm-icm-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fwasm-icm-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fwasm-icm-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fwasm-icm-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whywaita","download_url":"https://codeload.github.com/whywaita/wasm-icm-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fwasm-icm-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32110271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-21T21:09:41.056Z","updated_at":"2026-04-21T21:09:46.593Z","avatar_url":"https://github.com/whywaita.png","language":"Rust","funding_links":["https://github.com/sponsors/whywaita"],"categories":[],"sub_categories":[],"readme":"# WASM ICM Calculator\n\nA browser-based ICM (Independent Chip Model) calculator for poker tournaments. All computation runs client-side via WebAssembly — no server required.\n\n![Full page with results](docs/screenshots/full-page-with-results.png)\n\n## What is this?\n\nThe [Independent Chip Model (ICM)](https://en.wikipedia.org/wiki/Independent_Chip_Model) converts chip stacks into dollar equity in poker tournaments. This tool calculates ICM equity for standard, bounty knockout, and progressive knockout (PKO) tournaments — entirely in your browser.\n\nUnlike existing tools, this calculator is **free, open-source, and runs 100% client-side**. No data is sent to any server.\n\n## Features\n\n- **Standard ICM** — Exact Malmuth-Harville calculation (up to 20 players) with Monte Carlo approximation for larger fields (up to 50)\n- **Bounty Knockout** — Expected bounty equity based on stack-proportional knockout probabilities\n- **Progressive Knockout (PKO)** — Bounty inheritance modeling with configurable inheritance rate\n- **Breakeven Analysis** — Compare ICM equity against entry fee to see if your position is profitable\n- **ICM Pressure Curve** — Visualize the diminishing marginal value of chips\n- **Internationalization** — English and Japanese\n- **CSV Import** — Paste or import player data from CSV\n\n## Try It\n\n**[Open the calculator](https://whywaita.github.io/wasm-icm-calculator/)**\n\n## Getting Started (Development)\n\n### Prerequisites\n\n- [Rust](https://rustup.rs/) with `wasm32-unknown-unknown` target\n- [wasm-pack](https://rustwasm.github.io/wasm-pack/)\n- [Node.js](https://nodejs.org/) (v20+)\n\n### Build\n\n```bash\n# Add WASM target\nrustup target add wasm32-unknown-unknown\n\n# Build the WASM engine\nwasm-pack build icm-engine --target web --out-dir ../web/pkg\n\n# Install web dependencies\ncd web \u0026\u0026 npm ci\n\n# Start dev server\nnpm run dev\n```\n\n### Test\n\n```bash\n# Rust engine tests\ncd icm-engine \u0026\u0026 cargo test\n\n# Web frontend tests\ncd web \u0026\u0026 npm test\n```\n\n## Tech Stack\n\n| Component | Technology |\n| :--- | :--- |\n| ICM Engine | Rust, compiled to WASM via `wasm-pack` |\n| Web Worker | Runs WASM off the main thread |\n| UI | Preact + Vite |\n| Charts | Chart.js |\n| Hosting | GitHub Pages (auto-deployed on push to `main`) |\n\n## Documentation\n\n- [Usage Guide](docs/usage-en.md) — Detailed guide for breakeven analysis, charts, and pressure curves\n- [Design Document](docs/design.md) — Architecture, algorithms, and data models\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n\n## License\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fwasm-icm-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhywaita%2Fwasm-icm-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fwasm-icm-calculator/lists"}