Slay the Web is a singleplayer, deck builder, roguelike card crawl game for the web based on Slay the Spire
AGPL-3.0 License
A digital, single player deckbuilding roguelike card game for the web based on Slay The Spire, a fantastic video game designed by MegaCrit.
After many runs in the Spire, I got into the theory behind the game. Inspired by the STS modding community, I thought it'd be fun 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 with an example UI for the web.
December 2023. The core mechanics seem to work. There is a dynamic map you can navigate with different rooms and monsters. You can fight against them using your cards and their powers.
There are many things that would make it more fun to play:
See the open issues. Have an idea? Please open a new issue.
If you're interested in contributing to the game or merely curious how it works:
Or browse the code. Especially the game logic includes tons of comments (written in JSDoc).
TLDR;
npm install
followed by npm run dev
to open a local development server.The src/game
folder contains the actual game logic.
The src/ui
folder is the website UI where you can actually play the game.
The src/content
folder builds content for the game.
The main
branch automatically deploys to https://slaytheweb.cards, via the Vercel service.
If you open a PR, it'll give you a preview URL as well for testing.
Licenced from https://mbtype.com/