Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
February 04, 2012
Home
Help
Search
Calendar
Login
Register
Dark Bit Factory & Gravity
»
PROGRAMMING
»
Freebasic
»
Card Object
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Card Object (Read 359 times)
0 Members and 1 Guest are viewing this topic.
rdc
Pentium
Posts: 1480
Karma: 138
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
Pentium
Posts: 1480
Karma: 138
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
Pentium
Posts: 1480
Karma: 138
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
Print
Pages: [
1
]
Go Up
« previous
next »
Dark Bit Factory & Gravity
»
PROGRAMMING
»
Freebasic
»
Card Object