Skip to content

Solve simplified poker hands in a React UI, comparing von Neumann and Borel strategy solvers with pre-commit linting and Jest test coverage.

Notifications You must be signed in to change notification settings

robert-7/Simple-Poker-Solver-React

Repository files navigation

Simplified Poker Solver App using React

Simplified Poker Solver logo

Interactive React app that computes saddle points for classic simplified poker variants. Enter ante, bet, and deck size to compare the von Neumann and Borel strategy solvers and inspect the optimal betting decisions in the results table.

This project uses Vite.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm test

Launches the test runner (Vitest) in the interactive watch mode.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Docker

You can also run this application using Docker.

Prerequisites

Running with Docker Compose

  1. Build and start the container: docker compose up -d --build
  2. Open http://localhost:8080 in your browser.
  3. To stop the container: docker compose down

Learn More

You can learn more in the Vite documentation.

To learn React, check out the React documentation.

About

Solve simplified poker hands in a React UI, comparing von Neumann and Borel strategy solvers with pre-commit linting and Jest test coverage.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •