Skip to content

PHP classes to create a deck/shoe of Unicode playing cards

Notifications You must be signed in to change notification settings

edavis25/Unicode-Playing-Cards

Repository files navigation

Unicode-Playing-Cards

####PHP classes to create a deck/shoe of Unicode playing cards

A series of PHP classes that can be used to create decks of Unicode playing cards. Currently, this repo is nothing more than a set of objects and tests for creating different types of playing card decks. This project is simply an attempt at furthering my knowledge of fundamental OOP principles. Functions within the Card class can be called to return strings containing the HTML entities for displaying Unicode icons for playing cards.

OOP is fun :)

Basic Inheritance Model

  • Card
  • Deck (abstract class)
    • Shoe
    • Standard Deck
      • Euchre Deck
      • Deck w/ Jokers

-- A list of the Unicode values for card icons can be found here

About

PHP classes to create a deck/shoe of Unicode playing cards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published