Git Product home page Git Product logo

decklyst's Introduction

Decklyst

Create and share Duelyst 2 deckcodes

Getting Started

  • Start docker containers
docker compose up -d
  • Install packages
yarn install
  • Migrate db
yarn prisma migrate dev
  • Start NextJS dev server
yarn dev

decklyst's People

Contributors

frederikpietzko avatar kevicency avatar

Watchers

 avatar

decklyst's Issues

Show a list of deckbuilder hotkeys

Current Hotkeys:

Card List

  • [Click]: Add to deck
  • <Shift + Click>: Add max to deck
  • <Opt/Alt + Click>: Remove from deck
  • <Shift + Opt/Alt + Click>: Remove all from deck

Sidebar Card List

  • [Click]: Remove from deck
  • <Shift + Click>: Remove all from deck
  • <Opt/Alt + Click>: Add to deck
  • <Shift + Opt/Alt + Click>: Add max to deck

Add a deck guide to a decklist

  • Intro (markdown)
  • Mulligan (on the play / ont the coin)
  • Key cards / win con / strategy
  • Card replacements
  • Similar decks? Manual / automatic
  • Meta matchups

Curated List of Starter / Budget Decks

It'd be nice to have a starter deck for each faction (only default cards) as well as a budget deck (no epic/legendaries). Maybe give each deck a custom sharecode, i.e lyonar-budget or songhai-starter

Idea: Fork a deck

A big usecase would be to share a deck and ask for feedback/suggestions, so it would be cool to be able to edit a decklink

Update Card Data

With the new expansion as well as the backer cards and various reworks, the card data is woefully out of date. My PC is giving me grief with dependencies to spin up a local instance to test (my fault), but I believe this data is correctly formatted with the new cards:

carddata.json

Generated by very simple Python script.

import json
import re

factions = {
    1: "lyonar",
    2: "songhai",
    3: "vetruvian",
    4: "abyssian",
    5: "magmar",
    6: "vanar",
    100: "neutral"
}

with open("cards.json") as f:
    card_data = json.load(f)

for card in card_data:
    card["factionId"] = card["faction"]
    card["faction"] = factions[card["faction"]]
    if "breathing" in card["resource"].keys():
        card["spriteName"] = re.match(r".*/(.*)Breathing.gif", card["resource"]["breathing"]).group(1)
    else:
        card["spriteName"] = re.match(r".*/(.*)Idle.gif", card["resource"]["idle"]).group(1)

with open("carddata.json", "w") as f:
    json.dump(card_data, f)

Would it be possible to update the site? ๐Ÿ™

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.