/slaytheweb

Slay the Web is a singleplayer, deck builder, roguelike card crawl game for the web based on Slay the Spire

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Slay the Web

This is a browser-based card game and engine based on Slay The Spire, a fantastic video game designed by MegaCrit:

We fused card games and roguelikes together to make the best single player deckbuilder we could. Craft a unique deck, encounter bizarre creatures, discover relics of immense power, and Slay the Spire!

Screenshot of Slay the Web

After many runs in the Spire, I really got into the theory behind the game. Inspired by the STS modding community, I thought it'd be neat and a great learning experience to try and implement the core logic of the game in JavaScript for the web. And that is what Slay the Web is: a kind of stable, UI agnostic game engine and an example UI for the web.

Documentation

If you're interested in contributing to the game or merely curious how it works, see the documentation.

TLDR; Clone the repository and run npm install followed by npm run dev to open a local development server. The src/game folder contains the actual game logic and the src/ui folder is the website UI where you can actually play the game.

How to deploy it

The main branch automatically deploys to https://slaytheweb.cards, via the Vercel service, every time it is pushed to. If you open a PR, it'll give you a preview URL as well for testing.

References

A collection of related links, inspiration and ideas.

Slay the Spire modding, tools and things

Typeface

Licenced from https://mbtype.com/

Open source artwork