Skip to content

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

License

Notifications You must be signed in to change notification settings

0vql/slaytheweb

 
 

Repository files navigation

Slay the Web

Slay the Web is a digital card game for the web based on Slay The Spire, a fantastic video game designed by MegaCrit. They say:

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!

Come chat on https://matrix.to/#/#slaytheweb:matrix.org

Screenshot of Slay the Web

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.

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. The src/content folder builds content for the game.

How to deploy it

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.

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.1%
  • CSS 15.3%
  • HTML 3.6%