A multiplayer browser based simulator for the Duel Masters Trading Card Game
Warning
We are not affiliated with the Duel Masters trademark or its rightful owner Wizards of the Coast and only strive to make it possible to play the original English version of the card game from 2004-2006 the same way you would be playing it with friends in real life.
- Aims to simulate how you would be playing the card game in real life
- Multiplayer & matchmaking
- Enforced rules for fair and competetive play
- Automation for all card effects and actions
- Deck building
- Currently 400+ cards implemented
- A full fledged Duel Masters game with fancy animations and career modes similar to Heartstone, MTG Arena etc.
# Login to the github package registry
docker login ghcr.io
# Run the container
docker run -d \
--name duel-masters \
--restart unless-stopped \
-p 80:80 \
-e port=80 \
-e mongo_name=<mongodb_name> \
-e mongo_uri=<mongodb_connection_string> \
ghcr.io/sindreslungaard/duel-masters/production:latest-
Clone the repository
-
Set up MongoDB locally or use a cloud provider
-
Create an
.envfile in the root directory based on the.env.defaultfile in the repository
port=80
mongo_uri=mongodb://127.0.0.1:27017
mongo_name='duel-masters'
restart_after=
-
Build the webapp
cd webapp
npm install
npm run build
or
npm run watchto rebuild every time a change is made -
Run the application. If you're using vscode simply press
F5orRun -> Start Debugging. To run manually usego run cmd/duel-masters/main.go. Note that debugging with vscode will automatically pick up environment variables from the.envfile. If you're not using vscode's debug mode or if you are using a different editor you will have to make sure the necessary environment variables are set. -
Navigate to
http://localhostand create a user as well as a deck. To set the deck as a standard deck, find it in the database and change thestandardfield totrue.
Please read through the contribution guidelines before submitting a pull request
A changelog starting from 11/11/2021 can be found here