Preferences

Waterluvian parent
I’m not sure 32 vs. 64 bit even matters for scoring. Doesn’t balatro go well above the uint64 max, meaning it’s surely using some Numeric abstraction type?

city41
It is written in Lua and the source code is available (just extract it from the PC version). It's using Lua's number type for all numbers, which is a double precision float.
Eavolution
Balatro uses 64 bit floats for numbers. This does matter as the game effectively has a hard ending at NaN when you overflow the floating point max. This will occur at a significantly lower value if you switched to 32 bit floats, therefore making the highest possible ante lower.
Waterluvian OP
Yeah makes sense. I thought it would be integers and therefore signifies it uses a whole numeric type abstraction that would support basically infinite sized integers.

This item has no comments currently.