• Stars
    star
    194
  • Rank 199,603 (Top 4 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created over 5 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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!

🎴 Play now on https://slaytheweb.cards

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 open the public folder in a web browser. The code is written in a way so no compiling is necessary. The public/game folder contains the actual game logic and the public/ui folder is the website UI where you can actually play the game. To ease development, you can run npm install; npm start to get a live-reloading server, although this is not required.

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

More Repositories

1

ember-wordpress

The bridge between Ember.js and Wordpress
JavaScript
95
star
2

ember-youtube

An Ember.js component to load, play and control YouTube videos using the iframe API
JavaScript
58
star
3

ember-date-fns

Date helpers for Ember.js using date-fns
JavaScript
19
star
4

ember-fastboot-now-deployment-example

How to deploy an ember-cli app to Now. Also with Ember FastBoot.
JavaScript
17
star
5

rough

Front-end stack from when gulp was cool
ApacheConf
5
star
6

ember-jets

An Ember Addon for Jets.js that makes it easy to search lists in the DOM
JavaScript
5
star
7

codesandnotes

All articles and the website for Codes & Notes
SCSS
5
star
8

video-placeholder

A custom element for prettier embeds for flashy sites
HTML
3
star
9

alivefestival

Used to be the website for Thy Alive Festival
SCSS
2
star
10

localfirst

JavaScript
2
star
11

ember-wordpress-portfolio

Demo application
JavaScript
2
star
12

oskarrough.com

HTML
2
star
13

webhealer

A little game for the web inspired by healing raids and five man dungeons back in Azeroth. Who remembers Heal Rank 2?
TypeScript
2
star
14

slagmark

JavaScript
1
star
15

radio24syv

SΓ₯ vi altid kan lytte til Croque Monsieur
JavaScript
1
star
16

rough-navtoggle

Toggle your navigation β€” useful for smaller screens
CSS
1
star
17

torstenmosumgaard.dk

Website gallery made with Ember.js + Cloudinary
CSS
1
star
18

cloudinary-endpoint

A single HTTP endpoint to fetch all images from a Cloudinary account
JavaScript
1
star
19

nkflohmarkt

Website for the NK Flohmarkt am Kranoldplatz
HTML
1
star
20

spotify-to-youtube

A web tool that allows you match a Spotify playlist to a list of YouTube videos and import them into Radio4000
JavaScript
1
star
21

jitwam

HTML
1
star
22

typeswipe

JavaScript
1
star
23

freedomtv.cc

Promosite for Wayne Snow's album "Freedom TV" which was live on freedomtv.cc (no more)
HTML
1
star
24

guss-werk-configurator

A web component for configuring clothes
JavaScript
1
star
25

noism

The iloveyou virus sampled
HTML
1
star
26

radio4000-scanner

Find broken YouTube tracks in a Radio4000 channel
JavaScript
1
star
27

rough-dropdown

Component for easy dropdowns
JavaScript
1
star
28

ember-hackernews

WIP
JavaScript
1
star