Xs of Y – roguelike that names itself every run. Written in 4kLoC

TL;DR

Developers have released ‘Xs of Y,’ a roguelike game that names itself every run and features procedurally generated quests and titles. It’s written in a compact 6,900-line Lisp dialect and runs in browsers via WebAssembly.

The developer of ‘Xs of Y’ has released a roguelike game that generates a unique title and quest for each run, built in a compact Lisp-inspired language and playable directly in web browsers.

‘Xs of Y’ is a roguelike game where each playthrough produces a new game title, such as ‘Gazebos of Mounting Dread,’ and a new quest, like retrieving the ‘Spatula of Futility.’ The game’s core mechanics involve procedurally generated content, including rune mappings and spells expressed as s-expressions, with the game world actively trying to kill the player through various enemies and environmental hazards.

The game is written in approximately 6,900 lines of code using ‘let-go,’ a Lisp dialect based on Clojure, running on a Go bytecode VM. It features persistent data structures, no external dependencies, and can run natively or in a browser via WebAssembly, with startup times around 6 milliseconds. The developer notes that the game is still in development, with some features like the magic system and game balance being in progress. The game is playable now, but users should expect occasional bugs, such as ‘mild peril’ and ‘unscheduled explosions.’

Why It Matters

This project demonstrates a highly compact implementation of a roguelike game, showcasing how procedural generation and complex game mechanics can be achieved within a small codebase. Its browser compatibility and minimal dependencies make it accessible for experimentation and development in web environments. The game’s unique approach to naming and quest generation also highlights innovative design in procedural content creation, which could influence future indie game development.

Mini Rogue – A Board Game by Ares Games 1-2 Players – Board Games for Family 30+ Minutes of Gameplay – Games for Family Game Night – for Kids and Adults Ages 12+ - English Version

Mini Rogue – A Board Game by Ares Games 1-2 Players – Board Games for Family 30+ Minutes of Gameplay – Games for Family Game Night – for Kids and Adults Ages 12+ – English Version

Mini Rogue is a game profoundly inspired by roguelikes and roleplaying games. Monsters, hazards, treasures, bosses, dungeons, as…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Roguelikes traditionally rely on large, complex codebases and extensive procedural algorithms. ‘Xs of Y’ stands out for its minimalistic implementation, inspired by Lisp and functional programming principles, emphasizing the potential for compact, high-level code to produce rich gameplay experiences. The project is part of a broader trend toward lightweight, browser-based gaming and creative coding in minimal languages.

“It’s not finished yet, but it’s playable. Expect some mild peril and unscheduled explosions.”

— the developer

“Every run generates a new title, quest, and rune mappings, making each playthrough unique.”

— the developer

Whose Gen Is This?! - Black Culture Trivia Card Game | Fun Multi-Generational Party Game for Adults & Teens | 5 Categories | 250 Trivia Cards & Sand Timer | Great for Game Nights & Family Gatherings!

Whose Gen Is This?! – Black Culture Trivia Card Game | Fun Multi-Generational Party Game for Adults & Teens | 5 Categories | 250 Trivia Cards & Sand Timer | Great for Game Nights & Family Gatherings!

THE ULTIMATE BLACK CULTURE GAME NIGHT EXPERIENCE: Laugh, debate, and test your knowledge across five generations. From classic…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet clear how stable or complete the game will become, as development is ongoing. Details about future features, balancing, or whether the game will expand beyond its current scope are still uncertain.

Mini Rogue – A Board Game by Ares Games 1-2 Players – Board Games for Family 30+ Minutes of Gameplay – Games for Family Game Night – for Kids and Adults Ages 12+ - English Version

Mini Rogue – A Board Game by Ares Games 1-2 Players – Board Games for Family 30+ Minutes of Gameplay – Games for Family Game Night – for Kids and Adults Ages 12+ – English Version

Mini Rogue is a game profoundly inspired by roguelikes and roleplaying games. Monsters, hazards, treasures, bosses, dungeons, as…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

The developer is likely to continue refining the game, fixing bugs, and possibly expanding features such as the magic system and enemy variety. Community feedback may influence further development, and a more polished release could be forthcoming.

Build Playable Browser Games with raylib and WebAssembly: Turn Your C and C++ Projects into Fast, Shareable Games for Web, Mobile, and Portfolios

Build Playable Browser Games with raylib and WebAssembly: Turn Your C and C++ Projects into Fast, Shareable Games for Web, Mobile, and Portfolios

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Is ‘Xs of Y’ fully finished and stable?

Currently, it is in an early, playable state with known bugs and ongoing development. It is not yet considered a finished product.

Can I play ‘Xs of Y’ in my browser?

Yes, the game runs in browsers via WebAssembly and can be played directly without installing additional software.

What programming language is ‘Xs of Y’ written in?

It is written in ‘let-go,’ a Lisp dialect based on Clojure, compiled to Go bytecode, with no external dependencies.

What makes ‘Xs of Y’ unique compared to other roguelikes?

Its dynamic generation of game titles, quests, rune mappings, and its compact implementation in a minimal Lisp dialect set it apart from traditional, larger roguelike projects.

Will ‘Xs of Y’ receive further updates?

The developer has indicated ongoing development, so future updates with bug fixes and new features are likely.

You May Also Like

Doomscrolling Detox: How to Reclaim Your Brain From Infinite Feeds

I’m about to reveal a simple way to break free from endless feeds and restore your mental clarity—are you ready to reclaim your focus?

It’s hard to justify buying a Framework 12

A detailed analysis of the high costs and compromises of the Framework 12 laptop compared to the MacBook Neo, highlighting why it may not be the best value choice.

The Metaverse Hype vs. Reality in 2025

In 2025, the metaverse’s promise has faded into reality—discover how current innovations are reshaping digital experiences beyond the hype.

MAHA Keeps Being Weird as Hell About Fertility

The Trump administration promotes fertility initiatives and makes controversial claims about fertility decline, amid ongoing debates on reproductive health policies.