Giter Club home page Giter Club logo

crazy-8s's Introduction

Crazy Eights

The card game where eights are wild

Wireframe

User experience

Starting the game

The user will open up a page that has a deck showing and a button in the to right hand of the page. To start the game the user will click the button and be dealt a hand of seven cards. The computer will also be dealt a hand. The players hand will appear on the bootom of the screen face-up so that they can see which cards they have.

Playing

The deck will flip over a card in the "Played Cards" space on the screen. The player will then be prompted to click a card in order to play it on the pile. The player may only play a card if it matches one of the following.

  • the card has the same suit as the card showing
  • the card has the same number such as a 4 of clubs = 4 of spades
  • the card the player wants to play is an eight

If they can't play a card

the user will have to draw from the deck by clicking on the top of the deck until they have a card they can play. Likewise the computer will have to draw until they get a useable card.

The game ends when the player or computer runs out of cards.

Play the game here! Crazy Eights

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.