Skip to content

Cardshifter/HTML-Client

Repository files navigation

HTML-Client

Web-based client for Cardshifter game. To play the game, or for more information about the Cardshifter project, see:

Development

Ensure you have NodeJS and npm installed. Then execute the following instructions using Windows, OS X or Linux terminal:

# browse to a directory on your local machine to clone the repository to
cd C:\path\to\my\projects
# copy this repository
git clone https://www.github.com/cardshifter/html-client
# point your console to that directory
cd HTML-Client
# install dependencies - be patient, this takes a while
npm i
# build the project - takes about 2 minutes
npm run build
# run the client
npm run dev

This will host the HTML client at http://localhost:42637 which you can then access with any web browser.