Skip to content

oskarrough/slaytheweb

Repository files navigation

Slay the Web

A single player deck-building roguelike video card game for the web based on Slay The Spire,
a fantastic video game designed by MegaCrit.

Screenshot of Slay the Web

Background

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.

Updates

See the CHANGELOG.md file.

Development

TLDR;

  1. Clone the repository
  2. Run npm install followed by npm run dev to open a local development server.

Documentation

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.

See the open issues.
Have an idea? Please open a new issue.

There are many areas that would make it more fun to play:

  • new cards
  • new powers
  • more monsters
  • expand the map into multiple "worlds" (or acts...)
  • better UI and animations
  • optimize UI for mobile

How to release a new version (aka deploy)

Every commit to 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 where we can see if things are as expected.

To update the CHANGELOG.md, run bun run release and follow the prompts. We do not use GitHub releases.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks