After selling 1 million copies, Balatro creator admits it's "held together with hopes and dreams" as game devs rally around the roguelike's beautifully nightmarish code

GamesRoguelikeAfter selling 1 million copies, Balatro creator admits it’s “held together with hopes and dreams” as game devs rally around the roguelike’s beautifully nightmarish codeWhen you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

GamesRoguelikeAfter selling 1 million copies, Balatro creator admits it’s “held together with hopes and dreams” as game devs rally around the roguelike’s beautifully nightmarish codeWhen you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

(Image credit: Playstack)

Balatro

With 1 million copies sold, Balatro has cemented itself as the roguelike hit of 2024 - despite the fact that its underlying code is apparently “held together with hopes and dreams.” After some examples of the game’s beautifully nightmarish code hit the internet, game devs are rallying to say, basically, if it ain’t broke don’t fix it.

The original tweet that spawned all this discourse has since been deleted - probably smart - but the gist is that Balatro has bespoke code for many objects where modern programming standards would typically suggest that you build some universal ways of handling those objects. That is agrossoversimplification, and thisbreakdown from game developer Sean Barrettwill give you a much smarter overview of what’s happening here, but that’s the gist.

Balatro developer LocalThunk has been quick to cop to the idea that the game’s code is messy,noting thatit’s “held together with hopes and dreams” andjoking that"they won’t teach you that in a fancy Software Engineering course." But game developers are rallying around the idea that it’s never really been about creating clean code - if it works, then that’s enough.

Remember the goal is to ship games, not make the neatest and most elegant code routines. https://t.co/mwKeWi3We9April 23, 2024

Remember the goal is to ship games, not make the neatest and most elegant code routines. https://t.co/mwKeWi3We9April 23, 2024

If Balatro was at the top of Steam, I can only imagine it made at least a few million dollars. I don’t know of any clean code enthusiasts who can boast such earnings from their own products. They usually earn from consulting and selling books on clean code.Telling, no? https://t.co/8nRTOOcMMJApril 23, 2024

If Balatro was at the top of Steam, I can only imagine it made at least a few million dollars. I don’t know of any clean code enthusiasts who can boast such earnings from their own products. They usually earn from consulting and selling books on clean code.Telling, no? https://t.co/8nRTOOcMMJApril 23, 2024

Ultimately, that’s whatLocalThunk figures, too. “It’s not perfect but I know where every single thing is and I’m the only one that needs to maintain it, so it makes sense to me. If it’s dumb and it works then it’s not dumb!”

Wespoke with LocalThunk about Balatro’s ingenious twists on pokerearlier this year.

Sign up to the GamesRadar+ Newsletter

Weekly digests, tales from the communities you love, and more

CATEGORIESPC GamingPS5PS4Xbox Series XXbox OneNintendo SwitchPlatformsPlayStationXboxNintendo

CATEGORIES

More about roguelikeI didn’t know how badly I wanted to grill and gobble up monsters until this upcoming survival roguelike made it look so tastyUnhinged outtakes from live-action Balatro trailer reveal we could have seen Final Fantasy 16’s Ben Starr gobble down a banana too many ways

More about roguelike

I didn’t know how badly I wanted to grill and gobble up monsters until this upcoming survival roguelike made it look so tastyUnhinged outtakes from live-action Balatro trailer reveal we could have seen Final Fantasy 16’s Ben Starr gobble down a banana too many ways

I didn’t know how badly I wanted to grill and gobble up monsters until this upcoming survival roguelike made it look so tasty

I didn’t know how badly I wanted to grill and gobble up monsters until this upcoming survival roguelike made it look so tasty

ben starr dressed in harequinn makeup chomping down on a banana

Unhinged outtakes from live-action Balatro trailer reveal we could have seen Final Fantasy 16’s Ben Starr gobble down a banana too many ways

Unhinged outtakes from live-action Balatro trailer reveal we could have seen Final Fantasy 16’s Ben Starr gobble down a banana too many ways

Latest

See more latest►

Most PopularOne of Sonic 3’s writers threatens us with a good time in a future movie: “We gotta get Big the Cat in there in some capacity"This nifty gadget turns any M.2 SSD into a portable drive, but it’s great for when you’re upgrading your PC tooLeague of Legends co-creator responds to report that Arcane was a “financial miss,” says “people think we make things like Arcane to sell skins, when in reality we sell skins to make things like Arcane"After hours of number-crunching, one Marvel Rivals player has laid out the true meta – and Iron Fist’s ranking feels alarmingJames Gunn says his DC shows will likely stick to the “one episode a week” schedule moving forward: “It affords a quality show an opportunity to be discussed"Just two weeks after its theatrical release, Lord of the Ring: The War of Rohirrim is heading to digitalEscape the horrors of family time this holiday with Slitterhead’s first ever discountNosferatu should “feel like a love triangle” according to star Lily-Rose Depp, albeit a twisted oneYou might be ready for Elden Ring: Nightreign, but not as ready as this streamer who completed the RPG like it was a roguelike – 207 bosses, random items, and permadeathThe team behind the unofficial Zelda Ocarina of Time PC port just modernized another Nintendo 64 classic, and the original creator is “very happy” about itNosferatu’s Bill Skarsgård was so happy to shed the Orlok character when filming wrapped: “It was an immense sense of relief”

Most PopularOne of Sonic 3’s writers threatens us with a good time in a future movie: “We gotta get Big the Cat in there in some capacity"This nifty gadget turns any M.2 SSD into a portable drive, but it’s great for when you’re upgrading your PC tooLeague of Legends co-creator responds to report that Arcane was a “financial miss,” says “people think we make things like Arcane to sell skins, when in reality we sell skins to make things like Arcane"After hours of number-crunching, one Marvel Rivals player has laid out the true meta – and Iron Fist’s ranking feels alarmingJames Gunn says his DC shows will likely stick to the “one episode a week” schedule moving forward: “It affords a quality show an opportunity to be discussed"Just two weeks after its theatrical release, Lord of the Ring: The War of Rohirrim is heading to digitalEscape the horrors of family time this holiday with Slitterhead’s first ever discountNosferatu should “feel like a love triangle” according to star Lily-Rose Depp, albeit a twisted oneYou might be ready for Elden Ring: Nightreign, but not as ready as this streamer who completed the RPG like it was a roguelike – 207 bosses, random items, and permadeathThe team behind the unofficial Zelda Ocarina of Time PC port just modernized another Nintendo 64 classic, and the original creator is “very happy” about itNosferatu’s Bill Skarsgård was so happy to shed the Orlok character when filming wrapped: “It was an immense sense of relief”

Most PopularOne of Sonic 3’s writers threatens us with a good time in a future movie: “We gotta get Big the Cat in there in some capacity"This nifty gadget turns any M.2 SSD into a portable drive, but it’s great for when you’re upgrading your PC tooLeague of Legends co-creator responds to report that Arcane was a “financial miss,” says “people think we make things like Arcane to sell skins, when in reality we sell skins to make things like Arcane"After hours of number-crunching, one Marvel Rivals player has laid out the true meta – and Iron Fist’s ranking feels alarmingJames Gunn says his DC shows will likely stick to the “one episode a week” schedule moving forward: “It affords a quality show an opportunity to be discussed"Just two weeks after its theatrical release, Lord of the Ring: The War of Rohirrim is heading to digitalEscape the horrors of family time this holiday with Slitterhead’s first ever discountNosferatu should “feel like a love triangle” according to star Lily-Rose Depp, albeit a twisted oneYou might be ready for Elden Ring: Nightreign, but not as ready as this streamer who completed the RPG like it was a roguelike – 207 bosses, random items, and permadeathThe team behind the unofficial Zelda Ocarina of Time PC port just modernized another Nintendo 64 classic, and the original creator is “very happy” about itNosferatu’s Bill Skarsgård was so happy to shed the Orlok character when filming wrapped: “It was an immense sense of relief”

Most Popular

One of Sonic 3’s writers threatens us with a good time in a future movie: “We gotta get Big the Cat in there in some capacity”

This nifty gadget turns any M.2 SSD into a portable drive, but it’s great for when you’re upgrading your PC too

League of Legends co-creator responds to report that Arcane was a “financial miss,” says “people think we make things like Arcane to sell skins, when in reality we sell skins to make things like Arcane”

After hours of number-crunching, one Marvel Rivals player has laid out the true meta – and Iron Fist’s ranking feels alarming

James Gunn says his DC shows will likely stick to the “one episode a week” schedule moving forward: “It affords a quality show an opportunity to be discussed”

Just two weeks after its theatrical release, Lord of the Ring: The War of Rohirrim is heading to digital

Escape the horrors of family time this holiday with Slitterhead’s first ever discount

Nosferatu should “feel like a love triangle” according to star Lily-Rose Depp, albeit a twisted one

You might be ready for Elden Ring: Nightreign, but not as ready as this streamer who completed the RPG like it was a roguelike – 207 bosses, random items, and permadeath

The team behind the unofficial Zelda Ocarina of Time PC port just modernized another Nintendo 64 classic, and the original creator is “very happy” about it

Nosferatu’s Bill Skarsgård was so happy to shed the Orlok character when filming wrapped: “It was an immense sense of relief”

GAME REVIEWSMOVIE REVIEWSTV REVIEWS1Nemesis review: “A magical sense of tension"2Arcs review: “A whole lot of game in a small package"3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure"4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years"5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths"1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show"2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie"3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action"4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien"5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite"1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat"2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses"3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist"4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands"5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

GAME REVIEWSMOVIE REVIEWSTV REVIEWS1Nemesis review: “A magical sense of tension"2Arcs review: “A whole lot of game in a small package"3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure"4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years"5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths"1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show"2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie"3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action"4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien"5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite"1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat"2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses"3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist"4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands"5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

GAME REVIEWSMOVIE REVIEWSTV REVIEWS1Nemesis review: “A magical sense of tension"2Arcs review: “A whole lot of game in a small package"3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure"4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years"5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths"1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show"2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie"3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action"4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien"5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite"1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat"2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses"3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist"4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands"5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

GAME REVIEWSMOVIE REVIEWSTV REVIEWS1Nemesis review: “A magical sense of tension"2Arcs review: “A whole lot of game in a small package"3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure"4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years"5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths"1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show"2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie"3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action"4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien"5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite"1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat"2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses"3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist"4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands"5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

GAME REVIEWSMOVIE REVIEWSTV REVIEWS

1Nemesis review: “A magical sense of tension”

Nemesis board game models and tokens laid out on a board

1Nemesis review: “A magical sense of tension”

1

Nemesis review: “A magical sense of tension”

2Arcs review: “A whole lot of game in a small package”

2Arcs review: “A whole lot of game in a small package”

2

Arcs review: “A whole lot of game in a small package”

3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure”

3Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure”

3

Path of Exile 2 review: “A stellar start to a thrilling and brutal dark adventure”

4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years”

4Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years”

4

Indiana Jones and the Great Circle review: “The best adventure Indy has embarked on in over 30 years”

5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths”

5Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths”

5

Marvel Rivals review: “So preoccupied with trying to be like Overwatch that it forgets to play to its own strengths”

1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show”

Shadow brandishes a gun in Sonic The Hedgehog 3

1Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show”

1

Sonic the Hedgehog 3 review: “Keanu Reeves as Shadow is wasted whilst Jim Carrey steals the show”

2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie”

2Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie”

2

Mufasa: The Lion King review – “It’s no Hakuna Matata but this Disney origin story is a class above the 2019 movie”

3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action”

3Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action”

3

Kraven the Hunter review: “The insistence on an R-rating helps save this, with a decent helping of bloodthirsty action”

4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien”

4The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien”

4

The Lord of the Rings: The War of the Rohirrim review – “An uninspired expansion of the most iconic screen take on Tolkien”

5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite”

5Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite”

5

Nightbitch review: “Amy Adams' disappointing dark comedy is all bark and no bite”

1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat”

Ncuti Gatwa as the Doctor and Nicola Coughlan as Joy in Doctor Who Christmas special Joy to the World

1Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat”

1

Doctor Who 2024 Christmas special review: “Ncuti Gatwa is as magnetic as ever in this delightful festive treat”

2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses”

2Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses”

2

Secret Level review: “An uneven experience with serious highlights that ultimately make up for the misses”

3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist”

3Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist”

3

Skeleton Crew review: “Perfectly captures the vibes of classic Star Wars with a swashbuckling twist”

4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands”

4Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands”

4

Creature Commandos review: “James Gunn’s heartwarming, R-rated tale about super-monsters proves that the DCU is in good hands”

5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

5Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

5

Cobra Kai season 6, part 2 review: “Returns to the sort of hard-hitting form that made it such a fan favorite in the first place”

Contents