Xs of Y – roguelike that names itself every run. Written in 4kLoC
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Prime Big Deal Days · Oct 6–7Offer from Amazon

Get the latest gadgets delivered free — and shop member deals

  • Fast, free delivery on millions of items
  • Access to Prime Big Deal Days deals on October 6–7
  • Prime Video, Amazon Music and more included
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

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.

Amazon

browser-based roguelike game

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

Amazon

procedurally generated game titles

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.

Amazon

minimalist roguelike game

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.

Amazon

WebAssembly browser games

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.

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Cohort-Based Pathways To Manage Screen Time Effectively

A new cohort-based recovery model for adult phone overuse is being tested, focusing on structured group support for those who have failed app blockers.

Scientists Discover Strange New Crystal Formed by Nuclear Blast

Researchers identify a unique clathrate crystal in Trinity nuclear test debris, marking the first such find from a nuclear explosion.

The Rise of Synthetic Media in Entertainment

I’m exploring how synthetic media is transforming entertainment and the ethical challenges it brings, shaping the future of digital storytelling.

Review: Good Omens finale sticks the landing

Prime Video’s Good Omens series concludes with a 90-minute episode, blending humor, heart, and a satisfying ending despite production delays and a rushed finale.