Hacker News new | ask | show | jobs
Title: Show HN: Flopper – A web-based Texas Hold'em simulator (flopper.pages.dev)
2 points by ponyo877 445 days ago
2 comments

Hi HN,

I built Flopper, a simple web app for simulating Texas Hold'em hands and calculating odds: https://flopper.pages.dev

I was inspired after watching a popular Japanese poker YouTuber (World Wide Yokosawa) and noticed a relative lack of straightforward, accessible web-based tools for this compared to mobile apps. My goal was to create something quick and easy to use directly in the browser.

Flopper lets you:

- Add/remove players (up to 10) and edit their names. - Deal hands through preflop, flop, and turn stages. - See win probabilities (equity, including ties) calculated at each stage using the poker-odds-calculator library. - Automatically simulate the river card and determine the winner(s) after the turn betting round would notionally end. - Includes small visual cues like card flipping animations and highlighting winning hands/cards at showdown. It's useful for quickly checking basic odds in different scenarios, simulating hands for fun, or even deciding who pays for dinner (like the YouTuber often does!).

It's built with React, TypeScript, and Vite, deployed on Cloudflare Pages. The odds calculation relies on the poker-odds-calculator library.

This is an early version, and I'm very open to feedback. I'd love to hear your thoughts on:

Usability and design. The accuracy/usefulness of the equity calculation display. Any features you think would be valuable additions (e.g., specific hand vs. hand matchups, more detailed statistics, betting simulation?). You can try it here: https://flopper.pages.dev

Thanks for checking it out!

I like it. I wanted to cycle through a bunch of games. I added a player, so essentially 2 players. The animation of confetti slows it down something awful on my machine though.

If someone wants to cycle through games very quickly maybe giving them an option to disable anything that might slow it down.

For someone trying to learn the math quickly and look at the odds, being able to cycle through each game and aspect of the game might be the most important thing.

I'd make an option that's as barebones and quick as possible.

Thanks for the feedback, johng! I appreciate you trying it out. Good point about the confetti potentially slowing things down, especially when cycling through games quickly. I've just pushed an update that adds an option to disable the confetti effect. You'll find a small checkbox next to the main action button at the bottom. Toggling it off will disable the confetti, and the setting should be saved in your browser's localStorage for future visits.

This should help provide that "barebones and quick" option you mentioned for focusing purely on the odds.

Let me know if that works better for you or if you have any other suggestions!