Skip to content

mfantham/video-poker-simulator

Repository files navigation

Video Poker Simulator

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.

Video poker

Getting Started

To play online, visit https://poker.fnt.hm

For local development, follow the instructions:

Prerequisites

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

Installation

  1. Clone the Repository:
    git clone https://github.com/mfantham/video-poker-simulator.git
  2. Install Dependencies:
    yarn install
  3. Starting the App:
    yarn start

Future Enhancements

  • 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.

Technologies

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?

WebGPU code

See this project's WebGPU code here

License

This project is open-sourced under the MIT License.

About

MF video poker simulator and handn analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published