Author Topic: Card Object  (Read 2802 times)

0 Members and 1 Guest are viewing this topic.

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Card Object
« on: January 23, 2010 »
The card object I used to make Yablon can be found here.

The package includes cardobj.bi, the card object, the needed graphic files, cards.bmp, back.bmp, a test program and you can see some screenshots.


Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Card Object
« Reply #1 on: January 26, 2010 »
Here is version 0.1.2.

SkyDrive Folder

File Pasta

Pics:





Changelog:

  • Consolidated all graphics to a single bitmap: cards.bmp.
  • Added two graphical placeholders in cards.bmp. See DrawPlaceholder.
  • Added a red joker and a black joker to the cards bitmap. See Enumerations for the joker ids.
  • Added FaceofCard. Returns the face of a card as a string.
  • Added FaceString. Returns the face name as a string.
  • Added SuitofCard. Returns the suit of a card as a string.
  • Added SuitString. Returns the suit name as a string.
  • Added several tutorials on how to use the card object in a program.
  • Updated example program testcard.bas with new additions.

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Card Object
« Reply #2 on: February 01, 2010 »