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 created ‘Xs of Y,’ a roguelike game that generates a unique title, quest, and rune mappings every run. It is written in 4,000 lines of Lisp code and runs in browsers via WebAssembly. The project is still in development.

A new roguelike game called ‘Xs of Y’ generates a unique title, quest, and rune mappings for each run and is written in approximately 6,900 lines of Lisp dialect code, making it a notable example of minimalist, self-generating game design. It is currently playable in browsers via WebAssembly, though still in development.

The game, shared on Hacker News, features procedurally generated content, including titles like ‘Gazebos of Mounting Dread’ and quests such as retrieving the ‘Spatula of Futility.’ Each run creates a new set of rune mappings, with spells represented as s-expressions, and the game logic is embedded in a Lisp-like language called ‘let-go.’

Developed in a compact codebase of around 6,900 lines, the game is built on a Clojure dialect running on a Go bytecode VM, with persistent data structures and no external dependencies. It boasts a 6-millisecond startup time and can run natively or in browsers via WebAssembly. The game is still in progress, with features like the magic system and dungeon mechanics actively being refined.

Why It Matters

This project demonstrates how complex, engaging roguelike gameplay can be achieved with minimal code and innovative procedural generation. Its self-naming feature and use of Lisp for game logic highlight experimental approaches in game development, especially within the constraints of small codebases and browser-based deployment. It may inspire developers interested in minimalism, procedural content, and self-generating narratives.

Amazon

roguelike board games

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

This development follows a trend of minimalist and experimental roguelikes, with influences like Brogue and other procedural games. The use of Lisp and compact code reflects ongoing interest in code efficiency and creative game design. The project is still in early stages, with core mechanics functional but not yet fully polished.

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

— the developer

“Each run generates a new title, quest, and rune mappings, making every experience unique.”

— the developer

Amazon

game development books

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 fully developed the game’s mechanics will become or when it will reach a stable release. Some features, such as the magic system and dungeon interactions, are still under active development.

Amazon

WebAssembly programming guide

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

The developer plans to continue refining core gameplay mechanics, improve stability, and possibly expand content. Future updates may include more complex interactions, polished UI, and broader accessibility, with a potential release for wider testing.

Amazon

Lisp programming language resources

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Is ‘Xs of Y’ available to play now?

Yes, the game is currently playable in browsers via WebAssembly, but it remains in development with ongoing feature additions and refinements.

What makes this roguelike different from others?

Its content is procedurally generated each run, including titles, quests, and rune mappings, and it is written in a minimal Lisp dialect in just under 7,000 lines of code.

What programming languages or technologies are used?

The game is written in a Lisp dialect called ‘let-go,’ built on a Clojure-like language, running on a Go bytecode VM, with deployment via WebAssembly for browsers.

Is the game intended for a specific audience?

It appears aimed at developers, hobbyists, and enthusiasts interested in minimalism, procedural generation, and experimental game design.

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Design a Robust Lead Qualification System That Operates Night and Day

Discover how to automate your lead qualification process, filter high-quality prospects, and boost sales efficiency—even while you rest.

Build a Smartphone Spectrometer: The 3 Parts You Can’t Skip

Find out the three essential parts to build a smartphone spectrometer that guarantees accurate results and unlocks new levels of spectroscopic exploration.

Construct a Polarized Light Box for Minerals

Just follow these steps to build a polarized light box for minerals and unlock stunning optical phenomena—your mineral collection will never look the same.

DIY Prism Lamp: Splitting Light at Home

Here’s a captivating DIY prism lamp guide that reveals how to create stunning light displays at home and transforms your space with vibrant colors.