Build a Poker Luck Detection App with Claude
Apps it uses
I love playing poker, both online and live. One month, I performed poorly. Although it felt like the cards were running badly, I wondered whether I had developed a problem in my game and was blaming my losses on bad luck.
I asked around, including asking AI, whether a tool existed that could measure luck from poker hand histories. The unwelcome answer was that it did not. I'm not a coder, but after doing some research into vibe coding, I started building a luck-detection app in a Claude chat.
Claude built the UI directly in the chat window and advised me on the formulas I was using to calculate luck for the cards dealt, my performance on the flop, and my performance when I went all in. All three metrics have strong averages, and luck is what varies them. I used a bell curve to model hand outcomes and a Monte Carlo simulator, which Claude suggested and executed, to evaluate all possible outcomes.
The result astonished me because it was so useful. I immediately fixed two major leaks in my game and felt better knowing that bad luck really was the main problem affecting my results. I liked the tool so much that I decided to turn it into a full web app with Claude Code, and now an iPhone app that I may let other people use for free.
I also had a lot of fun building it—except for learning how to use Xcode. That was a pain, even with step-by-step guidance from Claude.
Step-by-step
- I reviewed a month of poor poker results and questioned whether bad luck or problems in my game were causing the losses.
- I researched whether a tool existed that could measure luck from poker hand histories and learned that I would need to build one myself.
- I used vibe coding to start building a luck-detection app in a Claude chat.
- I had Claude create the UI and advise on formulas for evaluating cards dealt, flop performance, and all-in performance.
- I used a bell curve to model hand outcomes and a Monte Carlo simulator to evaluate possible outcomes.
- I used the results to identify and fix two major leaks in my game and confirm that bad luck was also affecting my results.
- I expanded the project into a full web app with Claude Code and then began building an iPhone app, working through the added challenge of learning Xcode.
- Industries
- Personal & LifestyleSoftware & Technology
3 comments
Have a question about this workflow, or a way to improve it?
Log in to comment Create a free accountYears ago I was a poker dealer. Congrats on building a thoughtful app that pulls back the curtain on luck, and evaluates your game. Very cool!
Love this idea!
omg this is so cool. My family is big into poker, and a luck detection app is exactly the kind of thing they'd get a kick out of. Could see it becoming a way for people to actually learn the game too. Thanks for sharing, Sanjay!
Posting guidelines