Giter VIP home page Giter VIP logo

mc-app's Introduction

Application flow

Login page/Register page

Homescreen requires login Options:

  • Create game
  • Create/edit deck
  • Import deck (from marvelcdb.com)
  • Quit

Create game -> Lobby page

On Lobby page, other players can join. Spectators? "Host" can select villain and encounter sets. Toggle expert mode. All players can select decks from their "collection"

Start game -> game page

System gathers all players in room, initializes the decks and shows everything on screen All decks are shuffled automatically, initial hands are drawn All players are prompted for mulligan

Round starts All players are prompted to select first player First player performing actions

  • Next player performing actions
  • Next player performing actions
  • Next player performing actions System prompts all players' to discard cards System refills all players' hands to handlimit Villain phase -> threat increases -> player interrupt window increase threat player response window villain attacks/schemes per player -> player interrupt window attack/scheme player defense choice window player response window minions engaged with player attack/scheme -> player interrupt window attack/scheme player defense choice window player response window encounter card is dealt to each player encounter card is revealed to each player -> player interrupt window reveal card player response window End of round

How do card effects work? Each effect has a trigger, a type and a target. There are several possible triggers for an effect:

  • Effects that require an action from the player, usually related to certain "phase"
  • Effects that interrupt another effect
  • Effects that respond to another effect
  • Effects that are active as long as the card is in play
  • TODO: More triggers?

There are multiple effect types:

  • increase/decrease a card stat (e.g. hitpoints, attack, defense, etc.)
  • increase/decrease a card's cost
  • add/remove a state (confused, stunned, tough)
  • remove a counter from a card (usually the card that triggered the effect)

A card can have multiple effect types.

mc-app's People

Watchers

 avatar  avatar

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.