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

TL;DR

Developers released ‘Xs of Y,’ a roguelike game that names itself anew each run and features a dynamically generated universe. It is written in 4,000 lines of code using a Lisp-inspired language, emphasizing minimalism and innovation.

The developer of ‘Xs of Y’ has released a roguelike game that generates a unique title, quest, and rune mappings for every run, written in approximately 6,900 lines of code in a Lisp-inspired language. This project, still in development, offers a novel approach to procedural generation and minimalistic coding within the roguelike genre.

‘Xs of Y’ is a roguelike game where each playthrough produces a different game title, such as ‘Gazebos of Mounting Dread,’ and a new quest, like retrieving the ‘Spatula of Futility.’ The game features a dynamic rune system where symbols and spells are represented as s-expressions, with the game engine providing root access to a ‘reality engine’ that is intentionally obscured by a dead language in its man pages. The game’s codebase is written in a Lisp dialect called ‘let-go,’ which compiles to Go bytecode and runs either natively or via WebAssembly in browsers.

The game’s mechanics include early-game survival challenges and late-game theological puzzles, with enemies such as spiders, goblins, slimes, and trolls, each with unique behaviors. The game’s development emphasizes minimal dependencies and fast startup times, with the entire project fitting into just under 7,000 lines of code.

Why It Matters

This development matters because it demonstrates a highly compact and innovative approach to game development, pushing the boundaries of procedural generation and minimalistic coding. It also highlights the potential for complex, replayable roguelikes to be built with very small codebases, which may influence future indie game projects and programming language experimentation.

Exploring Roguelike Games

Exploring Roguelike Games

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

The project is part of a broader trend of minimalistic game development and code golfing, where developers aim to create complex systems within tight code limits. The use of a Lisp dialect for game logic and the focus on procedural content generation reflect ongoing interest in lightweight, flexible programming languages for game design. The developer has previously cited inspiration from classic roguelikes like Brogue and emphasizes the importance of simplicity and elegance in code.

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

— the developer

“The entire codebase is about 6,900 lines, written in a Lisp dialect called ‘let-go,’ emphasizing minimalism and flexibility.”

— the developer

GAME PROGRAMMING WITH PYTHON: Learn, Build, and Master Game Engineering: A Journey from Beginner to Professional

GAME PROGRAMMING WITH PYTHON: Learn, Build, and Master Game Engineering: A Journey from Beginner to Professional

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It remains unclear how complete the game is or how polished the gameplay experience will be at release. The project is still described as ‘not finished,’ and the extent of content and stability is uncertain.

Playz My First Coding & Computer Science Kit - Learn About Binary Codes, Encryption, Algorithms & Pixelation Through Fun Puzzling Activities Without Using a Computer for Boys, Girls, Teenagers, Kids

Playz My First Coding & Computer Science Kit – Learn About Binary Codes, Encryption, Algorithms & Pixelation Through Fun Puzzling Activities Without Using a Computer for Boys, Girls, Teenagers, Kids

EXCITING WAY TO LEARN: Inspiring young children to learn has never been more fun with this Playz science…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Further development updates are expected, including potential feature additions, bug fixes, and broader testing. The developer may also release more detailed documentation or tutorials to explain the game’s architecture and scripting system.

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.

Key Questions

Is ‘Xs of Y’ available to play now?

Yes, the game is playable in its current state and can be run in browsers via WebAssembly or natively, but it is still in development and may contain bugs or incomplete features.

What makes ‘Xs of Y’ different from other roguelikes?

Its unique feature is generating a new title, quest, and rune set for each run, with the entire game built in a very small, Lisp-inspired codebase, emphasizing procedural variation and minimalism.

What programming language is used to develop ‘Xs of Y’?

The game is written in a Lisp dialect called ‘let-go,’ which compiles to Go bytecode and runs either natively or via WebAssembly.

Is the game open source?

Yes, the source code is available on GitHub, allowing others to review, modify, or contribute to the project.

What are the future plans for ‘Xs of Y’?

The developer plans to continue refining the game, adding features, fixing bugs, and possibly expanding content based on feedback and development milestones.

You May Also Like

Kash Patel’s Performative Deflections

During a Senate hearing, FBI Director Kash Patel repeatedly dodged questions on misconduct and personal conduct, raising concerns about accountability.

Kickstarter Is The Latest Platform Seemingly Forced To Ban Adult Content By Payment Processors

Kickstarter updates its guidelines to prohibit adult content, possibly due to Stripe’s review policies, raising concerns about platform censorship and creator impact.

Meet the Sad Wives of AI

Exploring how the AI industry is impacting family dynamics, especially wives feeling left behind as their spouses obsess over AI advancements.

The Tarot Card Deck Created by Salvador Dalí

Dalí’s rare 1970s Tarot deck, originally created as a film project, has been reissued, blending surrealism with mystical symbolism, attracting art and occult enthusiasts.