https://github.com/oskarrough/slaytheweb
Slay the Web is a singleplayer, deck builder, roguelike card crawl game for the web based on Slay the Spire
https://github.com/oskarrough/slaytheweb
card-game dungeon-crawler oohgames roguelike web-game
Last synced: about 1 year ago
JSON representation
Slay the Web is a singleplayer, deck builder, roguelike card crawl game for the web based on Slay the Spire
- Host: GitHub
- URL: https://github.com/oskarrough/slaytheweb
- Owner: oskarrough
- License: agpl-3.0
- Created: 2019-04-06T14:47:02.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-03-29T16:32:15.000Z (about 1 year ago)
- Last Synced: 2025-04-03T23:09:33.332Z (about 1 year ago)
- Topics: card-game, dungeon-crawler, oohgames, roguelike, web-game
- Language: JavaScript
- Homepage: https://slaytheweb.cards
- Size: 21.5 MB
- Stars: 220
- Watchers: 6
- Forks: 44
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.megacrit.com/).
### [Play on slaytheweb.cards](https://slaytheweb.cards/)
### [Chat on #slaytheweb:matrix.org](https://matrix.to/#/#slaytheweb:matrix.org)
## 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:
- [The documentation](DOCUMENTATION.md)
Or browse the code. Especially the game logic includes tons of comments.
See the [open issues](https://github.com/oskarrough/slaytheweb/issues).
Have an idea? Please [open a new issue](https://github.com/oskarrough/slaytheweb/issues/new).
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.
- FTL, Into The Breach, Darkest Dungeon, Dungeon of the Endless, Spelunky, Rogue Legacy,
- [Pollywog Games: A history of roguelite deck building games](https://pollywog.games/rgdb/)
- http://stfj.net/index2.php?project=art/2011/Scoundrel.pdf
- http://stfj.net/index2.php?year=2018&project=art/2018/Pocket-Run%20Pool
- http://www.cardcrawl.com/
- http://www.cardofdarkness.com/
- https://freesound.org/
- https://game-icons.net/
- https://github.com/RonenNess/RPGUI
- https://hundredrabbits.itch.io/donsol [Source](https://github.com/hundredrabbits/Donsol/tree/master/desktop/sources/scripts)
- https://itch.io/games/tag-card-game/tag-roguelike
- https://nathanwentworth.itch.io/deck-dungeon [Source](https://github.com/nathanwentworth/deck-dungeon/)
- https://www.reddit.com/r/slaythespire/comments/a7lhpq/any_recommended_games_similar_to_slay_the_spire/
- https://twitter.com/fabynou/status/1212534790672408578
- https://www.gamasutra.com/blogs/JoshGe/20181029/329512/How_to_Make_a_Roguelike.php
- https://www.reddit.com/r/roguelikedev/
- https://www.reddit.com/r/roguelikes/
- https://klei.com/games/griftlands
- https://forgottenarbiter.github.io/Is-Every-Seed-Winnable/
- https://www.cloudfallstudios.com/blog/2020/11/2/game-design-tips-reverse-engineering-slay-the-spires-decisions
- https://www.cloudfallstudios.com/blog/2018/5/7/guide-deckbuilder-tips-for-beginners-prompts-for-the-experienced-part-23
- https://mitadmissions.org/blogs/entry/slay-the-spire-as-metaphor/
### Slay the Spire modding, tools and things
- https://en.wikipedia.org/wiki/Slay_the_Spire
- https://slay-the-spire.fandom.com/wiki/Slay_the_Spire_Wiki
- https://spirelogs.com/
- https://maybelatergames.co.uk/tools/slaythespire/
- https://github.com/daviscook477/BaseMod
- https://github.com/Gremious/StS-DefaultModBase
- https://github.com/Gremious/StS-DefaultModBase/wiki
- https://github.com/kiooeht/Hubris/
- https://github.com/kiooeht/StSLib/wiki/Power-Hooks
- https://www.gdcvault.com/play/1025731/-Slay-the-Spire-Metrics
- https://github.com/Dementophobia/slay-the-spire-sensei
- https://www.rockpapershotgun.com/2018/02/19/why-revealing-all-is-the-secret-of-slay-the-spires-success/
- [Slay the Spire Reference spreadsheet](https://docs.google.com/spreadsheets/u/1/d/1ZsxNXebbELpcCi8N7FVOTNGdX_K9-BRC_LMgx4TORo4/edit?usp=sharing)
- [Slay the Spire Discord](https://discord.gg/slaythespire)
- https://github.com/adnzzzzZ/blog
- https://forgottenarbiter.github.io/Is-Every-Seed-Winnable/ ([discussion](https://news.ycombinator.com/item?id=23910006))
- https://www.twitch.tv/telnetthespire
- [Slay the Spire Reference Spreadsheet](https://docs.google.com/spreadsheets/u/1/d/1ZsxNXebbELpcCi8N7FVOTNGdX_K9-BRC_LMgx4TORo4/edit#gid=1146624812)
- https://alexdriedger.github.io/SlayTheSpireModding/
### Typeface
Licenced from https://mbtype.com/
### Open source artwork
- http://ronenness.github.io/RPGUI/
- https://github.com/game-icons/icons
- https://www.fromoldbooks.org/
- https://www.oldbookart.com/
