Open Side Menu Go to the Top
Register
Converting a hand vs hand equity calculator to a range vs range one Converting a hand vs hand equity calculator to a range vs range one

04-23-2022 , 09:56 AM
Hi, I've been looking for a JavaScript/TypeScript library for calculating equities. This is the best one I managed to find:
https://github.com/siavashg87/poker-odds-calc/

However it can only run a one combo vs one combo scenario. I tried running multiple iterations of such scenarios to calculate RvR equity but it's slow AF with reasonably wide ranges. So I assume that in order for a RvR evaluator to be fast, it must use a different lookup table than a HvH one.

I also found a HvR calculator here:
https://github.com/thlorenz/pec
but it's even slower than the previous one when converted to a RvR evaluator by using for loop.

So, my question is - unless you can provide me a repo with a fast JS/TS RvR calculator - how difficult would it be to convert the one from the first repo to a RvR equity calculator?
Converting a hand vs hand equity calculator to a range vs range one Quote

      
m