Readit News logoReadit News
sram1337 · 6 months ago
re: numbers, you could store them as integers, but just encoded as 10 times their value. So 1.5 becomes 15.

Would reduce max score to 400M and you'd have to round 0.25 up or down. Would probably want to drop the 0.01 cards too.

super cool project

odo1242 · 6 months ago
Yea - this is basically "fixed point but not binary" and it would totally work.
LoganDark · 6 months ago
> re: numbers, you could store them as integers, but just encoded as 10 times their value. So 1.5 becomes 15.

I find it really weird that they dismissed fixed point as being too technical because it's actually really simple, it's basically just this.

city41 · 6 months ago
I dismissed it as too technical for that blog post. I expected this post to be read by a wide variety of people, so I tried to keep technical stuff to a minimum. I did say it's simple and that it's what I'd probably use if I kept going with the project.
azhenley · 6 months ago
The author also wrote about his experience making a space shooter game for the E-Reader:

https://mattgreer.dev/blog/making-a-shooter-for-the-ereader/

fisherjeff · 6 months ago
This was painful to read, and I am so sorry for the author.

I was fortunate enough to break my Balatro addiction before it had gotten this far along, but others are not so lucky.

yjftsjthsd-h · 6 months ago
What about this reads as addiction? This is clearly a tech demo, not something someone would do to let themselves play more of the game.
poolnoodle · 6 months ago
I believe the comment you replied to was meant in a humorous way.
jimbob45 · 6 months ago
And others are like me who wanted to play but couldn’t because of the nauseating effects of the graphics.
mcphage · 6 months ago
There but for the grace of god…
LocalH · 6 months ago
Nope!
Nate75Sanders · 6 months ago
Guy made it for the C64, even with good music!

https://ko-ko74.itch.io/balatro-for-the-commodore-64-c64

kinduff · 6 months ago
While I understand the sentiment of Playstack and LocalThunk to take down these kind of ports, it's a shame for the community because this will only make the game grow more.
geoffpado · 6 months ago
It doesn’t sound like they did? The author seems to be proactively not releasing out of respect for LocalThunk, not out of fear. (And certainly not because they’ve already been sent a takedown or anything.)
kinduff · 6 months ago
Because he didn't published it, but there are other similar ports that have been taken down.

For example, this C64 port was taken down: https://ko-ko74.itch.io/balatro-for-the-commodore-64-c64

wavemode · 6 months ago
What legal standing would they even have, if the game were simply named something different from "Balatro"? Game mechanics aren't copyrightable, and the game assets are literally just playing cards...
ronsor · 6 months ago
The clear solution is to not copy every aspect of the original and also release your port under a different name.
im3w1l · 6 months ago
I think floating point is viable - balatro doesn't exactly perform billions of floating point operations per second.
Waterluvian · 6 months ago
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 · 6 months ago
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 · 6 months ago
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 · 6 months ago
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.
EA-3167 · 6 months ago
I also love Balatro, and can say that's shockingly good work especially considering the limitations of the platform. Clearly a labor of love, and I love it.