Code Monkey home page Code Monkey logo

deck-of-cards's Introduction

๐Ÿƒ A simple card game

High-Low is a simple card game built using the Deck of Cards API.

How the game works

  1. It starts with a deck of cards and drawing the first card from that deck and adding it to a pile.
  2. The user then has to guess whether the next card's number will be a higher number or lower number than the latest card.
    • If they are correct, we add that card to the pile.
    • If they are incorrect, the user gets a point for every card that was in the pile at that time (for example, if 10 cards were in the pile, they would get 10 points). And the pile is cleared.
  3. After users have 3 successful guesses in a row, they can "pass" to the other player (you only need to support 2 players. and only one can guess at a time). By pass we mean that if you start as Player 1, you can change to play as Player 2. Player 2 can pass back to Player 1 once they get 3 successful guesses in a row.
  4. The player with the least number of points at the end wins.

๐Ÿƒ Deployment

Deployed on Netlify at https://high-low.netlify.com/

Time Frame to Build

1 week

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.