Why Balatro Bet on LÖVE and Lua: The Niche Stack Behind a 5-Million-Copy Poker Roguelike
Balatro should not have worked. A solo developer, a poker roguelike with no combat, and a 2D framework most Unity developers have never opened — yet it sold more than 5 million copies by January 2025, won Game of the Year at the 25th Game Developers Choice Awards, and was nominated for top honors at The Game Awards 2024, the D.I.C.E. Awards, and the BAFTAs. The short answer for developers is…
Balatro defied expectations as a successful solo-developed poker roguelike without combat or 3D graphics. LocalThunk, the creator, built the game using LÖVE, a free open-source 2D framework written in C++ that utilizes Lua as its scripting language. This niche choice significantly impacted the game's design and success. LÖVE, short for Love2D, provides a lightweight, easy-to-use platform for creating 2D games with Lua scripting.
It supports multiple platforms, including Windows, macOS, Linux, Android, and iOS. The framework is written in C++ and exposes various multimedia features such as video, sound, images, audio, and networking. Lua, a dynamically typed, efficient scripting language, complements LÖVE's capabilities perfectly for a solo game developer like LocalThunk.
Its small size, fast iteration, and embeddable nature made it an ideal fit for Balatro's development. The game's core mechanics revolve around table manipulation and seeding randomness, which Lua's robust data structures and functions facilitate. LÖVE's seeded random generators allow for deterministic gameplay, where the same seed generates the same game outcomes.
This deterministic randomness simplifies debugging, reproducibility, and allows skilled players to manipulate probability for a more engaging experience. Balatro's success demonstrates the power of choosing the right technology stack for a solo developer. LÖVE and Lua's combination enabled a unique, responsive, and moddable game that resonated with players, breaking into the top 10% of Itch.io downloads and achieving commercial success.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.