bozoputer / card-shark

A web app for manipulating playing cards.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

Card Shark

Fun with cards! 🤗

View Demo

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contact

About Card Shark

Card shark has the following exciting features:

  • Display card value and suit (e.g. “K of Hearts”) of each card
  • Display how many cards are remaining in the deck
  • Add and implement the following buttons:
    • Shuffle - randomize the order of the cards
    • Reset - reset the deck back to “in order, separated by suit” with a standard 52-card set
    • Draw - remove the top card from the deck and display the card value and suit on the page
    • Face down - instead of displaying the values of the cards, display only “Card” and its position in the deck (e.g. Card 1, Card 2)
    • Face up - display the cards (in their current order) with their value and suit

Product Name Screen Shot

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Make sure to have Node >= 14.0.0 and npm >= 5.6 on your machine

npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/bozoputer/card-shark.git
  2. Install NPM packages
    npm install
  3. Run the app
    npm start

(back to top)

Roadmap

  • Logic for button states
  • End-to-end testing

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

✉️

Project Link: https://github.com/bozoputer/card-shark

About

A web app for manipulating playing cards.

License:MIT License


Languages

Language:JavaScript 94.9%Language:HTML 3.6%Language:CSS 1.5%