Skip to content

Creates a full deck of cards with a Card class, Deck class, and Player class. Currently displayed using the browser's console. Cards have a suit, string value, and numerical value. Cards also have a "show" method (which logs the card's information to the console). The Deck has "shuffle", "reset" and "deal" methods. The Player has a hand that the…

Notifications You must be signed in to change notification settings

andynhn/javascript-objects-card-deck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

javascript-objects-card-deck

Creates a full deck of cards with a Card class, Deck class, and Player class. Currently displayed using the browser's console. Cards have a suit, string value, and numerical value. Cards also have a "show" method (which logs the card's information to the console). The Deck has "shuffle", "reset" and "deal" methods. The Player has a hand that they built using the deck.deal method. Player can also discard a Card.

About

Creates a full deck of cards with a Card class, Deck class, and Player class. Currently displayed using the browser's console. Cards have a suit, string value, and numerical value. Cards also have a "show" method (which logs the card's information to the console). The Deck has "shuffle", "reset" and "deal" methods. The Player has a hand that the…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages