ndouglas / mistwood

A library for roguelikes, MUDs, and similar games combining various technologies.
The Unlicense
0 stars 0 forks source link

CI codecov

Mistwood

Project Brainstorming Architecture Component Catalog Documentation

A framework for roguelikes, MUDs, and similar games combining the Actor model (courtesy of Actix), an Entity-Component-System architecture (courtesy of Specs), and various other technologies.

I've been using Specs and other ECS systems with roguelike development with some success, but I never managed to deal with some architectural issues come with that approach. The tremendous complexity that comes with roguelike development is, arguably, the challenge and the fun of the genre, but it seemed to spiral out of control for me when I applied an ECS approach.

While working on another project, Downdelving, I started working with an Actor model for the first time. I immediately appreciated how it decoupled a lot of the things that had caused me frustration with an ECS approach, and seemed to alleviate the antipatterns and performance issues.

I had an idea for combining the two approaches into a single architecture.

At the same time, there are a few other concepts that I think are generally useful for developing this sort of hyper-complicated game:

My goal is to make the following clean and easy to implement:

I have several roguelike and MUD projects that I've never managed to get very far with due to architectural concerns, so my hope is that I can come up with a pleasing combination of these ideas and then get a little further 🙂

I'm starting to think I actually like mucking around with architectural concepts more than I actually like making games, so eh. Wish me luck!

Code Coverage Graph