All Projects → sindreslungaard → duel-masters

sindreslungaard / duel-masters

Licence: MIT license
Browser based Duel Masters simulator.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to duel-masters

LogiStruct
A pixel-based digital logic simulator written in C.
Stars: ✭ 17 (-39.29%)
Mutual labels:  simulator
uno-online
Two player online game of UNO. Made using React and Socket.IO
Stars: ✭ 106 (+278.57%)
Mutual labels:  card-game
interstellar-armada
A Javascript-WebGL 3D space combat game under development.
Stars: ✭ 33 (+17.86%)
Mutual labels:  simulator
MouseClickSimulator
Mouse Click Simulator for Toontown Rewritten and Corporate Clash
Stars: ✭ 20 (-28.57%)
Mutual labels:  simulator
deerportal
Full of the diamonds 💎 board game driven by a 🦌 Deer 🦌 god and classical elements 🔥 💦 💨 🌍
Stars: ✭ 31 (+10.71%)
Mutual labels:  card-game
MAPLEAF
6-DOF Rocket Flight Simulation Framework
Stars: ✭ 28 (+0%)
Mutual labels:  simulator
OpenBTE
Phonon Boltzmann Transport Equation
Stars: ✭ 31 (+10.71%)
Mutual labels:  simulator
SpiderCard
蜘蛛纸牌 for mac
Stars: ✭ 29 (+3.57%)
Mutual labels:  card-game
gym-mtsim
A general-purpose, flexible, and easy-to-use simulator alongside an OpenAI Gym trading environment for MetaTrader 5 trading platform (Approved by OpenAI Gym)
Stars: ✭ 196 (+600%)
Mutual labels:  simulator
Hack-System
[HackSystem/Hack System] 有趣而炫酷的模拟操作系统。An interesting and cool simulation operating system.
Stars: ✭ 35 (+25%)
Mutual labels:  simulator
VAOS
Virtual Aviation Operations System
Stars: ✭ 44 (+57.14%)
Mutual labels:  simulator
MK404
A functional Simulator for Prusa (Mini/Einsy) Rambo based printers
Stars: ✭ 52 (+85.71%)
Mutual labels:  simulator
coupled-sim
Coupled simulator for research on driver-pedestrian interactions made in Unity3D.
Stars: ✭ 20 (-28.57%)
Mutual labels:  simulator
svut
SVUT is a simple framework to create Verilog/SystemVerilog unit tests. Just focus on your tests!
Stars: ✭ 48 (+71.43%)
Mutual labels:  simulator
modular-psu-firmware
Firmware for EEZ Bench Box 3 (BB3)
Stars: ✭ 74 (+164.29%)
Mutual labels:  simulator
LedStripSimulator
Simulates an LED strip and allows very NeoPixel-like access
Stars: ✭ 26 (-7.14%)
Mutual labels:  simulator
sim8085
Online 8085 simulator
Stars: ✭ 83 (+196.43%)
Mutual labels:  simulator
Interlin-q
A Quantum Interconnect Simulator for Distributed Quantum Algorithms
Stars: ✭ 32 (+14.29%)
Mutual labels:  simulator
CoinBrowser
Coinbrowser is a pair selection tool for Freqtrade and a simple crypto trading-simulator
Stars: ✭ 25 (-10.71%)
Mutual labels:  simulator
ARMStrong
A fast and simple ARM Simulator made for education based upon Unicorn and Keystone engines
Stars: ✭ 99 (+253.57%)
Mutual labels:  simulator

duel-masters

duel-masters is a multiplayer simulator for the Duel Masters Trading Card Game for play in the browser.

It aims to simulate how you would be playing the card game in real life, but with enforced rules and automations for the effects of each individual card.

Run with docker

# 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

Setting up for local development (Frontend and Backend)

  1. Fork the duel-masters repo on GitHub.
  2. Clone your fork locally:
git clone https://github.com/sindreslungaard/duel-masters.git
  1. Set up MongoDB locally or use a cloud provider.
  2. Set up environment variables from the .env.default file (if you use Vscode it will look a .env file and set the variables for you. You have to create this file yourself based on the .env.default)

Environment variables or .env file example:

port=80
mongo_uri=mongodb://127.0.0.1:27017
mongo_name='duel-masters'
restart_after=
  1. Navigate to the webapp directory and run npm install. Then run either npm run build or npm run watch to build or watch the files.

  2. Run the application. If you're using Vscode simply hit F5 or Run -> Start Debugging. To run manually use go run cmd/duel-masters/main.go

  3. Go to http://localhost and create a user as well as a deck. To set the deck as a standard deck, find it in MongoDB and change the standard field to true.

Setting up for local development (Frontend only)

  1. git clone https://github.com/sindreslungaard/duel-masters.git

  2. Navigate to the webapp directory and run npm install and npm run serve

  3. Override your host config

    localStorage.setItem(
        "config", 
        JSON.stringify({ 
            host: "shobu.io", 
            ws_protocol: "wss://", 
            api: "https://shobu.io/api" 
        })
    )
    

Changelog

A changelog starting from 11/11/2021 can be found here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].