Anubis PHPCards

Anubis PHPCards

Released 4 years ago , Last update 4 years ago

A quick and easy way to add a deck of cards to any project

This deck class, and co-operating card class, will work for any website or command line project you may be putting together with PHP. Simply include the files, and build a new deck, passing an integer with the number of decks you wish to use.

Example usage

<?php
include_once('deck.php');
include_once('card.php');

$deck = new deck(1);

for($i = 1; $i <= 5; $i++) {
    $card = $deck -> dealCard();
    echo $card -> getCardLetter() . ' ' . $card -> getCardSuitName() . "<br />";
}

This will print out a result like the following:

4 Spade 
K Heart 
7 Club 
K Spade 
6 Club

Pricing

$4.99

Personal License

  • Perpetual license

  • 1 site, 1 server

  • No distribution (hosted use only)

  • Non-commercial use

  • Attribution required

2 licenses, starting from From » $4.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
No comments have been posted yet.