This simulator not only allows you to play your favorite video poker variants, but also provides detailed analysis for each hand to learn optimal play. It features an auto-play mode to observe trends and statistics over thousands of hands, enhancing your gaming and learning experience.
To play online, visit https://poker.fnt.hm
For local development, follow the instructions:
Like most JavaScript/TypeScript projects, you'll need Node.js installed.
For package management, yarn is recommended for its efficiency and better management capabilities: npm i -g yarn
- Clone the Repository:
git clone https://github.com/mfantham/video-poker-simulator.git
- Install Dependencies:
yarn install
- Starting the App:
yarn start
- Testing Coming Soon: Integration of Jest and react-testing-library for robust testing, along with Codecov for code coverage analysis. See my other projects for an example.
This project is built using React and TypeScript, utilizing create-react-app as a foundation.
This project uses WebGPU for parallel computation of hands, which is a cornerstone of the application's performance capabilities. This is new, experimental web technology, and is unfortunately not supported on mobile yet. However it works natively with Windows/Mac Chrome 113+. Check if your favorite desktop browser requires a flag: caniuse webgpu?
See this project's WebGPU code here
This project is open-sourced under the MIT License.