Poker - HUD
I'm back to working on the Poker Web App, as you saw from the original post the UI is lacking somewhat.
Poker - Docs
As with everything I do, I add documentation. The first thing I like to do is generate the API documentation for any code I've written. With the Arduino code (C++) I'm using Doxygen
Poker - App
Aside to the API the ultimate goal would be to have a website that I can use to track the game information and visualise it, alongside the OBS scene. I've made a start on replicating the scene but as a webpage.
Poker - Stats
Whilst working on the tracking of the cards I thought it might be also useful to see certain stats, luckily I don't have to do the calculations myself and have found 2 projects written in C# I can repurpose. The first is PokerOddsPro from @dyh1213 and the other is Poker-Hand-Evaluator from @danielpaz6.
Poker - API
The main idea behind the API is to have an RFID sticker on a playing card, that gets scanned by an RC522 RFID Reader that then calls an endpoint via an ESP8266 (This could also have been an ESP32). A simple first solution is to pass the id and the player number. This then finds the corresponding playing card and copies it to given location. The reason for this is OBS is configured to show these cards in a scene. In the future I might be saving all this information to a local db to track everything to be able to replay the scenarios, but for now this will do.
Poker - Chip
Thought as a little momento I'd create a poker chip for each of the players. Gave me an excuse to use the laser engraver again. I found the surround The Noun Project from Anton Gajdosik, the just reused the Rye font from the OBS scene to add some text. A few trial and error prints and got it looking decent. It kept moving about the board so a bit of greentac fixed the problem.
Poker - Tracking cards
This is Part 2 of the Poker series, see Recording Poker Games for the initial setup.
Recording Poker Games
Watching the poker on WPT I thought wouldn't it be cool if I could have the same setup at my home games? Where would I even begin?