Giter Site home page Giter Site logo

digimon-tcg-simulator's Introduction

rainbowdash

I like cute things, cool projects and individuality.

Linkedin Badge YouTube Badge Instagram Badge

digimon-tcg-simulator's People

Contributors

maquinas07 avatar rustywolf avatar we-kaito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digimon-tcg-simulator's Issues

Can't play with a friend

I openend inspect element and found that

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

index-80366852.js:65

There's also this warning
Mixed Content: The page at 'https://www.digi-tcg.online/game' was loaded over HTTPS, but requested an insecure element 'http://assets.iceable.com/img/noise-transparent.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html

I'm not using adblockers and I'm able to play with other people except that player, named Bibi_Rulez

EDIT: I tested this on Firefox, Vivaldi and Chrome, same situation in all browsers

Mulligan

  • display mulligan button as long as player didn't play/draw a card
  • on click, security and hand are shuffled with the deck and provided anew

US15 - reveal Cards

User Story 15: reveal cards

Value proposition

As a user
I want to show cards from my hand or from my deck to my enemy

Description

Image

Acceptance criteria

  • Cards from Hand, Deck and Security can be revealed
  • by pressing the reveal button, a card is shown in the middle of the screen
  • I can not reveal cards while the opponent is revealing

Tasks

  • [ ]

!! Change update logic to improve performance:

Maximum memory usage of affordable deployment can still exceed.

sendUpdate() function after setting up the game should probably be replaced by a gameId:/moveCard:opponent:from:to message

Image

Chat change

can you please just have the chat open by default? players may not be aware of the chats existence and thats really bad considering its the main way we communicate effects (like shinegreymon giving marcus damon sec+1 and the opponent not being aware)

Issue saving deck list

I haven’t been able to save a deck. I’ve built a few but I think the page keep reloading itself and not saving my deck. I’ve tried on different devices and even web browsers and nothing is working

Add instructions on how to host locally?

There's going to be a lot of fans who want to fork this project and host their own version either locally or publicly. I personally want a local version to play with my sister. Maybe add some directions on how to host this project?

US 11 - Game

User Story 11: Game

Value proposition

As a user
I want to access the game screen
so that I'll be able to play

Description

Image

Acceptance criteria

  • [ ]

Tasks

  • [ ]

Starter Decks

As a user,
I want to be able to select a beginner starter deck
so I can learn the game

crashing from field the trash

Whenever I would move a card from the field to the trash, usually when done quickly, the game disappears entirely. It has happened multiple times but I think it might just be something with the amount of icons around the trash or something.

US1 - render fetched cards

User Story 1: render fetched cards

Value proposition

As a user
I want to see the card library

Description

Image

Acceptance criteria

  • I can see all existing cards in a list ordered alphbetically

Tasks

  • card model
  • card controller with GET endpoint for /api/cards
  • card service with webclient fetch: https://digimoncard.io/api-public/search.php?series=Digimon%20Card%20Game

  • Deckbuilder page with basic grid layout
  • get request
  • card Type
  • map the fetched data and return Card component.
  • styled image

US4 - Deck

User Story 4: Deck

Value proposition

As a user
I want to be able to drag cards to my deck
to save my selection

Description

Image

Acceptance criteria

  • [ ]

Tasks

  • [ ]

Mislabeled cards / Token Cards

Firstly, just want to give a big thank you for taking on this project, I'm glad that this finally gives the DCG a good, dedicated sim.

I'd like to point out that Flaremon EX5-012 and Crescemon EX5-020 are mislabeled as Digi-Egg cards, rather than Digimon cards, making them unable to be added to the main deck.

Also, as a feature suggestion, I'd like to ask about adding an in-game button to create tokens, if that isn't already in the pipeline.

Thanks for the hard work!

US 9 - Lobby Chat

User Story 9: Lobby - Chat

Value proposition

As a user
I want to have a chat function in the lobby
so that i can converse with other players

Description

Image

Acceptance criteria

  • [ ]

Tasks

  • [ ]

US7 - update Profile & models

User Story 7: update Profile Page and Models

Value proposition

As a user
I want to save and access decks in my account

Description

Image

Acceptance criteria

  • You can set your avatar on the profile page.
  • You can also choose your active deck

Tasks

  • String activeDeckId on user
  • String avatarName on user

Tamers

Tamers that such as Taiki, Kiriha, Yuu, and the Hunters need would need to indicate what digimon are underneath what tamer in the tamer area. This probably is just a quick fix and making the tamer area also similar to the battle area. So we don't have to lie about how many digimon are under a tamer so BWG blows up an empty tamer.

US12 - Cards in Game

User Story 12: Cards in Game

Value proposition

As a user
I want to have my deck in the game
for the basic setup

Description

Image

Image

Acceptance criteria

  • Cards are shuffled and distributed
  • Opponents hand is hidden
  • Security stacks are hidden
  • Info link to rulings at top: https://world.digimoncard.com/rule/pdf/general_rules.pdf
  • The details of a card are displayed same as in the deckbuilder by clicking/hovering.

Tasks

  • [ ]

US 17 - Coin Flip &Restart Game

  • on pressing opponent avatar a /restartRequest is sent & Toast is shown
  • on reveiving the [RESTART] message, the RestartMoodle is shown for the opponent
  • by accepting, the /startGame message is sent
  • At the beginning of the game, the randomly selected starting player is displayed.
  • Whenever a player opens their security stack the opponent gets a toast

Desktop version?

any plans for a desktop version? personally id use that much much more than the browser version

Some QoL suggestions

Hello, great job making this sim. I really appreciate the effort.
I have some suggestions to make it more user friendly.
There are already requests for some of them but I am going to list them anyways.

  • I would really like for a button to target things to be implemented. By target I mean click on my cards to show that I am using an effect also click on opponent cards to show him the targets of my effects. A glowing animation would be nice to indicate the use of effects.
  • Have a number indicator on cards on both players' hands,decks,trashes so we dont have to manually count them.
  • A better way to handle stacks with multiple sources.
  • Some times mulligan option isnt shown.
  • A button to shuffle security without opening it for effects like T.K which recovers 1 before shuffling so you dont get to see what cards you recovered from deck.
  • A chat log which keeps track of every move being made so we know if our opponent actually bottom or top decked the cards after searching effects. You can easily cheat as is now.
  • A button to trash from top of deck.
  • A way to look on X number of cards at the bottom of the deck in we bottom decked something that wasnt meant to go there.
  • Add a sound when someone invites me for a game because I am usually alt tabbed so that I dont miss any.

I think thats all for now. Thanks in advance!!!

US14 - Energy Bar

User Story 14: Energy Bar

Value proposition

As a user
I want to move the energy counter
to determine whose turn it is

Description

Image

Acceptance criteria

  • I can press a button to set my current memory count
  • By updating the value, the opponents count becomes the value * -1

US8 - Lobby List

User Story 8: Lobby - List

Value proposition

As a user
I want to access the lobby
so that I can see other players

Description

Image

Acceptance criteria

  • When pressing "Find Game" I get to the lobby
  • All connected Users on the Lobby page are visible

Tasks

  • [ ]

indicate effects / import decks

First, thank you so much for your wonderfull work! For something done in such a short time is really very good.

I don't know if you're using the duelingbook as a reference, but I think it's really necessary to have an in-game chat to explain/point out effects etc... Maybe even an indicator of effects in the future.

Edit: A system that makes it easy to import decks would be great too!

US2 - filter cards

User Story 2: filter cards

Value proposition

As a user
I want to have a search form
to find specific cards

Description

Image

Acceptance criteria

  • a search field with inputs and a button is displayed
  • i can change all the search criteria
  • when pressing the button the card list is filtered

Tasks

  • Get Request with Requestbody of form data (refactor first request?)
  • filter function in cardservice
  • test

  • add form
  • handlesubmit

US13 - Drag Cards to other Fields

User Story 13: Drag Cards to other Fields

Value proposition

As a user
I want to drag the cards around
so the game is playable.

Description

Image

Acceptance criteria

  • Cards are draggable to other Fields
  • I can decide wheter I put the card at the top or bottom of deck and security
  • Moving cards is correctly displayed for the opponent
  • by clicking the deck I draw a card
  • by clicking the egg-deck I send the top card to the breeding zone
  • by pressing a button I can open the trash

Tasks

  • [ ]

US3 - card details

User Story 3: Card Details

Value proposition

As a user
I want to click on a card
to see it's details

Description

Image

Acceptance criteria

  • [ ]

Tasks

  • frontend only

US18 - indicate Attack

  • dragging to enemy field should send an /attack: Message and trigger the animation for both players

US5 - Routing (Menu, Profile Page, Edit Deck)

User Story 5: Routing

Value proposition

As a user
I want to be able to access my profile
to see and update my Decks

Description

Image

Acceptance criteria

  • When starting the App I get to the main Menu
  • There is a navigation to to the Deck Builder and the Profile Page
  • The saved decks are displayed on the Profile page
  • The Decks are colored by its most occuring color
  • by clicking on a Deck I can access an edit Page to update or delete it
  • there is a "back" button on every page

Tasks

  • [ ]

US10 - Lobby Invite

User Story 10: Lobby - Invite

Value proposition

As a user
I want to click on my friends name
to invite him to a game

Description

Image

Acceptance criteria

  • Invite Button on the nameplate of each user
  • On pressing Invite a moodle loads waiting for a response
  • I can abort the invitation
  • The invited player can accept_(next US)_ or deny the invitation as long as it is not aborted.
  • The 2 players are not shown in the lobby list as long as they have a pending invitation

Tasks

  • [ ]

Mulligan Glitch

I think I figured out when the mulligan option is not available. The player who sent the rematch invitation doesnt get the option of mulligan while the other does normally.

Match history

Good evening, I would like to know if it would be too much work to add actions history (draw, play etc...). Could it be in the chat itself

Desynch prevention/alert + ✅Move card to bottom of the stack feature request

I'm having the game desynch sometimes (usually when one of the players is in wifi). We confirmed it was a desynch as we were vc'ing using Discord. It happened around 2 times during our 5 matches, we were only using collections released in EN if that changes anything. I was playing Ravemon and my opponent (Gaiserick) was using a Greymon toolbox up to BT13 if I'm not mistaken. (In case : ( ) ! + characters might pose any issue)

The first desynch happened when I had my connection stutter, which made sense, but for the subsequent one it didn't since no part had stutters of any kind that we were able to notice.

I checked the logs and couldn't find anything that explained the issue or appointed to it, they seemed normal. Same for the network logs, sorry for leaving you in the dark this time around.
Both players were in Brazil so it might have to do with server distance.

That issue aside, moving a card to the bottom of a stack would be really great and help with effects such as DNA Digievolving, X antibody (The option), The lv5 Hybrids and Xros decks for example

US6 - User

User Story 6: User

Value proposition

As a user
I want to be able to register my own account
so my App is secure

Description

Image

Acceptance criteria

  • [ ]

Tasks

  • [ ]

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.