Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YuGiOh Deck Builder #21

Open
2 of 6 tasks
TWDcarlos opened this issue Nov 21, 2019 · 17 comments
Open
2 of 6 tasks

YuGiOh Deck Builder #21

TWDcarlos opened this issue Nov 21, 2019 · 17 comments

Comments

@TWDcarlos
Copy link

TWDcarlos commented Nov 21, 2019

Project Name / Title

YuGiOh Deck Builder

Your Name / Title

Carlos

Project Description

Users can quickly build, edit and delete Decks for YuGiOh.

What 3rd Party Web API do you plan to use?

Which of the following describes you:

  • YouTube Subscriber
  • Twitch Follower
  • Patreon Patron
  • Superchat Donor
  • Streamlabs Donor
  • Coding Garden Moderator
@mertcanekiz
Copy link

Damn, I wish I knew about this API so I could do it instead... I don't think there are a lot of YGO players here though, so let me know if you need help with testing or want some feedback. Good luck 👍

@TWDcarlos
Copy link
Author

I'm waiting... i don't know if i can already start on it! thanks

@TWDcarlos
Copy link
Author

Home - WireFrame
initial home

@TWDcarlos
Copy link
Author

App - WireFrame
initial app

@w3cj
Copy link
Member

w3cj commented Nov 23, 2019

Description looks okay. To save user deck configurations, you will need something like local storage, index db or web sql. Determine which one you will use and update the project description.

For the second wireframe, it might help to show the application in multiple states (multiple wireframes) and describe how the user will navigate between the screens i.e. searching, adding to deck, single card view, deck stats view etc.

Also, I'd like you to think through and write out how the user will interact with the app. Maybe these questions will help you, (you don't have to answer all of them, and the app does not have to be that complicated, but I think it will help you to focus on what this app will do):

  • How will the user search for a card to add to the deck? By name? By type? By amount of attack / defense? (could be all of these, but which are top priority?)
  • How will the user know when their deck is finished? A certain number of cards added? A certain number of cards of certain types added? Will you show counters?
  • Will you show stats about the deck, like percentage of each type of card, percentage of attack focused card vs defense cards (I don't know much about YuGiOh, so sorry if those are not accurate metrics, but metrics of some kind would be good).
  • Will you show an alert if a certain card has already been added to the deck?
  • Will you show pre-built / configured decks that the user can use as a base to modify?

Sorry if that is information overload, but it seems like there are a lot of different directions you can take this app. I would like you to have a clear vision before getting started!

Please update your description and then comment here when you get started or if you'd like more feedback.

@TWDcarlos
Copy link
Author

To save users decks i will use Local Storage.

I don't really understand the second question. You mean add like a Tab with screen to Deck, Search Card, Deck Stats ?

How will the user search for a card to add to the deck ?

For now i'll stick with just search by card name. but later on i can add filters to type, atk, def etc.

How will the user know when their deck is finished ?

On YuGiOh the deck is finished when you have 40 or more card and 60 or less cards. one deck also contain a extra deck (for fusion, etc) and a side deck (for cards for quick change), but i will leave it as a stretch for now.

Will you show stats about the deck ?

Maybe as a stretch

Will you show an alert if a certain card has already been added to the deck ?

Some kind of message should pop up when this happen. there are cards on YuGiOh that you can only add 1 or 2, the normal is 3.

Will you show pre-built / configured decks that the user can use as a base to modify ?

Maybe as a stretch

@TWDcarlos
Copy link
Author

I Start to use Bulma as my CSS Framework, but I got frustrated and Bulma Docs don't have a search bar. So i will change to bootstrap. CSS is my nemesis.

@w3cj
Copy link
Member

w3cj commented Nov 23, 2019

Yeah a lot of those things I mentioned would be stretch goals, but I wanted to be clear what the base functionality will be.

Feel free to get started!

@TWDcarlos
Copy link
Author

I can't find a free loading gif!

@w3cj
Copy link
Member

w3cj commented Nov 28, 2019

@w3cj
Copy link
Member

w3cj commented Dec 2, 2019

Any updates to share?

@TWDcarlos
Copy link
Author

I'm trying to make a router. When the user go to 'app#deck' they see deck view. When go to 'app#dashboard' they can search cards.

@mahendrjy
Copy link

Helpful Resources

Simple Solution for SPA

HTML

<nav></nav>
<main>
  <section class="page-1">
    <div id="dashboard"></div>
  </section>

  <section></section>

  <section class="page-2">
    <div id="deck"></div>
  </section>
</main>
<footer></footer>

CSS

.none {
  display: none;
}

JavaScript

const page1 = document.querySelector('.page-1');
const page2 = document.querySelectorAll('.page-2');

const showPage1 = () => {
  page1.style.display = '';
  page2.style.display = 'none';
};

const showPage2 = () => {
  page1.style.display = 'none';
  page2.style.display = '';
}
};

showPage1();

// dashBoardButton.addEventListener('click', showPage1);
// deckButton.addEventListener('click, showPage2);

@TWDcarlos
Copy link
Author

I'm sorry, i don't see this and i make the router using the url.

the project is deployed here

@mahendrjy
Copy link

It's ok 👍

@w3cj
Copy link
Member

w3cj commented Dec 14, 2019

Deployed site looks good! Would you like a code review or ui review?

@TWDcarlos
Copy link
Author

Code Review please, I already know that the UI of the site is ugly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants