Dark Bit Factory & Gravity
September 03, 2010
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Calendar
Login
Register
Dark Bit Factory & Gravity
»
PROGRAMMING BOARDS
»
FREEBASIC
»
Card Object
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: Card Object (Read 225 times)
0 Members and 1 Guest are viewing this topic.
rdc
Sliderules Rule!
MOD
Pentium
Karma: 132
Offline
Posts: 1439
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.
Logged
Clark Productions
rdc
Sliderules Rule!
MOD
Pentium
Karma: 132
Offline
Posts: 1439
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.
Logged
Clark Productions
rdc
Sliderules Rule!
MOD
Pentium
Karma: 132
Offline
Posts: 1439
Clark Productions
Re: Card Object
«
Reply #2 on:
February 01, 2010 »
Card Object v.0.1.3:
* Added Version function to documentation.
* Added Shuffle method using the Fisher–Yates algorithm.
* Added SetCardValue property.
* Added CValue function.
* Added Rand function.
New Shuffle method:
Files:
Skydrive
FilePasta
Logged
Clark Productions
Pages: [
1
]
Go Up
Print
« previous
next »